PHP Classes

Basic Controller Framework: Framework to route requests configured controllers

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 57 All time: 10,569 This week: 74Up
Version License PHP version Categories
basic-controller-fra 1.0GNU General Publi...7PHP 5, Libraries, Design Patterns
Description 

Author

This package is a framework to route requests configured controllers.

An application bootstrap code can configure routes by setting callback functions that act as controllers and will be called when a request matches a given URL pattern.

The framework can also register components for other purposes like database access and configuration processing.

Picture of Yerfry Ramirez
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

 

Example

<?php
require __DIR__ . '/../bootstrap/app.php';

$App->resolve(Router::CLASS, ($request = $App->resolve(Request::CLASS))->setGlobal('request', $request));
?>


Details

Basic-Controller-Framework


  Files folder image Files (259)  
File Role Description
Files folder imagebootstrap (1 file, 1 directory)
Files folder imagepublic (2 files)
Files folder imageresources (2 files, 3 directories)
Files folder imagetemplate (2 directories)
Accessible without login Plain text file autoloader.php Aux. Auxiliary script
Accessible without login Plain text file README.md Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:57
This week:0
All time:10,569
This week:74Up