{"id":37004398,"url":"https://github.com/dugajean/dockr-cli","last_synced_at":"2026-01-14T00:38:07.279Z","repository":{"id":56973142,"uuid":"168870761","full_name":"dugajean/dockr-cli","owner":"dugajean","description":"Easy docker-compose local development setup for your LAMP and LEMP projects.","archived":true,"fork":false,"pushed_at":"2019-11-02T15:18:01.000Z","size":167,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T10:42:59.569Z","etag":null,"topics":["docker","docker-compose"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/dugajean.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-02T19:46:00.000Z","updated_at":"2023-01-27T22:24:19.000Z","dependencies_parsed_at":"2022-08-21T10:20:32.177Z","dependency_job_id":null,"html_url":"https://github.com/dugajean/dockr-cli","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/dugajean/dockr-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dugajean%2Fdockr-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dugajean%2Fdockr-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dugajean%2Fdockr-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dugajean%2Fdockr-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dugajean","download_url":"https://codeload.github.com/dugajean/dockr-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dugajean%2Fdockr-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","docker-compose"],"created_at":"2026-01-14T00:38:06.676Z","updated_at":"2026-01-14T00:38:07.268Z","avatar_url":"https://github.com/dugajean.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dockr CLI\n\n[![Build Status](https://travis-ci.org/dugajean/dockr-cli.svg?branch=master)](https://travis-ci.org/dugajean/dockr-cli) \n[![Latest Stable Version](https://poser.pugx.org/dugajean/dockr-cli/v/stable)](https://packagist.org/packages/dugajean/dockr-cli) \n[![Total Downloads](https://poser.pugx.org/dugajean/dockr-cli/downloads)](https://packagist.org/packages/dugajean/dockr-cli) \n[![License](https://poser.pugx.org/dugajean/dockr-cli/license)](https://packagist.org/packages/dugajean/dockr-cli) \n\nEasy docker-compose local development setup for your LAMP and LEMP projects.\n\n## Requirements\n\n- Docker \u0026 docker-compose\n- PHP 7.1+\n- `ext-json`\n- `ext-ctype`\n\n## Download\n\n###### For direct use\n\nTo download the latest release, head over to [Releases](https://github.com/dugajean/dockr-cli/releases) and pick the latest PHAR. Then:\n\n```bash\n$ dockr.phar --version\n```\n\nFeel free to move this to `/usr/local/bin` so you can run it from anywhere: `$ mv ./dockr.phar /usr/local/bin/dockr`\n\n###### Per project installation\n\n```bash\n$ composer require dugajean/dockr-cli --dev\n```\n\n```bash\n$ vendor/bin/dockr --version\n```\n\n## Usage\n\nRun the following command to initialize dockr:\n\n```bash\n$ dockr init\n```\n \nOpen the newly created file `dockr.json` and read through it. Make sure everything is what you expect it to be. Then refer to the `aliases` section of the file. There you will see a couple of aliases preset for you: One will turn on the Docker containers and the other will shut them off.\n\nUse as follows: `$ dockr up` and `$ dockr down` respectively.\n\nYou can also set your own aliases there to control your setup. You can set aliases for SSH-ing into a container, delete the docker images or whatever you want. You can also point to a class which extends Symfony's `Command` class by providing the fully qualified namespace. \n\nExamples:\n\n```\n// ...\n\n\"aliases\": {\n    // ...\n    \"ssh\": {\n        \"help\": \"SSH into a container.\",\n        \"commands\": [\n            \"docker-compose -f .docker/docker-compose.yml exec {container} bash\"\n        ]\n    },\n    \"mycmd\": [\n        \"\\\\Fully\\\\Qualified\\\\Namespace\\\\To\\\\MyCommand\"\n    ]\n}\n```\n\nExecute the commands like so: `$ dockr ssh php-fpm` and `$ dockr mycmd`. As you can see, you can provide arguments to your custom commands.\n\nFor a full list of available commands, run `$ dockr` and if you need help with a specific command run:\n\n```bash\n$ dockr help \u003ccommand\u003e\n```\n\n## Testing\n\n```bash\n$ vendor/bin/phpunit\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## License\nPouch is released under [the MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdugajean%2Fdockr-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdugajean%2Fdockr-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdugajean%2Fdockr-cli/lists"}