Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/element119/module-store-entity-creator
A Magento 2 CLI utility to allow developers to create new websites, stores, and store views.
https://github.com/element119/module-store-entity-creator
magento2 utility
Last synced: 3 months ago
JSON representation
A Magento 2 CLI utility to allow developers to create new websites, stores, and store views.
- Host: GitHub
- URL: https://github.com/element119/module-store-entity-creator
- Owner: element119
- License: mit
- Created: 2024-08-09T08:30:58.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-08-12T12:50:32.000Z (6 months ago)
- Last Synced: 2024-10-12T06:24:11.789Z (4 months ago)
- Topics: magento2, utility
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 18
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
element119 | Store Entity Creator
## 📝 Features
✔️ Create store entities (websites, stores, and store views) using the Magento CLI✔️ Theme agnostic
✔️ Built in accordance with Magento best practises
✔️ Seamless integration with Magento
✔️ Built with developers and extensibility in mind to make customisations as easy as possible
✔️ Installable via Composer
## 🔌 Installation
Run the following command to *install* this module:
```bash
composer require element119/module-store-entity-creator
php bin/magento setup:upgrade
```
## ⏫ Updating
Run the following command to *update* this module:
```bash
composer update element119/module-store-entity-creator
php bin/magento setup:upgrade
```
## ❌ Uninstallation
Run the following command to *uninstall* this module:
```bash
composer remove element119/module-store-entity-creator
php bin/magento setup:upgrade
```
## 📚 User Guide
### Website Creation - `app:website:create`
```
Description:
Create a new website.Usage:
app:website:create [options] [--]
Arguments:
code New website code.
name New website name.Options:
--default-store-id=DEFAULT-STORE-ID Default store ID for new website.
--sort-order=SORT-ORDER New website sort order.
--is-default Sets the new website as the default website.
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```### Store Creation - `app:store:create`
```
Description:
Create a new store.Usage:
app:store:create [options] [--]
Arguments:
code New store code.
name New store name.
website_id ID of the website to add the new store to.
root_category_id New store root category ID.Options:
--default-store-view-id=DEFAULT-STORE-VIEW-ID Default store view ID for new store.
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```### Store View Creation - `app:store-view:create`
```
Description:
Create a new store view.Usage:
app:store-view:create [options] [--]
Arguments:
code New store view code.
name New store view name.
store_id ID of the store to add the new store view to.Options:
--disabled Disable the new store view.
--sort-order=SORT-ORDER New store view sort order.
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```