|
1 | | -# Composer backed plugin handler and installer for MyAdmin |
| 1 | +# MyAdmin Plugin Installer |
2 | 2 |
|
3 | | -Composer backed plugin handler and installer for MyAdmin |
| 3 | +[](https://github.com/detain/myadmin-plugin-installer/actions/workflows/tests.yml) |
| 4 | +[](https://packagist.org/packages/detain/myadmin-plugin-installer) |
| 5 | +[](https://packagist.org/packages/detain/myadmin-plugin-installer) |
| 6 | +[](https://packagist.org/packages/detain/myadmin-plugin-installer) |
4 | 7 |
|
5 | | -## Build Status and Code Analysis |
| 8 | +A Composer plugin that provides custom installer logic for the MyAdmin hosting control panel ecosystem. It routes packages to the correct installation directories based on their type and exposes a set of Composer commands for project management tasks. |
6 | 9 |
|
7 | | -Site | Status |
8 | | ---------------|--------------------------- |
9 | | - | [](https://travis-ci.org/interserver/myadmin-plugin-installer) |
10 | | - | [](https://codeclimate.com/github/detain/myadmin-plugin-installer) [](https://codeclimate.com/github/detain/myadmin-plugin-installer/coverage) [](https://codeclimate.com/github/detain/myadmin-plugin-installer) |
11 | | - | [](https://scrutinizer-ci.com/g/interserver/myadmin-plugin-installer/?branch=master) [](https://scrutinizer-ci.com/g/interserver/myadmin-plugin-installer/?branch=master) [](https://scrutinizer-ci.com/g/interserver/myadmin-plugin-installer/build-status/master) |
12 | | - | [](https://www.codacy.com/app/detain/myadmin-plugin-installer) [](https://www.codacy.com/app/detain/myadmin-plugin-installer?utm_source=github.com&utm_medium=referral&utm_content=detain/myadmin-plugin-installer&utm_campaign=Badge_Coverage) |
13 | | - | [](https://coveralls.io/github/detain/myadmin-plugin-installer?branch=master) |
14 | | - | [](https://packagist.org/packages/detain/myadmin-plugin-installer) [](https://packagist.org/packages/detain/myadmin-plugin-installer) [](//packagist.org/packages/detain/myadmin-plugin-installer) [](https://packagist.org/packages/detain/myadmin-plugin-installer) [](https://packagist.org/packages/detain/myadmin-plugin-installer) [](https://packagist.org/packages/detain/myadmin-plugin-installer) |
| 10 | +## Supported Package Types |
15 | 11 |
|
| 12 | +| Type | Description | |
| 13 | +|--------------------|----------------------------------------| |
| 14 | +| `myadmin-template` | Frontend templates (installed to `data/templates/`) | |
| 15 | +| `myadmin-module` | Service modules | |
| 16 | +| `myadmin-plugin` | Feature plugins | |
| 17 | +| `myadmin-menu` | Menu extensions | |
16 | 18 |
|
17 | | -## Installation |
| 19 | +## Composer Commands |
| 20 | + |
| 21 | +| Command | Description | |
| 22 | +|----------------------------|--------------------------------------------------| |
| 23 | +| `myadmin` | Base MyAdmin command | |
| 24 | +| `myadmin:parse` | Parse PHP DocBlocks for API documentation | |
| 25 | +| `myadmin:create-user` | Create a new MyAdmin user | |
| 26 | +| `myadmin:update-plugins` | Discover and cache available plugins | |
| 27 | +| `myadmin:set-permissions` | Set writable permissions on configured directories | |
18 | 28 |
|
19 | | -Install with composer like |
| 29 | +## Installation |
20 | 30 |
|
21 | 31 | ```sh |
22 | 32 | composer require detain/myadmin-plugin-installer |
23 | 33 | ``` |
24 | 34 |
|
25 | | -## License |
| 35 | +## Requirements |
| 36 | + |
| 37 | +- PHP 8.2 or later |
| 38 | +- Composer 2.x |
26 | 39 |
|
27 | | -The Composer backed plugin handler and installer for MyAdmin class is licensed under the LGPL-v2.1 license. |
| 40 | +## Running Tests |
| 41 | + |
| 42 | +```sh |
| 43 | +composer install |
| 44 | +vendor/bin/phpunit |
| 45 | +``` |
| 46 | + |
| 47 | +## License |
28 | 48 |
|
| 49 | +This package is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. |
0 commit comments