Peak Application Skeleton
In a hurry? Want to start writing & running your app without the hassle of preparing your project structure? This application skeleton project can help you to start quickly.
What is it?
This application skeleton is the default “opinionated” implementation of the peak framework that comes with session, configuration, database & migration, project structure and use zendframework/zend-diactoros as PSR-7 library.
This project comes with a Docker configurations to help you start fast. What’s included :
- PHP 7.3
- Nginx latest
- MYSQL 8
- Redis latest
- Composer install & update
- Database migration
- Shell access
Install via composer
$ composer create-project peak/peak [you-project-name]
How to use it ?
- Install vendor with
$ docker-compose run composer-install
- Start the web server with
$ docker-compose up app
Others docker commands:
$ docker-compose run migrationfor database migration
$ docker-compose run shellfor entering in the container with shell bash
$ docker-compose run climberfor using the CLI console application
$ docker-compose up adminerfor running database web manager Adminer
Don’t want to use docker? Just remove: