{"id":15024070,"url":"https://github.com/silmar-alberti/developmentphpstack","last_synced_at":"2026-03-18T02:35:14.305Z","repository":{"id":53415432,"uuid":"195895416","full_name":"silmar-alberti/DevelopmentPhpStack","owner":"silmar-alberti","description":"Conteiner php, production container and development tools","archived":false,"fork":false,"pushed_at":"2023-02-20T22:06:36.000Z","size":94,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T18:43:50.339Z","etag":null,"topics":["container","docker","docker-compose","php","php56","php72","php74","phpdevelopment","profile","xdebug","xdebug-profile"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/silmar-alberti.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":"2019-07-08T22:41:57.000Z","updated_at":"2023-02-19T17:58:55.000Z","dependencies_parsed_at":"2024-10-12T12:31:14.966Z","dependency_job_id":null,"html_url":"https://github.com/silmar-alberti/DevelopmentPhpStack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silmar-alberti%2FDevelopmentPhpStack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silmar-alberti%2FDevelopmentPhpStack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silmar-alberti%2FDevelopmentPhpStack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silmar-alberti%2FDevelopmentPhpStack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silmar-alberti","download_url":"https://codeload.github.com/silmar-alberti/DevelopmentPhpStack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324266,"owners_count":20273098,"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":["container","docker","docker-compose","php","php56","php72","php74","phpdevelopment","profile","xdebug","xdebug-profile"],"created_at":"2024-09-24T19:59:46.104Z","updated_at":"2025-12-28T05:45:30.756Z","avatar_url":"https://github.com/silmar-alberti.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Development PHP Stack\n___\n### Description\n\n### Features\n- PHP `5.6`, `7.2` and `7.4`\n- ever images own base, dev and prod variants \n\nInstaled extensions greather than 7:\n- apcu\n- Core\n- ctype\n- curl\n- date\n- dom\n- fileinfo\n- filter\n- ftp\n- gd\n- hash\n- iconv\n- igbinary\n- json\n- libxml\n- mbstring\n- mysqli\n- mysqlnd\n- openssl\n- pcre\n- PDO\n- pdo_mysql\n- pdo_sqlite\n- Phar\n- posix\n- readline\n- redis\n- Reflection\n- session\n- SimpleXML\n- soap\n- sodium\n- SPL\n- sqlite3\n- standard\n- timezonedb\n- tokenizer\n- xdebug\n- xml\n- xmlreader\n- xmlwriter\n- Zend OPcache\n- zip\n- zlib\n\nInstaled extensions 5.6 version:\n- apcu\n- curl\n- date\n- dom\n- fileinfo\n- filter\n- ftp\n- gd\n- hash\n- iconv\n- imap\n- igbinary\n- json\n- libxml\n- mbstring\n- mysqli\n- mysqlnd\n- openssl\n- PDO\n- pdo_mysql\n- pdo_sqlite\n- Phar\n- posix\n- readline\n- redis\n- Reflection\n- session\n- SimpleXML\n- soap\n- SPL\n- sqlite3\n- timezonedb\n- xdebug\n- xml\n- xmlreader\n- xmlwriter\n- zip\n- Zend Opcache\n- zlib\n\n\n\n### Dependencies\n - [Docker](https://docs.docker.com/install/) \n - [Docker-compose](https://docs.docker.com/compose/install/)\n### Setup\n\n1. Clone this project: \n    ```SH\n    git clone git@github.com:silmar-alberti/DevelopmentPhpStack.git\n    ```\n\n2. Open `deploy` folder: \n    ```SH\n    cd deploy\n    ```\n\n3. Setup apache config files in `php56-sites-enabled` or `php72-sites-enabled` \n    ``` Apache\n    \u003cVirtualHost *:80\u003e\n        ServerName *.php7.localhost.com\n        DocumentRoot /var/www/site\n\n        \u003cDirectory /var/www/html/site\u003e\n            Options Indexes FollowSymLinks\n            AllowOverride All\n            Require all granted\n        \u003c/Directory\u003e\n    \u003c/VirtualHost\u003e\n\n    ```\n\n4. Start your dev env with command:\n\n    ``` SH\n    bash ./start.sh\n    ``` \n    obs: this stript works in fedora 31,32. but not tested on another distribution or version.\n\n    This stript only make `./deploy/.env` file used in containers setup to redirect xdebug requests. **check that the firewall does not close port 9000.** \n___\n### Details\n\n#### Request forward\n\n- This project use traefik-proxy to forward requests to both environments. \nSee file ./deploy/docker-compose.yml and [traefik-proxy documentation](https://doc.traefik.io/traefik/)\n\n#### Xdebug debug \n- Check `deploy/.env` content, \n    ``` \n    HOST_DOCKER_INTERNAL=your external ip\n    ```\n    if not sure, fix and restart apache services.     \n- Xdebug start with trigger XDEBUG_SESSION_START [see more on docs](https://xdebug.org/docs/remote)\n\n- **Check that the firewall does not close port 9000.** \n\n#### Xdebug Profile\n- Profile files are maked on `/tmp/profiler` folder, \n- To start xdebug profile set session cookie or GET parameter [see more on xdebug docs](https://xdebug.org/docs/profiler)\n\n___\n### Utils\n\n - This project also try abstract local php tools how commands: `php56`, `php72`, `composer` and `kcacheGrid`(xdebug profile analyzer). \n see command files on `./utils` folder\n\n#### Install nnative commands (linux only)\n1. To install php, composer and kcacheGrid run follow command:\n```SH\nsudo bash devPhpInstall\n```\n2. Enable debugCliSession \n```SH\nsource enableDebugVars\n```\n3. Disable debugCliSession \n```SH\nsource disableDebugVars\n```\n___\n### Used repositories \n- [php](https://hub.docker.com/r/_/php)\n- [traefik-proxy](https://doc.traefik.io/traefik/)\n- [quetzacoalt/kcachegrind](https://hub.docker.com/r/quetzacoalt/kcachegrind)\n- [tini](https://github.com/krallin/tini)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilmar-alberti%2Fdevelopmentphpstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilmar-alberti%2Fdevelopmentphpstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilmar-alberti%2Fdevelopmentphpstack/lists"}