|
1 | | -# Fantastico Licensing Class |
| 1 | +# Fantastico Licensing Plugin for MyAdmin |
2 | 2 |
|
3 | | -Fantastico Licensing Class |
| 3 | +[](https://github.com/detain/myadmin-fantastico-licensing/actions/workflows/tests.yml) |
| 4 | +[](https://packagist.org/packages/detain/myadmin-fantastico-licensing) |
| 5 | +[](https://packagist.org/packages/detain/myadmin-fantastico-licensing) |
| 6 | +[](https://packagist.org/packages/detain/myadmin-fantastico-licensing) |
4 | 7 |
|
5 | | -## Build Status and Code Analysis |
| 8 | +A MyAdmin plugin that provides Fantastico licensing integration. Enables purchasing, activation, IP management, and administration of Fantastico server and VPS license types through the MyAdmin platform. |
6 | 9 |
|
7 | | -Site | Status |
8 | | ---------------|--------------------------- |
9 | | - | [](https://travis-ci.org/detain/myadmin-fantastico-licensing) |
10 | | - | [](https://codeclimate.com/github/detain/myadmin-fantastico-licensing) [](https://codeclimate.com/github/detain/myadmin-fantastico-licensing/coverage) [](https://codeclimate.com/github/detain/myadmin-fantastico-licensing) |
11 | | - | [](https://scrutinizer-ci.com/g/myadmin-plugins/fantastico-licensing/?branch=master) [](https://scrutinizer-ci.com/g/myadmin-plugins/fantastico-licensing/?branch=master) [](https://scrutinizer-ci.com/g/myadmin-plugins/fantastico-licensing/build-status/master) |
12 | | - | [](https://www.codacy.com/app/detain/myadmin-fantastico-licensing) [](https://www.codacy.com/app/detain/myadmin-fantastico-licensing?utm_source=github.com&utm_medium=referral&utm_content=detain/myadmin-fantastico-licensing&utm_campaign=Badge_Coverage) |
13 | | - | [](https://coveralls.io/github/detain/myadmin-fantastico-licensing?branch=master) |
14 | | - | [](https://packagist.org/packages/detain/myadmin-fantastico-licensing) [](https://packagist.org/packages/detain/myadmin-fantastico-licensing) [](//packagist.org/packages/detain/myadmin-fantastico-licensing) [](https://packagist.org/packages/detain/myadmin-fantastico-licensing) [](https://packagist.org/packages/detain/myadmin-fantastico-licensing) [](https://packagist.org/packages/detain/myadmin-fantastico-licensing) |
| 10 | +## Features |
15 | 11 |
|
| 12 | +- Sell Fantastico licenses for dedicated servers and VPS instances |
| 13 | +- Activate and reactivate licenses with automatic IP assignment |
| 14 | +- Change IP addresses on existing licenses |
| 15 | +- Reuse canceled or expired licenses for cost optimization |
| 16 | +- Admin interface for license management and reporting |
| 17 | +- Integration with Symfony EventDispatcher for hook-based architecture |
16 | 18 |
|
17 | | -## Installation |
| 19 | +## Requirements |
| 20 | + |
| 21 | +- PHP >= 5.0 |
| 22 | +- ext-soap |
| 23 | +- Symfony EventDispatcher ^5.0 |
| 24 | +- detain/fantastico-licensing |
18 | 25 |
|
19 | | -Install with composer like |
| 26 | +## Installation |
20 | 27 |
|
21 | 28 | ```sh |
22 | 29 | composer require detain/myadmin-fantastico-licensing |
23 | 30 | ``` |
24 | 31 |
|
25 | | -## License |
| 32 | +## Usage |
| 33 | + |
| 34 | +The plugin registers event hooks automatically when loaded by the MyAdmin plugin system. It handles: |
| 35 | + |
| 36 | +- `function.requirements` - Registers page and function requirements |
| 37 | +- `licenses.settings` - Provides admin settings for Fantastico credentials |
| 38 | +- `licenses.activate` / `licenses.reactivate` - Handles license activation |
| 39 | +- `licenses.change_ip` - Manages IP address changes |
| 40 | +- `ui.menu` - Adds admin menu entries |
26 | 41 |
|
27 | | -The Fantastico Licensing Class class is licensed under the LGPL-v2.1 license. |
| 42 | +## Running Tests |
| 43 | + |
| 44 | +```sh |
| 45 | +composer install |
| 46 | +vendor/bin/phpunit |
| 47 | +``` |
| 48 | + |
| 49 | +## License |
28 | 50 |
|
| 51 | +The Fantastico Licensing Plugin is licensed under the LGPL-2.1 license. |
0 commit comments