Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Allekslar committed Feb 9, 2022
0 parents commit 9d3bedd
Show file tree
Hide file tree
Showing 22 changed files with 741 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generates Administration Module Structure

![Generates Administration Module Structure](module-generator.jpg)

### Installation

- `composer require allekslar/module-generator`
- `bin/console plugin:refresh`
- `bin/console plugin:install --activate --clearCache AllekslarModuleGenerator`

### Commands
The first parameter accepts the name of the plugin for which the scaffolding should be generated.

The second parameter accepts the name of the module.

- `bin/console allekslar:generate:module <pluginName> <moduleName>`

or

- `bin/console allekslar:generate:module` requests options interactively
32 changes: 32 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "allekslar/module-generator",
"description": "Creates the structure for new administration module",
"type": "shopware-platform-plugin",
"version": "1.0.0",
"license": "MIT",
"authors": [
{
"name": "allekslar"
}
],
"autoload": {
"psr-4": {
"AllekslarModuleGenerator\\": "src/"
}
},
"extra": {
"shopware-plugin-class": "AllekslarModuleGenerator\\AllekslarModuleGenerator",
"label": {
"de-DE": "Administrations modul-generator Shopware 6",
"en-GB": "administration module-generator Shopware 6"
},
"description": {
"de-DE": "Erstellt die Struktur für das neue Administrationsmodul Shopware 6",
"en-GB": "Creates the structure for new administration module Shopware 6 "
},
"supportLink": {
"de-DE": "https://github.com/Allekslar",
"en-GB": "https://github.com/Allekslar"
}
}
}
Binary file added module-generator.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/AllekslarModuleGenerator.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php declare(strict_types=1);

namespace AllekslarModuleGenerator;

use Shopware\Core\Framework\Plugin;

class AllekslarModuleGenerator extends Plugin
{
}
Loading

0 comments on commit 9d3bedd

Please sign in to comment.