Setup your PHP-powered modern static website in minutes.
- Clean URLs
- Separate templating
- Easy to setup
- Uses modern PHP libraries
- 100% PHPUnit Code Coverage
- Go to application's root dir
- Edit
deploy.shand update paths to yourphp,composer.pharandphpunitas needed - Run
sh deploy.shfor dev andsh deploy.sh prodfor prod - Update
.env(as needed) - Manage the html templates in
/views, including updating common layout inviews/partials/layout.twig - To add a new page:
- Go to
/src/Home/HomeController.phpand add desiredrouteunderPAGE_LIST - Then go to
/viewsand add a template with the same name as theroute(i.e if you want to add a page for/pricing, you will addpricingin/src/Home/HomeController.php>PAGE_LISTand create a newpricing.twigunder/views)
- Go to