/php-app

Greg PHP Application is based on Greg PHP Framework and it's components.

Primary LanguageJavaScriptMIT LicenseMIT

Greg PHP Application

StyleCI Build Status Total Downloads Latest Stable Version Latest Unstable Version License

This Application is based on Greg PHP Framework and it's components.

Table of Contents

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/.

Greg PHP Application

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...

Documentation

Console Commands

Sorry, description is still in under construction...

Documentation

Dependency Injection

Sorry, description is still in under construction...

Documentation

Service Providers

Sorry, description is still in under construction...

Documentation

Testing

Sorry, description is still in under construction...

Out of the box

Cache

Sorry, description is still in under construction...

Documentation

ORM

Sorry, description is still in under construction...

Documentation

View

Sorry, description is still in under construction...

Documentation

Imagix

Sorry, description is still in under construction...

Documentation

Debug Bar

Sorry, description is still in under construction...

Documentation

License

MIT © Grigorii Duca

Huuuge Quote

I fear not the man who has practiced 10,000 programming languages once, but I fear the man who has practiced one programming language 10,000 times. © #horrorsquad