{"id":28919701,"url":"https://github.com/fbraz3/php-system-docs","last_synced_at":"2025-10-17T12:36:10.102Z","repository":{"id":292709800,"uuid":"981318517","full_name":"fbraz3/php-system-docs","owner":"fbraz3","description":"Docs for my PHP Docker Images","archived":false,"fork":false,"pushed_at":"2025-05-19T20:24:22.000Z","size":27,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T21:32:39.482Z","etag":null,"topics":["docker","docker-image","phalcon","phalcon-php","php","symfony","symfony-console","tooling","tools","wordpress"],"latest_commit_sha":null,"homepage":"","language":null,"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/fbraz3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":null,"code_of_conduct":"CODE_OF_CONDUCT.md ","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,"zenodo":null},"funding":{"github":"fbraz3","patreon":"fbraz3"}},"created_at":"2025-05-10T20:42:32.000Z","updated_at":"2025-05-19T20:24:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9052c53-936b-4f99-b9ba-a8f3c1c8f231","html_url":"https://github.com/fbraz3/php-system-docs","commit_stats":null,"previous_names":["fbraz3/php-system-docs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fbraz3/php-system-docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbraz3%2Fphp-system-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbraz3%2Fphp-system-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbraz3%2Fphp-system-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbraz3%2Fphp-system-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbraz3","download_url":"https://codeload.github.com/fbraz3/php-system-docs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbraz3%2Fphp-system-docs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261233072,"owners_count":23128191,"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","docker-image","phalcon","phalcon-php","php","symfony","symfony-console","tooling","tools","wordpress"],"created_at":"2025-06-22T04:00:42.719Z","updated_at":"2025-10-17T12:36:10.084Z","avatar_url":"https://github.com/fbraz3.png","language":null,"funding_links":["https://github.com/sponsors/fbraz3","https://patreon.com/fbraz3","https://www.patreon.com/fbraz3"],"categories":[],"sub_categories":[],"readme":"# Braz Docker PHP Project\n\nThis project provides a collection of optimized Docker images to run PHP applications in various scenarios. \n\nWith a focus on flexibility and performance, the images are organized into categories that cater to everything from command-line tools to full development and production stacks. \n\nEach image is carefully maintained and regularly updated to ensure compatibility and security.\n\nFor more technical information, please visit our  [DeepWiki Page](https://deepwiki.com/fbraz3/php-system-docs) (AI generated).\n\n## Table of Contents\n\n1. [Who is this for?](#who-is-this-for)\n2. [About the author](#about-the-author)\n3. [Available Images](#available-images)\n   - [Tools Images](#tools-images)\n   - [Backend Images](#backend-images)\n   - [Web Server Images](#web-server-images)\n   - [Full Stack Images](#full-stack-images)\n4. [Features](#features)\n   - [Cronjobs](#cronjobs)\n   - [Sending Mails](#sending-mails)\n   - [Manage PHP Directives via Environment Variables](#manage-php-directives-via-environment-variables)\n5. [Build Status](#build-status)\n6. [Donation](#donation)\n\n## Who is this for?\n\nThis project is designed for developers, system administrators, and DevOps engineers who need a reliable and efficient way to run PHP applications in Docker containers.\n\nWhether you're building a new application, maintaining an existing one, or looking to streamline your development workflow, these images provide the tools and flexibility you need.\n\n## About the author\n\nMy name is Felipe Braz, I am a DevOps engineer and System Administrator with a passion for open-source software and Docker.\n\nAlthough my career has taken me in directions away from PHP, I still hold a deep passion for the language that introduced me to the world of technology and software development.\n\nI believe in the power of collaboration and open-source software, and I hope this project can help you in your development journey.\n\n- My LinkedIn Profile: [fbraz3](https://www.linkedin.com/in/fbraz3/)\n- My Personal Blog: [braz.dev](https://braz.dev)\n\n## Available Images\n\n### Tools Images\n\nA variety of tools images to help you manage your PHP applications:\n\n- [PHP CLI](https://hub.docker.com/r/fbraz3/php-cli): Command line interface for PHP applications, with [Phalcon framework](https://phalcon.io/) support.\n- [PHP Composer](https://hub.docker.com/r/fbraz3/php-composer): Command line for [Composer package manager](https://getcomposer.org/).\n- [WP-CLI](https://hub.docker.com/r/fbraz3/wp-cli): Manage WordPress installations with this [Command line Tool](https://developer.wordpress.org/cli/commands/cli/).\n- [Symfony CLI](https://hub.docker.com/r/fbraz3/symfony-cli): Command line for [Symfony framework](https://symfony.com/doc/current/setup.html).\n\n#### Usage\n\n```bash\n# Run a standalone PHP script\ndocker run -it --rm fbraz3/php-cli:latest php myscript.php\n\n# Run a PHP built-in server with Phalcon framework support\ndocker run -it --rm -v $(pwd):/workspace -p 8000:8000 fbraz3/php-cli:latest-phalcon php -S localhost:8000\n\n# Install a fresh wordpress using wp-cli\ndocker run -it --rm -v $(pwd):/workspace fbraz3/wp-cli:latest core download --path=/workspace\n\n# Install a fresh symfony using symfony-cli\ndocker run -it --rm -v $(pwd):/workspace fbraz3/symfony-cli:latest new my_project_name\n```\n\nYou may want to add these executable aliases to your `.bashrc` or `.zshrc` for convenience.\n\n```bash\nPHP_VERSION=8.4 # Replace with your preferred PHP version\nphp() { docker run -v \"$(pwd):/workspace\" --rm fbraz3/php-cli:$PHP_VERSION \"$@\"; }\ncomposer() { docker run -v \"$(pwd):/workspace\" --rm fbraz3/php-composer:$PHP_VERSION \"$@\"; }\nwp() { docker run -v \"$(pwd):/workspace\" --rm fbraz3/wp-cli:$PHP_VERSION \"$@\"; }\nsymfony() { docker run -v \"$(pwd):/workspace\" --rm fbraz3/symfony-cli:$PHP_VERSION \"$@\"; }\n```\n\n#### Source Code\n[fbraz3/php-base-docker](https://github.com/fbraz3/php-base-docker)\n\n### Backend Images\n\nImages focusing on PHP server backend for easy integration with most commons web servers:\n\n- [PHP-FPM](https://hub.docker.com/r/fbraz3/php-fpm): PHP FastCGI Process Manager, designed to work with a separate web server, such as Nginx or Apache2.\n\n#### Usage\n\n**Step 1:** Run PHP-FPM image and expose port 1780/TCP\n```bash\n# Run a PHP-FPM server, php-fpm socket will listening on port 1780\ndocker run -it --rm --name=php-fpm -p 1780:1780 -v $(pwd):/app/public fbraz3/php-fpm:latest php-fpm\n```\n\n**Step 2:** Configure your webserver to handle fastcgi from 1780 port\n\n- Example for NGINX\n```nginxconf\nserver {\n    listen 80 default_server;\n\n    root /app/public;\n    index index.php index.html index.htm;\n\n    location ~ \\.php$ {\n        fastcgi_pass 127.0.0.1:1780;\n        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n        fastcgi_param SCRIPT_NAME $fastcgi_script_name;\n        include /etc/nginx/fastcgi_params;\n        fastcgi_read_timeout 300;\n    }\n}\n```\n\n- Example for Apache2 / HTTPD\n```apacheconf\n\u003cVirtualHost *:80\u003e\n    ServerAdmin webmaster@localhost\n    DocumentRoot /app/public\n\n    ErrorLog ${APACHE_LOG_DIR}/error.log\n    CustomLog ${APACHE_LOG_DIR}/access.log combined\n\n    DirectoryIndex index.php index.html index.htm\n\n    \u003cFilesMatch \\.php$\u003e\n        SetHandler \"proxy:fcgi://127.0.0.1:1780\"\n    \u003c/FilesMatch\u003e\n\n    \u003cDirectory /app/public\u003e\n        Options Indexes FollowSymLinks\n        AllowOverride All\n        Require all granted\n    \u003c/Directory\u003e\n\u003c/VirtualHost\u003e\n```\n\n \n\n#### Source Code\n[fbraz3/php-fpm-docker](https://github.com/fbraz3/php-fpm-docker)\n\n### Web Server Images\n\nImages providing PHP and built-in web server for easy deployment:\n\n- [PHP-FPM with Apache2](https://hub.docker.com/r/fbraz3/php-apache2): PHP-FPM image, including a built-in Apache2 web server.\n- [PHP-FPM with Nginx](https://hub.docker.com/r/fbraz3/php-nginx): PHP-FPM image, including a built-in Nginx web server.\n\n#### Usage\n\n```bash\n# Run a PHP-FPM server with Apache2, php-fpm socket will listening on port 80\ndocker run -it --rm --name=php-apache2 -p 80:80 -v $(pwd):/app/public fbraz3/php-apache2:latest php-fpm\n\n# Run a PHP-FPM server with Nginx, php-fpm socket will listening on port 80\ndocker run -it --rm --name=php-nginx -p 80:80 -v $(pwd):/app/public fbraz3/php-nginx:latest php-fpm\n```\n\n#### Source Code\n- [fbraz3/php-nginx-docker](https://github.com/fbraz3/php-nginx-docker)\n- [fbraz3/php-apache2-docker](https://github.com/fbraz3/php-apache2-docker)\n\n### Full Stack images\n\nImages providing a complete stack for your development environment:\n\n- [LEMP](https://hub.docker.com/r/fbraz3/lnmp): Classic LNMP/LEMP image, with Linux, Nginx, MySQL and PHP, plus with PHPMyAdmin.\n- [LAMP](https://hub.docker.com/r/fbraz3/lamp): Classic LAMP image, with Linux, Apache2, MySQL and PHP, plus with PHPMyAdmin.\n\n#### Usage\n\n```bash\n# Run a LEMP server, php-fpm socket will listening on port 80\ndocker run -it --rm --name=lnmp -p 80:80 -v $(pwd):/app/public fbraz3/lnmp:latest php-fpm\n\n# Run a LAMP server, php-fpm socket will listening on port 80\ndocker run -it --rm --name=lamp -p 80:80 -v $(pwd):/app/public fbraz3/lamp:latest php-fpm\n```\n\n#### Source Code\n\n- [fbraz3/lemp-docker](https://github.com/fbraz3/lemp-docker)\n- [fbraz3/lamp-docker](https://github.com/fbraz3/lamp-docker)\n\n### Features\n\n#### Cronjobs\n\nCronjobs can be configured by binding a file to `/cronfile` in the container. \nThe system will automatically install and execute the jobs.\n\nFor more details, see the [php-fpm-docker documentation](https://github.com/fbraz3/php-fpm-docker#cronjobs).\n\n- Compatibility with the following images:\n  - [fbraz3/php-fpm](https://hub.docker.com/r/fbraz3/php-fpm)\n  - [fbraz3/php-nginx](https://hub.docker.com/r/fbraz3/php-nginx)\n  - [fbraz3/php-apache2](https://hub.docker.com/r/fbraz3/php-apache2)\n  - [fbraz3/lnmp](https://hub.docker.com/r/fbraz3/lnmp)\n  - [fbraz3/lamp](https://hub.docker.com/r/fbraz3/lamp)\n\n#### Sending Mails\n\nTo enable email sending, this image relies on the configuration provided in the `php-base-docker` project.\n\nFollow the instructions in the [php-base-docker documentation](https://github.com/fbraz3/php-base-docker#sending-mails) to set up email functionality.\n\n- Compatibility with all images in this project.\n\n#### Manage PHP Directives via Environment Variables\n\nSome images allow you to customize PHP directives using environment variables.\n\nFor detailed instructions, refer to the [php-fpm-docker documentation](https://github.com/fbraz3/php-fpm-docker#manage-php-directives-via-environment-variables).\n\n- Compatibility with the following images:\n  - [fbraz3/php-fpm](https://hub.docker.com/r/fbraz3/php-fpm)\n  - [fbraz3/php-nginx](https://hub.docker.com/r/fbraz3/php-nginx)\n  - [fbraz3/php-apache2](https://hub.docker.com/r/fbraz3/php-apache2)\n  - [fbraz3/lnmp](https://hub.docker.com/r/fbraz3/lnmp)\n  - [fbraz3/lamp](https://hub.docker.com/r/fbraz3/lamp)\n\n### Build Status\n\nHere's a summary of the images available in this project:\n\n|   Image                                                        | Build Schedule               | Build Status                                                                                                                                                                                                                                                                                                                                                                                               |\n|----------------------------------------------------------------|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n|   [php-cli](https://hub.docker.com/r/fbraz3/php-cli)           | Every Sunday, 6:00 AM UTC    | [![Base Images](https://github.com/fbraz3/php-base-docker/actions/workflows/base-images.yml/badge.svg)](https://github.com/fbraz3/php-base-docker/actions/workflows/base-images.yml)                                                                                                                                                                                                                       |\n|   [phalcon](https://hub.docker.com/r/fbraz3/php-cli)           | Every Sunday, 7:00 AM UTC    | [![Phalcon Images](https://github.com/fbraz3/php-base-docker/actions/workflows/phalcon-images.yml/badge.svg)](https://github.com/fbraz3/php-base-docker/actions/workflows/phalcon-images.yml)                                                                                                                                                                                                              |\n|   [php-composer](https://hub.docker.com/r/fbraz3/php-composer) | Every Sunday, 7:15 AM UTC    | [![Build Composer Images](https://github.com/fbraz3/php-base-docker/actions/workflows/composer-images.yml/badge.svg)](https://github.com/fbraz3/php-base-docker/actions/workflows/composer-images.yml)                                                                                                                                                                                                     |\n|   [wp-cli](https://hub.docker.com/r/fbraz3/wp-cli)             | Every Sunday, 7:30 AM UTC    | [![WP-Cli Images](https://github.com/fbraz3/php-base-docker/actions/workflows/wp-cli-images.yml/badge.svg)](https://github.com/fbraz3/php-base-docker/actions/workflows/wp-cli-images.yml)                                                                                                                                                                                                                 |\n|   [symfony-cli](https://hub.docker.com/r/fbraz3/symfony-cli)   | Every Sunday, 7:40 AM UTC    | [![Symfony Images](https://github.com/fbraz3/php-base-docker/actions/workflows/symfony-images.yml/badge.svg)](https://github.com/fbraz3/php-base-docker/actions/workflows/symfony-images.yml)                                                                                                                                                                                                              |\n|   [php-fpm](https://hub.docker.com/r/fbraz3/php-fpm)           | Every Monday, 6:00 AM UTC    | [![Build Base Images](https://github.com/fbraz3/php-fpm-docker/actions/workflows/base-images.yml/badge.svg)](https://github.com/fbraz3/php-fpm-docker/actions/workflows/base-images.yml) [![Build Phalcon Images](https://github.com/fbraz3/php-fpm-docker/actions/workflows/phalcon-images.yml/badge.svg)](https://github.com/fbraz3/php-fpm-docker/actions/workflows/phalcon-images.yml)                 |\n|   [php-nginx](https://hub.docker.com/r/fbraz3/php-nginx)       | Every Tuesday, 6:00 AM UTC   | [![Build Base Images](https://github.com/fbraz3/php-nginx-docker/actions/workflows/base-images.yml/badge.svg)](https://github.com/fbraz3/php-nginx-docker/actions/workflows/base-images.yml) [![Build Phalcon Images](https://github.com/fbraz3/php-nginx-docker/actions/workflows/phalcon-images.yml/badge.svg)](https://github.com/fbraz3/php-nginx-docker/actions/workflows/phalcon-images.yml)         |\n|   [php-apache2](https://hub.docker.com/r/fbraz3/php-apache2)   | Every Tuesday, 9:00 AM UTC   | [![Build Base Images](https://github.com/fbraz3/php-apache2-docker/actions/workflows/base-images.yml/badge.svg)](https://github.com/fbraz3/php-apache2-docker/actions/workflows/base-images.yml) [![Build Phalcon Images](https://github.com/fbraz3/php-apache2-docker/actions/workflows/phalcon-images.yml/badge.svg)](https://github.com/fbraz3/php-apache2-docker/actions/workflows/phalcon-images.yml) |\n|   [lemp/lnmp](https://hub.docker.com/r/fbraz3/lnmp)            | Every Wednesday, 6:00 AM UTC | [![Build Base Images](https://github.com/fbraz3/lemp-docker/actions/workflows/base-images.yml/badge.svg)](https://github.com/fbraz3/lemp-docker/actions/workflows/base-images.yml) [![Build Phalcon Images](https://github.com/fbraz3/lemp-docker/actions/workflows/phalcon-images.yml/badge.svg)](https://github.com/fbraz3/lemp-docker/actions/workflows/phalcon-images.yml)                             |\n|   [lamp](https://hub.docker.com/r/fbraz3/lamp)                 | Every Wednesday, 9:00 AM UTC | [![Build Base Images](https://github.com/fbraz3/lamp-docker/actions/workflows/base-images.yml/badge.svg)](https://github.com/fbraz3/lamp-docker/actions/workflows/base-images.yml) [![Build Phalcon Images](https://github.com/fbraz3/lamp-docker/actions/workflows/phalcon-images.yml/badge.svg)](https://github.com/fbraz3/lamp-docker/actions/workflows/phalcon-images.yml)                             |\n\n## Donation\n\nMaintaining this project requires significant time and effort. If you find it valuable, please consider supporting its development through a donation:\n\n- [GitHub Sponsor](https://github.com/sponsors/fbraz3)\n- [Patreon](https://www.patreon.com/fbraz3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbraz3%2Fphp-system-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbraz3%2Fphp-system-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbraz3%2Fphp-system-docs/lists"}