greg-md / php-app
Greg PHP Application is based on Greg PHP Framework and it's components.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 1
Language:JavaScript
Type:app
Requires
- php: ^7.3
- ext-json: *
- ext-pdo: *
- greg-md/php-app-cache: dev-master
- greg-md/php-app-debug-bar: dev-master
- greg-md/php-app-imagix: dev-master
- greg-md/php-app-installer: dev-master
- greg-md/php-app-orm: dev-master
- greg-md/php-app-view: dev-master
- symfony/var-dumper: ^4
Requires (Dev)
- phpunit/phpunit: ^8
This package is auto-updated.
Last update: 2024-12-19 22:40:54 UTC
README
This Application is based on Greg PHP Framework and it's components.
Table of Contents
- Requirements
- Installation
- Configuration
- HTTP Routing
- Console Commands
- Dependency Injection
- Service Providers
- Testing
- Out of the box
- License
- Huuuge Quote
Requirements
Installation
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.
Run
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/
.
Configuration
All configuration files are stored in the config
directory. You can easily access them from application:
$app->config('debug');
Environment variables
Environment variables are stored in .env
file and could be accessed anywhere in the code, mostly in configuration files:
'debug' => (bool) getenv('DEBUG'),
HTTP Routing
Sorry, description is still in under construction...
Console Commands
Sorry, description is still in under construction...
Dependency Injection
Sorry, description is still in under construction...
Service Providers
Sorry, description is still in under construction...
Testing
Sorry, description is still in under construction...
Out of the box
Cache
Sorry, description is still in under construction...
ORM
Sorry, description is still in under construction...
View
Sorry, description is still in under construction...
Imagix
Sorry, description is still in under construction...
Debug Bar
Sorry, description is still in under construction...
License
MIT © Grigorii Duca