Skip to content

Commit b194357

Browse files
committed
Add composer.json
1 parent 6e07d08 commit b194357

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,22 @@ Magento 2 plugin for hide *Default Store Code* from URL.
1010

1111
## Installation
1212

13+
### manual
14+
1315
1. Download ZIP file and extract to **app/code/Noon/HideDefaultStoreCode**. If this path not exists, please create under Magento2 root directory.
1416
2. Run the command in Magento2 root directory:
1517

1618
```bash
1719
php bin/magento setup:upgrade
1820
```
1921

22+
### composer
23+
24+
```
25+
composer config repositories.noon-hide-default-store-code git https://github.com/alex-79/magento2-hide-default-store-code-from-url.git
26+
composer require noon/hide-default-store-code:dev-master
27+
```
28+
2029
## Configuration
2130

2231
*Stores > Configuration > General > Web > Url Options > Hide Default Store Code*

composer.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "noon/hide-default-store-code",
3+
"description": "Magento 2 module for hide Default Store Code",
4+
"require": {
5+
"magento/magento-composer-installer": "*"
6+
},
7+
"type": "magento2-module",
8+
"version": "1.0.0",
9+
"autoload": {
10+
"files": [
11+
"registration.php"
12+
],
13+
"psr-4": {
14+
"Noon\\HideDefaultStoreCode\\": ""
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)