{"id":20095761,"url":"https://github.com/magepsycho/magento2-warden-aliases","last_synced_at":"2025-05-06T05:31:18.899Z","repository":{"id":46797302,"uuid":"406473800","full_name":"MagePsycho/magento2-warden-aliases","owner":"MagePsycho","description":"Magento 2 Warden Aliases for Productivity","archived":false,"fork":false,"pushed_at":"2024-11-22T18:11:11.000Z","size":69,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T08:51:15.094Z","etag":null,"topics":["container","docker","laravel","magento","magento2","magerun","mailhog","nginx","php","rabbitmq","redis","shopware","symfony","traefik","warden"],"latest_commit_sha":null,"homepage":"https://www.magepsycho.com/extensions/magento-2.html","language":"Shell","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/MagePsycho.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}},"created_at":"2021-09-14T18:07:55.000Z","updated_at":"2024-11-22T18:11:14.000Z","dependencies_parsed_at":"2022-09-02T22:01:17.583Z","dependency_job_id":null,"html_url":"https://github.com/MagePsycho/magento2-warden-aliases","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/MagePsycho%2Fmagento2-warden-aliases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagePsycho%2Fmagento2-warden-aliases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagePsycho%2Fmagento2-warden-aliases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagePsycho%2Fmagento2-warden-aliases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MagePsycho","download_url":"https://codeload.github.com/MagePsycho/magento2-warden-aliases/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252628894,"owners_count":21779100,"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","laravel","magento","magento2","magerun","mailhog","nginx","php","rabbitmq","redis","shopware","symfony","traefik","warden"],"created_at":"2024-11-13T16:56:21.918Z","updated_at":"2025-05-06T05:31:18.877Z","avatar_url":"https://github.com/MagePsycho.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Warden Aliases\n[Warden](https://warden.dev/) is a CLI utility for orchestrating Docker based developer environments.\n\nThese aliases make your warden based development life easier (how?, see below).\n\n## Installation\nCopy the content of file (https://raw.githubusercontent.com/MagePsycho/magento2-warden-aliases/master/src/m2-warden-aliases.sh to your `~/.bash_profile`\n\nOr you can directly copy as\n```\nwget -O - https://raw.githubusercontent.com/MagePsycho/magento2-warden-aliases/master/src/m2-warden-aliases.sh \u003e\u003e ~/.bash_profile\n```\n*Note: Make sure to run this command only once, otherwise it will append the same code again and again*\n\nAfter adding the aliases to the `bash_profile`, you need to reload it\n```\nsource ~/.bash_profile\n```\n\n*If you are using other than `bash` shell, like `zsh`, you can use the similar approach.*\n\n## Aliases\nWith aliases, you don't need to write full `warden` command.\n\n| Category            | Warden Command                                        | Alias Command                       |\n|---------------------|-------------------------------------------------------|-------------------------------------|\n| Magento 2           | `warden shell -c \"bin/magento \u003caction\u003e\"`              | `wm2 \u003caction\u003e`                      |\n| MageRun             | `warden shell -c \"n98-magerun \u003caction\u003e\"`              | `wmr \u003caction\u003e`                      |\n| Redis               | `warden redis \u003caction\u003e`                               | `wrd \u003caction\u003e`                      |\n| Database            | `warden db \u003caction\u003e`                                  | `wdb \u003caction\u003e`                      |\n| Logs                | `warden env logs --tail 0 -f nginx php-fpm php-debug` | `wlg`                               |\n| Shell (`php-fpm`)   | `warden shell`                                        | `wsh`                               |\n| Shell (`php-debug`) | `warden debug`                                        | `wdg`                               |\n| Global Services     | `warden svc \u003caction\u003e`                                 | `wsvc \u003caction\u003e`                     |\n| Global Services     | `warden svc up`                                       | `wsup`                              |\n| Global Services     | `warden svc stop`                                     | `wsst`                              |\n| Environment         | `warden env \u003caction\u003e`                                 | `wenv \u003caction\u003e`                     |\n| Environment         | `warden env up`                                       | `wup`                               |\n| Environment         | `warden env stop`                                     | `wst`                               |\n| Environment Init    | `warden env-init \u003cproject\u003e \u003cenvironment_type\u003e \u0026\u0026 warden sign-certificate \u003cproject\u003e.test`  | `winit \u003cproject\u003e \u003cenvironment_type\u003e`|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagepsycho%2Fmagento2-warden-aliases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagepsycho%2Fmagento2-warden-aliases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagepsycho%2Fmagento2-warden-aliases/lists"}