This Application is based on Greg PHP Framework and it's components.
- Requirements
- Installation
- Configuration
- HTTP Routing
- Console Commands
- Dependency Injection
- Service Providers
- Testing
- Out of the box
- License
- Huuuge Quote
Composer
composer create-project greg-md/php-app
Git
git clone https://github.com/greg-md/php-app.git
Manually
Download and unzip it in your preferable directory.
Open terminal and start docker containers from the project root directory.
docker-compose up
Wait until the app
container is started and open in browser http://127.0.0.1/
.
It will take a while for the first time until it will download and build images. But next times containers will start faster.
Optionally, you can add an alias in hosts
file 127.0.0.1 app.local
and open in browser http://app.local/
.
All configuration files are stored in the config
directory. You can easily access them from application:
$app->config('debug');
Environment variables are stored in .env
file and could be accessed anywhere in the code, mostly in configuration files:
'debug' => (bool) getenv('DEBUG'),
Sorry, description is still in under construction...
Sorry, description is still in under construction...
Sorry, description is still in under construction...
Sorry, description is still in under construction...
Sorry, description is still in under construction...
Sorry, description is still in under construction...
Sorry, description is still in under construction...
Sorry, description is still in under construction...
Sorry, description is still in under construction...
Sorry, description is still in under construction...
MIT © Grigorii Duca