No framework at all!
$ make setupTo start Docker container:
$ docker-compose up -dTo run the built-in PHP server:
$ make serveTo run the built-in PHP server in a Docker container:
$ make DOCKER_OPTS="-p 8080:8080" docker serveYou should have the app running on localhost, port 8080.
Clean up when you are done:
$ make cleanMake sure the following are installed:
- latest Docker
- latest Docker Compose
- make
- composer
No framework uses the following components:
- Router: nikic/fast-route
- DI Container: php-di/php-di
- PSR-7: zendframework/zend-diactoros
- PSR-15: middlewares/*
- Template Engine: Twig
- Environment: vlucas/phpdotenv
Docker for development and a production ready Docker image are included. For simplicity, they are both PHP+Apache based images, in production PHP-FPM and Nginx are recommended.
Worth mentioning that 100% of any building, caching happens only at container build time, no issues like this.
Materialize CSS is used as the frontend framework.
PHP 7.1, because it's 2017 (and not 2007).
This skeleton is heavily inspired by @Swader's nofw and his The framework is dead, long live the framework workshop presented at the Web Summer Camp in 2016.
Phil Sturgeon also has an interesting article about the topic.
The MIT License (MIT). Please see License File for more information.