{"id":20731094,"url":"https://github.com/greg-md/php-app","last_synced_at":"2025-12-07T20:04:47.179Z","repository":{"id":12032913,"uuid":"72987376","full_name":"greg-md/php-app","owner":"greg-md","description":"Greg PHP Application is based on Greg PHP Framework and it's components.","archived":false,"fork":false,"pushed_at":"2023-04-19T19:20:51.000Z","size":1254,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T10:21:50.025Z","etag":null,"topics":["app","application","greg-md","greg-php","php","php-app","web-artisans"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greg-md.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-06T11:51:43.000Z","updated_at":"2020-07-30T12:38:09.000Z","dependencies_parsed_at":"2025-01-18T00:35:34.103Z","dependency_job_id":null,"html_url":"https://github.com/greg-md/php-app","commit_stats":{"total_commits":132,"total_committers":2,"mean_commits":66.0,"dds":0.007575757575757569,"last_synced_commit":"57db5e10d1649c0ac0e84cfbaca852381a89fa62"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/greg-md/php-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-md%2Fphp-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-md%2Fphp-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-md%2Fphp-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-md%2Fphp-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greg-md","download_url":"https://codeload.github.com/greg-md/php-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-md%2Fphp-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27576910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-07T02:00:07.896Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app","application","greg-md","greg-php","php","php-app","web-artisans"],"created_at":"2024-11-17T05:13:40.841Z","updated_at":"2025-12-07T20:04:47.134Z","avatar_url":"https://github.com/greg-md.png","language":"JavaScript","readme":"# Greg PHP Application\n\n[![StyleCI](https://styleci.io/repos/72987376/shield?style=flat)](https://styleci.io/repos/72987376)\n[![Build Status](https://travis-ci.org/greg-md/php-app.svg)](https://travis-ci.org/greg-md/php-app)\n[![Total Downloads](https://poser.pugx.org/greg-md/php-app/d/total.svg)](https://packagist.org/packages/greg-md/php-app)\n[![Latest Stable Version](https://poser.pugx.org/greg-md/php-app/v/stable.svg)](https://packagist.org/packages/greg-md/php-app)\n[![Latest Unstable Version](https://poser.pugx.org/greg-md/php-app/v/unstable.svg)](https://packagist.org/packages/greg-md/php-app)\n[![License](https://poser.pugx.org/greg-md/php-app/license.svg)](https://packagist.org/packages/greg-md/php-app)\n\nThis Application is based on [Greg PHP Framework](https://github.com/greg-md/php-framework) and it's components.\n\n# Table of Contents\n\n* [Requirements](#requirements)\n* [Installation](#installation)\n* [Configuration](#configuration)\n* [HTTP Routing](#http-routing)\n* [Console Commands](#console-commands)\n* [Dependency Injection](#dependency-injection)\n* [Service Providers](#service-providers)\n* [Testing](#testing)\n* [Out of the box](#out-of-the-box)\n    * [Cache](#cache)\n    * [ORM](#orm)\n    * [View](#view)\n    * [Imagix](#imagix)\n    * [Debug Bar](#debug-bar)\n* [License](#license)\n* [Huuuge Quote](#huuuge-quote)\n\n# Requirements\n\n* [Docker](https://www.docker.com/)\n\n# Installation\n\n**Composer**\n\n`composer create-project greg-md/php-app`\n\n**Git**\n\n`git clone https://github.com/greg-md/php-app.git`\n\n**Manually**\n\n[Download](https://github.com/greg-md/php-app/archive/master.zip) and unzip it in your preferable directory.\n\n### Run\n\nOpen terminal and start docker containers from the project root directory.\n\n`docker-compose up`\n\nWait until the `app` container is started and open in browser `http://127.0.0.1/`.\n\n\u003e It will take a while for the first time until it will download and build images.\n\u003e But next times containers will start faster.\n\n**Optionally**, you can add an alias in `hosts` file `127.0.0.1 app.local` and open in browser `http://app.local/`.\n\n\u003cimg src=\"http://greg.md/php-application.jpg\" alt=\"Greg PHP Application\" width=\"700\" style=\"max-width: 100%;\"\u003e\n\n# Configuration\n\nAll configuration files are stored in the `config` directory. You can easily access them from application:\n\n```php\n$app-\u003econfig('debug');\n```\n\n### Environment variables\n\nEnvironment variables are stored in `.env` file and could be accessed anywhere in the code, mostly in configuration files:\n\n```php\n'debug' =\u003e (bool) getenv('DEBUG'),\n```\n\n# HTTP Routing\n\n\u003e Sorry, description is still in under construction...\n\n[Documentation](https://github.com/greg-md/php-router)\n\n# Console Commands\n\n\u003e Sorry, description is still in under construction...\n\n[Documentation](https://github.com/greg-md/php-framework#running-for-console-requests)\n\n# Dependency Injection\n\n\u003e Sorry, description is still in under construction...\n\n[Documentation](https://github.com/greg-md/php-dependency-injection)\n\n# Service Providers\n\n\u003e Sorry, description is still in under construction...\n\n[Documentation](https://github.com/greg-md/php-framework#service-providers)\n\n# Testing\n\n\u003e Sorry, description is still in under construction...\n\n# Out of the box\n\n## Cache\n\n\u003e Sorry, description is still in under construction...\n\n[Documentation](https://github.com/greg-md/php-cache)\n\n## ORM\n\n\u003e Sorry, description is still in under construction...\n\n[Documentation](https://github.com/greg-md/php-orm)\n\n## View\n\n\u003e Sorry, description is still in under construction...\n\n[Documentation](https://github.com/greg-md/php-view)\n\n## Imagix\n\n\u003e Sorry, description is still in under construction...\n\n[Documentation](https://github.com/greg-md/php-imagix)\n\n## Debug Bar\n\n\u003e Sorry, description is still in under construction...\n\n[Documentation](http://phpdebugbar.com/)\n\n# License\n\nMIT © [Grigorii Duca](http://greg.md)\n\n# Huuuge Quote\n\n![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. \u0026copy; #horrorsquad](http://greg.md/huuuge-quote-fb.jpg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreg-md%2Fphp-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreg-md%2Fphp-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreg-md%2Fphp-app/lists"}