{"id":21524190,"url":"https://github.com/alcidesrc/dockerized-php-supervisor","last_synced_at":"2026-05-07T21:36:36.804Z","repository":{"id":254569384,"uuid":"846925802","full_name":"AlcidesRC/dockerized-php-supervisor","owner":"AlcidesRC","description":"A dockerized environment to build CLI, micro-services and/or web applications based on PHP and using built-in webserver with SupervisorD","archived":false,"fork":false,"pushed_at":"2024-10-05T17:26:10.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T05:11:27.840Z","etag":null,"topics":["bash","cli-applications","development","docker","microservices","pcov","php","supervisor","uopz","web-applications","xdebug"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/AlcidesRC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["AlcidesRC"],"custom":["http://www.paypal.me/AlcidesRC"]}},"created_at":"2024-08-24T10:49:02.000Z","updated_at":"2024-10-05T17:26:14.000Z","dependencies_parsed_at":"2024-11-24T01:35:07.235Z","dependency_job_id":null,"html_url":"https://github.com/AlcidesRC/dockerized-php-supervisor","commit_stats":null,"previous_names":["alcidesrc/dockerized-php-supervisor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlcidesRC%2Fdockerized-php-supervisor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlcidesRC%2Fdockerized-php-supervisor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlcidesRC%2Fdockerized-php-supervisor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlcidesRC%2Fdockerized-php-supervisor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlcidesRC","download_url":"https://codeload.github.com/AlcidesRC/dockerized-php-supervisor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244082586,"owners_count":20395299,"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":["bash","cli-applications","development","docker","microservices","pcov","php","supervisor","uopz","web-applications","xdebug"],"created_at":"2024-11-24T01:21:25.887Z","updated_at":"2026-05-07T21:36:36.798Z","avatar_url":"https://github.com/AlcidesRC.png","language":"Makefile","funding_links":["https://github.com/sponsors/AlcidesRC","http://www.paypal.me/AlcidesRC"],"categories":[],"sub_categories":[],"readme":"[![Continuous Integration](https://github.com/AlcidesRC/dockerized-php-supervisor/actions/workflows/ci.yml/badge.svg)](https://github.com/AlcidesRC/dockerized-php-supervisor/actions/workflows/ci.yml)\n\n# Dockerized PHP - Supervisor\n\n\n\u003e A _dockerized_ environment based on Supervisor + PHP-FPM running on a Linux Alpine container. \n\n\n[TOC]\n\n------\n\n\n\n## Summary\n\nThis repository contains a _dockerized_ environment for building PHP applications based on **php:8.5-fpm-alpine** with Supervisor.\n\n### Highlights\n\n- Unified environment to build \u003cabbr title=\"Command Line Interface\"\u003eCLI\u003c/abbr\u003e, \u003cu\u003eweb applications\u003c/u\u003e and/or \u003cu\u003emicro-services\u003c/u\u003e based on **PHP8**.\n- Multi-stage Dockerfile to allows you to create an optimized **development** or **production-ready** Docker images\n- Uses the **built-in PHP webserver**.\n- PHP-FPM and built-in webserver are **managed by Supervisor**.\n- **Everything in one single Docker container**.\n\n\n\n------\n\n\n\n## Requirements\n\nTo use this repository you need:\n\n- [Docker](https://www.docker.com/) - An open source containerization platform.\n- [Git](https://git-scm.com/) - The free and open source distributed version control system.\n- [Make](https://www.gnu.org/software/make/) - A command to automate the build/manage process.\n- [jq](https://jqlang.github.io/jq/download/) - A lightweight and flexible command-line JSON processor.\n\n\n\n------\n\n\n\n## Built with\n\n| Type           | Component                                                | Description                                                  |\n| -------------- | -------------------------------------------------------- | ------------------------------------------------------------ |\n| Infrastructure | [Docker](https://www.docker.com/)                        | Containerization platform                                    |\n| Service        | [Supervisor](http://supervisord.org/)                    | Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems. |\n| Service        | [PHP-FPM](https://www.php.net/manual/en/install.fpm.php) | PHP with FastCGI Process Manager                             |\n| Miscelaneous   | [Bash](https://www.gnu.org/software/bash/)               | Allows to create an interactive shell within containerized service |\n| Miscelaneous   | [Make](https://www.gnu.org/software/make/)               | Allows to execute commands defined on a _Makefile_           |\n| Miscelaneous   | [jq](https://jqlang.github.io/jq/download/)              | Allows to beautify the Docker inspections in JSON format     |\n\n\n\n------\n\n\n\n## Development Environment\n\n\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e This development environment is based on [Dockerized PHP](https://github.com/alcidesrc/dockerized-php), a framework agnostic *dockerized* environment to create and deploy PHP applications.\n\u003e\n\u003e Please take a look to the [README.md](https://github.com/alcidesrc/dockerized-php/blob/main/README.md) file to know how to familiarize with it and get up and running.\n\n\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e Default application is based on [PHP Skeleton](https://github.com/alcidesrc/php-skeleton), a minimalistic boilerplate to create PHP applications from scratch.\n\u003e\n\u003e Please take a look to the [README.md](https://github.com/alcidesrc/php-skeleton/blob/main/README.md) file to know how to familiarize with it and get up and running.\n\n\n\n------\n\n\n\n## Getting Started\n\nJust clone the repository into your preferred path:\n\n```bash\n$ mkdir -p ~/path/to/my-new-project \u0026\u0026 cd ~/path/to/my-new-project\n$ git clone git@github.com:alcidesrc/dockerized-php-supervisor.git .\n```\n\n### Quickstart\n\n```bash\n$ make init\n```\n\n### TL;DR\n\n#### Building the container\n\n```bash\n$ make build\n```\n\n#### Starting the container service\n\n```bash\n$ make up\n```\n\n#### Accessing to Supervisor admin panel\n\n```bash\n$ make open-supervisor\n```\n\n#### Accessing to web application\n\n```bash\n$ make open-website\n```\n\n#### Stopping the container service\n\n```bash\n$ make down\n```\n\n\n\n------\n\n\n\n\n## Security Vulnerabilities\n\nPlease review our security policy on how to report security vulnerabilities:\n\n**PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY**\n\n### Supported Versions\n\nOnly the latest major version receives security fixes.\n\n### Reporting a Vulnerability\n\nIf you discover a security vulnerability within this project, please [open an issue here](https://github.com/alcidesrc/dockerized-php-supervisor/issues). All security vulnerabilities will be promptly addressed.\n\n\n\n------\n\n\n\n## License\n\nThe MIT License (MIT). Please see [LICENSE](./LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falcidesrc%2Fdockerized-php-supervisor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falcidesrc%2Fdockerized-php-supervisor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falcidesrc%2Fdockerized-php-supervisor/lists"}