2017 © Pedro PelĂĄez
 

library framework

Bandama is a microframework for PHP application

image

bandama/framework

Bandama is a microframework for PHP application

  • Friday, July 7, 2017
  • by jfyoboue
  • Repository
  • 1 Watchers
  • 1 Stars
  • 107 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 19 Versions
  • 0 % Grown

The README.md

Bandama Framework

Latest Stable Version Build Status Total Downloads License, (*1)

Bandama is a PHP micro-framework to create Web Applications and Web APIs, (*2)

Installation

It's recommended that you use Composer to install Bandama Framework., (*3)

$ composer require bandama/framework "1.2.*"

This will install Bandama Framework and all required dependencies. Bandama Framework requires PHP 5.5 or newer., (*4)

You can also install Bandama Framework by downloading it, (*5)

Usage

There is an index.php file in root directory with the following contents:, (*6)

<?php

require(__DIR__.'/vendor/autoload.php');


$app = Bandama\App::getInstance(null, Bandama\App::APP_MODE_DEV);
$router = $app->get('router');

$router->get('/', function() {
    echo "

Bandama Framework
"; }); $router->get('/hello/:name', function($name) { echo " < pre> Hello, $name"; }); $app->run();

You may quickly test this using the built-in PHP server:, (*7)

$ php -S localhost:8008

Going to http://localhost:8008 will now display "Bandama Framework"., (*8)

Going to http://localhost:8008/hello/world will now display "Hello, world"., (*9)

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, (*10)

$ php vendor/bin/kahlan --reporter=verbose --coverage=4

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., (*11)

The Versions

07/07 2017

dev-develop

dev-develop

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Jean-François YOBOUE

07/07 2017

dev-master

9999999-dev

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Jean-François YOBOUE

07/07 2017

1.2.3

1.2.3.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Jean-François YOBOUE

07/06 2017

1.2.2

1.2.2.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Jean-François YOBOUE

05/06 2017

1.2.1

1.2.1.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Jean-François YOBOUE

03/06 2017

1.2.0

1.2.0.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Jean-François YOBOUE

03/05 2017

1.1.2

1.1.2.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

26/04 2017

1.1.1

1.1.1.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

25/04 2017

1.1.0

1.1.0.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

03/03 2017

1.0.10

1.0.10.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

23/02 2017

1.0.9

1.0.9.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

23/02 2017

1.0.8

1.0.8.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

20/02 2017

1.0.7

1.0.7.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

19/02 2017

1.0.6

1.0.6.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

19/02 2017

1.0.5

1.0.5.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

14/02 2017

1.0.4

1.0.4.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

09/02 2017

1.0.3

1.0.3.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

  • php >=5.4

by Jean-François YOBOUE

08/02 2017

1.0.1

1.0.1.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Jean-François YOBOUE

06/02 2017

1.0.0

1.0.0.0

Bandama is a microframework for PHP application

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Jean-François YOBOUE