Skip to content

Commit e60b0ad

Browse files
committed
Initial module structure
1 parent febfb2d commit e60b0ad

File tree

5 files changed

+130
-2
lines changed

5 files changed

+130
-2
lines changed

.gitignore

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# These are some examples of commonly ignored file patterns.
2+
# You should customize this list as applicable to your project.
3+
# Learn more about .gitignore:
4+
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
5+
6+
# Node artifact files
7+
node_modules/
8+
dist/
9+
10+
# Composer artifact files
11+
vendor/
12+
composer.lock
13+
14+
# Compiled Java class files
15+
*.class
16+
17+
# Compiled Python bytecode
18+
*.py[cod]
19+
20+
# Log files
21+
*.log
22+
23+
# Package files
24+
*.jar
25+
26+
# Maven
27+
target/
28+
dist/
29+
30+
# JetBrains IDE
31+
.idea/
32+
33+
# Unit test reports
34+
TEST*.xml
35+
36+
# Generated by MacOS
37+
.DS_Store
38+
39+
# Generated by Windows
40+
Thumbs.db
41+
42+
# Applications
43+
*.app
44+
*.exe
45+
*.war
46+
47+
# Large media files
48+
*.mp4
49+
*.tiff
50+
*.avi
51+
*.flv
52+
*.mov
53+
*.wmv

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1-
# mageos-async-events-admin-ui
2-
Add event subscriptions for the Mage-OS Async Events module via an admin form instead of using REST requests
1+
# Mage-OS Asynchronous Events Admin Ui
2+
3+
Add event subscriptions for the Mage-OS Async Events module via an admin form instead of using REST requests.
4+
5+
This module enhances the [Mage-OS Asynchronous Events](https://github.com/mage-os/mageos-async-events/) module.
6+
7+
## Installation
8+
9+
```
10+
composer require mage-os/mageos-async-events-admin-ui
11+
```
12+
13+
If you run into an error like "Could not find a version of package mage-os/mageos-async-events-admin-ui matching your minimum-stability (stable).", run this command instead:
14+
```
15+
composer require mage-os/mageos-async-events-admin-ui
16+
```
17+
18+
Enable and install the module:
19+
```
20+
bin/magento setup:upgrade
21+
```
22+
23+
## Usage
24+

composer.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "mage-os/mageos-async-events-admin-ui",
3+
"description": "Add event subscriptions for the Mage-OS Async Events module via an admin form instead of using REST requests.",
4+
"type": "magento2-module",
5+
"require": {
6+
"php": ">=7.4",
7+
"magento/framework": "*",
8+
"mage-os/mageos-async-events": "*"
9+
},
10+
"repositories": [
11+
{
12+
"type": "composer",
13+
"url": "https://repo.magento.com/"
14+
}
15+
],
16+
"require-dev": {
17+
"squizlabs/php_codesniffer": "~3.5",
18+
"magento/magento-coding-standard": "*"
19+
},
20+
"license": [
21+
"GPL-3.0-only"
22+
],
23+
"autoload": {
24+
"files": [
25+
"registration.php"
26+
],
27+
"psr-4": {
28+
"MageOS\\AsyncEventsAdminUi\\": ""
29+
}
30+
},
31+
"scripts": {
32+
"post-install-cmd": [
33+
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)"
34+
],
35+
"post-update-cmd": [
36+
"([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)"
37+
]
38+
}
39+
}

etc/module.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0"?>
2+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
4+
<module name="MageOS_AsyncEventsAdminUi">
5+
<sequence>
6+
<module name="MageOS_AsyncEvents"/>
7+
</sequence>
8+
</module>
9+
</config>

registration.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
use Magento\Framework\Component\ComponentRegistrar;
4+
5+
ComponentRegistrar::register(ComponentRegistrar::MODULE, 'MageOS_AsyncEventsAdminUi', __DIR__);

0 commit comments

Comments
 (0)