Skip to content

Commit 9d3bedd

Browse files
committed
Initial commit
0 parents  commit 9d3bedd

22 files changed

+741
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Generates Administration Module Structure
2+
3+
![Generates Administration Module Structure](module-generator.jpg)
4+
5+
### Installation
6+
7+
- `composer require allekslar/module-generator`
8+
- `bin/console plugin:refresh`
9+
- `bin/console plugin:install --activate --clearCache AllekslarModuleGenerator`
10+
11+
### Commands
12+
The first parameter accepts the name of the plugin for which the scaffolding should be generated.
13+
14+
The second parameter accepts the name of the module.
15+
16+
- `bin/console allekslar:generate:module <pluginName> <moduleName>`
17+
18+
or
19+
20+
- `bin/console allekslar:generate:module` requests options interactively

composer.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "allekslar/module-generator",
3+
"description": "Creates the structure for new administration module",
4+
"type": "shopware-platform-plugin",
5+
"version": "1.0.0",
6+
"license": "MIT",
7+
"authors": [
8+
{
9+
"name": "allekslar"
10+
}
11+
],
12+
"autoload": {
13+
"psr-4": {
14+
"AllekslarModuleGenerator\\": "src/"
15+
}
16+
},
17+
"extra": {
18+
"shopware-plugin-class": "AllekslarModuleGenerator\\AllekslarModuleGenerator",
19+
"label": {
20+
"de-DE": "Administrations modul-generator Shopware 6",
21+
"en-GB": "administration module-generator Shopware 6"
22+
},
23+
"description": {
24+
"de-DE": "Erstellt die Struktur für das neue Administrationsmodul Shopware 6",
25+
"en-GB": "Creates the structure for new administration module Shopware 6 "
26+
},
27+
"supportLink": {
28+
"de-DE": "https://github.com/Allekslar",
29+
"en-GB": "https://github.com/Allekslar"
30+
}
31+
}
32+
}

module-generator.jpg

118 KB
Loading

src/AllekslarModuleGenerator.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php declare(strict_types=1);
2+
3+
namespace AllekslarModuleGenerator;
4+
5+
use Shopware\Core\Framework\Plugin;
6+
7+
class AllekslarModuleGenerator extends Plugin
8+
{
9+
}

0 commit comments

Comments
 (0)