Skip to content

Commit fb92df2

Browse files
committed
Initial Commit
0 parents  commit fb92df2

File tree

5 files changed

+77
-0
lines changed

5 files changed

+77
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.idea
2+
.DS_Store

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# {{MODULE NAME}}
2+
3+
{{Some description here}}
4+
5+
## Installation
6+
7+
```
8+
$ composer require "staempfli/magento2-module-{{modulename}}":"dev-master"
9+
```
10+
11+
## Prerequisites
12+
13+
- PHP >= 7.0.*
14+
- Magento >= 2.0.*

composer.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "staempfli/magento2-module-modulename",
3+
"description": "{{Some description here}}",
4+
"require": {
5+
"php": "~7.0.0"
6+
},
7+
"type": "magento2-module",
8+
"license": [
9+
"OSL-3.0",
10+
"AFL-3.0"
11+
],
12+
"authors": [
13+
{
14+
"name": "Name Lastname",
15+
"email": "name.lastname@staempfli.com"
16+
}
17+
],
18+
"autoload": {
19+
"files": [
20+
"registration.php"
21+
],
22+
"psr-4": {
23+
"Staempfli\\ModuleName\\": ""
24+
}
25+
}
26+
}

grumphp.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
parameters:
2+
git_dir: .
3+
bin_dir: ../../../../bin
4+
tasks:
5+
phpcsfixer:
6+
config_file: .
7+
config: default
8+
fixers: [-psr0]
9+
level: psr2
10+
verbose: true
11+
composer:
12+
file: ./composer.json
13+
no_check_all: false
14+
no_check_lock: false
15+
no_check_publish: false
16+
with_dependencies: false
17+
strict: false
18+
git_blacklist:
19+
keywords:
20+
- "die("
21+
- "var_dump("
22+
- "exit;"
23+
- "console.log("
24+
phpcs:
25+
standard: "../../magento-ecg/coding-standard/EcgM2/"
26+
show_warnings: true
27+
tab_width: 4
28+
ignore_patterns: [test]
29+
sniffs: []

registration.php

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
\Magento\Framework\Component\ComponentRegistrar::register(
3+
\Magento\Framework\Component\ComponentRegistrar::MODULE,
4+
'Staempfli_ModuleName',
5+
__DIR__
6+
);

0 commit comments

Comments
 (0)