Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/GrimLink/mage
Helper for bin/magento commands
https://github.com/GrimLink/mage
bash-script magento2
Last synced: 19 days ago
JSON representation
Helper for bin/magento commands
- Host: GitHub
- URL: https://github.com/GrimLink/mage
- Owner: GrimLink
- License: mit
- Created: 2019-06-10T17:45:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T09:54:58.000Z (about 1 month ago)
- Last Synced: 2024-11-16T08:33:59.593Z (27 days ago)
- Topics: bash-script, magento2
- Language: Shell
- Homepage:
- Size: 194 KB
- Stars: 10
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-magento2 - Mage - Simplifies bin/magento commands by adding helpful shortcuts and time-saving tools to enhance your productivity. (Tools / Meet Magento)
- awesome-magento2 - Mage - Simplifies bin/magento commands by adding helpful shortcuts and time-saving tools to enhance your productivity. (Tools / Meet Magento)
- trackawesomelist - Mage (⭐10) - Simplifies bin/magento commands by adding helpful shortcuts and time-saving tools to enhance your productivity. (Recently Updated / [Nov 22, 2024](/content/2024/11/22/README.md))
README
# Mage
**Mage** is a simple tool built on top of `bin/magento` to enhance your Magento 2 development experience. It provides shortcuts and custom functions to save you time and effort.
## Benefits of Using Mage
* **Easier commands:** Mage introduces shorter aliases for common `bin/magento` commands, saving you keystrokes.
* **Custom functions:** Mage offers helper commands like `reindex` and `purge` for specific tasks.
* **Open stores quickly:** Open your default store or specific store views with `mage open`.
* **Efficient development:** The `watch` command automates cache cleaning on file changes, improving your workflow.## Installation
Download the script:
```bash
wget https://raw.githubusercontent.com/GrimLink/mage/main/mage && chmod +x mage
```Alternatively, use curl:
```bash
curl -O https://raw.githubusercontent.com/GrimLink/mage/main/mage && chmod +x mage
```## Available Commands
For a complete list, run `mage help`. Here are some highlights:
* **`mage open [storeview]`:** Open your default store or a specific store based on the `storeview` name. You can also use `admin` instead of `storeview`, to open the admin panel.
* **`mage watch`:** This alias for [mage2tv Cache Clean] monitors for Magento 2 file changes and clears only the affected cache, streamlining development.
* **`mage purge`:** This command clears all static generated files and caches, useful for troubleshooting or forcing a hard reload.
* **`mage set mage-os`:** Easily replace Magento2 distro with the Mage-OS distro
* **`mage outdated`:** Show all direct outdated composer dependencies**Note:**
* `mage run` requires the [n98-magerun2] module
* Commands with "hyva" require a [Hyvä license] or GitLab access
* `set theme` and `set hyva` requires the [Yireo_ThemeCommands] module
* `set baldr` requires the [Siteation] Baldr Theme### Supported Platforms
Mage works without additional configuration on:
* **macOS**
* **Most Linux platforms**
* **[Laravel Valet]**
* **[Warden]:** Supported with thanks to [@tdgroot](https://github.com/tdgroot)## Contributing
We welcome contributions to Mage! Fork the repository, make your changes, and submit a pull request.
## License
Mage is licensed under the MIT License. See the LICENSE file for details.
[n98-magerun2]: https://github.com/netz98/n98-magerun2
[Hyvä license]: https://www.hyva.io/hyva-themes-license.html
[Yireo_ThemeCommands]: https://github.com/yireo/Yireo_ThemeCommands
[mage2tv Cache Clean]: https://github.com/mage2tv/magento-cache-clean
[Laravel Valet]: https://laravel.com/docs/valet
[Warden]: https://github.com/wardenenv/warden
[Siteation]: https://siteation.dev/