Download the PHP package bandama/framework without Composer
On this page you can find all versions of the php package bandama/framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bandama/framework
More information about bandama/framework
Files in bandama/framework
Package framework
Short Description Bandama is a microframework for PHP application
License MIT
Informations about the package framework
Bandama Framework
Bandama is a PHP micro-framework to create Web Applications and Web APIs
Installation
It's recommended that you use Composer to install Bandama Framework.
This will install Bandama Framework and all required dependencies. Bandama Framework requires PHP 5.5 or newer.
You can also install Bandama Framework by downloading it
Usage
There is an index.php file in root directory with the following contents:
You may quickly test this using the built-in PHP server:
Going to http://localhost:8008 will now display "Bandama Framework".
Going to http://localhost:8008/hello/world will now display "Hello, world".
Components
- Router
- Session
- PDO Session Handler
- Cookie
- Controller
- Dependency Injection Container
- Database Connection
- Query Builder
- Translator
Tests
Unit tests use Kahlan. To execute the tests, type
Change log
- 1.2.3
- Allow registration of many types of flash messages
- 1.2.2
- Bug fixed when deleting base URI
- 1.2.1
- Adding registerComponents method to application bootstrap methods (setup method)
- 1.2.0
- Adding translator component
- Using Kahlan for unit tests
- 1.1.2
- Making getInstance method of App class inheritable
- Adding test index.php in root directory
- Remove index.php entry in .gitignore file
- 1.1.1
- Removing user_id column in sessions table
- 1.1.0
- Moving application setup method of App class from constructor to getInstance method
- 1.0.10
- Improvement of App setup method
- 1.0.9
- Bug fixed in App class
- 1.0.8
- Adding base URI Management in App class
- 1.0.7
- Bug fixed in render method of Controller class
- 1.0.6
- Adding static method newInstance to container class
- Adding addService method to App class
- 1.0.5
- Adding PDO Session Handler for relationnal database session management
Credits
License
The Bandama Framework is licensed under the MIT license. See License File for more information.