{"id":16038013,"url":"https://github.com/joseluisq/php-app","last_synced_at":"2025-04-05T05:41:48.365Z","repository":{"id":146283777,"uuid":"476496817","full_name":"joseluisq/php-app","owner":"joseluisq","description":"A very simple PHP 8.1 web application example using Leap (experimental)","archived":false,"fork":false,"pushed_at":"2022-11-13T23:15:37.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T02:10:35.873Z","etag":null,"topics":["docker-compose","php","php81","webapp"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joseluisq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-31T22:24:27.000Z","updated_at":"2022-05-12T13:40:03.000Z","dependencies_parsed_at":"2023-10-12T07:16:48.180Z","dependency_job_id":"d79b3472-2308-4494-82fe-6c7843475c2d","html_url":"https://github.com/joseluisq/php-app","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"20e7c5293a44256ff8181f5afc53df280e99216a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Fphp-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Fphp-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Fphp-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluisq%2Fphp-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joseluisq","download_url":"https://codeload.github.com/joseluisq/php-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294463,"owners_count":20915338,"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","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":["docker-compose","php","php81","webapp"],"created_at":"2024-10-08T22:23:03.543Z","updated_at":"2025-04-05T05:41:48.346Z","avatar_url":"https://github.com/joseluisq.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP App\n\n\u003e A simple PHP application example using [Leap](https://github.com/joseluisq/leap).\n\n## Requirements\n\n[PHP 8.1](https://www.php.net/releases/8.1/en.php) or newer.\n\n## Directory Structure\n\n```sh\n.\n├── cache/              # Optional cache folder\n├── config/             # Configuration folder\n│   └── Config.php\n├── controllers/        # Controllers folder\n│   └── HomeCtrl.php\n├── core/               # Application core utilities\n├── database/           # Database-related folder\n├── logs/               # Logging files folder (optional)\n├── public/             # Web server folder\n│   ├── assets/\n│   └── index.php\n├── routes/             # Routes folder\n│   └── Routes.php\n├── tests/              # Testing-related folder\n├── views/              # Application views/templates folder\n│   └── home.html\n├── bootstrap.php       # Application entrypoint\n├── composer.json\n├── environment.env     # Environment template file to setup an app\n├── phpstan.neon\n├── phpunit.xml\n```\n\n## Usage\n\n__Built-in server__\n\n```sh\ncomposer install\nphp -S [::]:8088 -t public/\n```\n\n__Docker Compose__\n\n```sh\ncomposer install\ndocker-compose up\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoseluisq%2Fphp-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoseluisq%2Fphp-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoseluisq%2Fphp-app/lists"}