Greg PHP Application
, (*1)
This Application is based on Greg PHP Framework and it's components., (*2)
Table of Contents
Requirements
Installation
Composer, (*3)
composer create-project greg-md/php-app
, (*4)
Git, (*5)
git clone https://github.com/greg-md/php-app.git
, (*6)
Manually, (*7)
Download and unzip it in your preferable directory., (*8)
Run
Open terminal and start docker containers from the project root directory., (*9)
docker-compose up
, (*10)
Wait until the app
container is started and open in browser http://127.0.0.1/
., (*11)
It will take a while for the first time until it will download and build images.
But next times containers will start faster., (*12)
Optionally, you can add an alias in hosts
file 127.0.0.1 app.local
and open in browser http://app.local/
., (*13)
, (*14)
Configuration
All configuration files are stored in the config
directory. You can easily access them from application:, (*15)
$app->config('debug');
Environment variables
Environment variables are stored in .env
file and could be accessed anywhere in the code, mostly in configuration files:, (*16)
'debug' => (bool) getenv('DEBUG'),
HTTP Routing
Sorry, description is still in under construction..., (*17)
Documentation, (*18)
Console Commands
Sorry, description is still in under construction..., (*19)
Documentation, (*20)
Dependency Injection
Sorry, description is still in under construction..., (*21)
Documentation, (*22)
Service Providers
Sorry, description is still in under construction..., (*23)
Documentation, (*24)
Testing
Sorry, description is still in under construction..., (*25)
Out of the box
Cache
Sorry, description is still in under construction..., (*26)
Documentation, (*27)
ORM
Sorry, description is still in under construction..., (*28)
Documentation, (*29)
View
Sorry, description is still in under construction..., (*30)
Documentation, (*31)
Imagix
Sorry, description is still in under construction..., (*32)
Documentation, (*33)
Debug Bar
Sorry, description is still in under construction..., (*34)
Documentation, (*35)
License
MIT © Grigorii Duca, (*36)
Huuuge Quote
, (*37)