Skip to content

rubenhazelaar/flex

Repository files navigation

Flex

Flex is an ultra simple PHP framework, based on PSR-7 and Zend Diactoros. Routing is done by fast-route, although you are free to change it up.

It also features a basic middleware implementation and template system. And more to come in the future.

Todo

  • Implement FirewallMiddleware
  • Implement context (IoC container passed to middleware and controllers)
  • Document Middleware & Loader classes
  • Test Middleware & Loader & Template classes

Install with composer

    composer require rubenhazelaar/flex

Docker

Getting started with Flex (using Docker) is easy as 1, 2, 3. Just run:

    docker-compose up #Add '--build' when running for the first time

About

Flex is an ultra simple PHP framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published