PHPackages                             accelade/plugins - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. accelade/plugins

ActiveLibrary[Admin Panels](/categories/admin)

accelade/plugins
================

Complete plugin system with generator, management, and auto-discovery for Accelade ecosystem

1.0.0(3mo ago)00MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since Jan 19Pushed 3mo agoCompare

[ Source](https://github.com/accelade/plugins)[ Packagist](https://packagist.org/packages/accelade/plugins)[ Docs](https://github.com/accelade/plugins)[ GitHub Sponsors](https://github.com/fadymondy)[ RSS](/packages/accelade-plugins/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (10)Versions (2)Used By (0)

Accelade Plugins
================

[](#accelade-plugins)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f7a918386ba740ba31dd92c68b9f945b9ce67ac05f1ad5f28a7705dc6926baf4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616363656c6164652f706c7567696e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/accelade/plugins)[![GitHub Tests Action Status](https://camo.githubusercontent.com/0decfa79fca86cc08a1400005c8cac1395701a700c0b12890bc13400ac7d25e3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616363656c6164652f706c7567696e732f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/accelade/plugins/actions?query=workflow%3Atests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/6a3ab6f2f0451cb22ef2c6bd17dea4871b6724fd3ec764d19f4a09708b635a4f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616363656c6164652f706c7567696e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/accelade/plugins)

Complete plugin system with generator, management, and auto-discovery for the Accelade ecosystem.

Features
--------

[](#features)

- **Plugin Generator**: Create new plugin packages with a single command
- **Component Generators**: Generate models, controllers, migrations, and 15+ component types
- **Auto-Discovery**: Automatically discover and register plugins from vendor/ and packages/
- **Lifecycle Management**: Enable/disable plugins, manage dependencies
- **Full Suite**: Testing, GitHub workflows, documentation structure
- **Docs Integration**: Automatic documentation registration with Accelade docs system

Installation
------------

[](#installation)

```
composer require accelade/plugins
```

Quick Start
-----------

[](#quick-start)

### Create a Plugin

[](#create-a-plugin)

```
php artisan accelade:plugin MyAwesomePlugin
```

Follow the interactive prompts to customize your plugin with:

- Plugin class (Accelade integration)
- Database migrations
- Blade views and components
- Web and API routes
- CSS (Tailwind v4) and JS (TypeScript + Vite) assets
- Language files (i18n)
- GitHub workflows and issue templates
- Documentation structure

### Generate Components

[](#generate-components)

```
php artisan accelade:make model User --plugin=my-plugin
php artisan accelade:make controller User --plugin=my-plugin
php artisan accelade:make migration CreateUsersTable --plugin=my-plugin
```

Available Component Types
-------------------------

[](#available-component-types)

TypeDescription`model`Eloquent model`controller`HTTP controller with CRUD methods`migration`Database migration`command`Artisan console command`job`Queueable job`event`Event class`listener`Event listener`notification`Notification class`request`Form request validation`resource`API resource`middleware`HTTP middleware`policy`Authorization policy`rule`Validation rule`component`Blade component`test`Pest test`factory`Model factory`seeder`Database seeder`view`Blade viewPlugin Structure
----------------

[](#plugin-structure)

```
my-plugin/
├── src/
│   ├── MyPluginPlugin.php
│   ├── MyPluginServiceProvider.php
│   └── Commands/
├── config/
├── resources/
│   ├── views/
│   └── lang/
├── routes/
├── tests/
├── docs/
└── composer.json

```

Configuration
-------------

[](#configuration)

Publish the configuration:

```
php artisan vendor:publish --tag=accelade-plugins-config
```

### Configuration Options

[](#configuration-options)

```
// config/accelade-plugins.php
return [
    'discovery' => [
        'enabled' => true,  // Enable auto-discovery
        'cache' => true,    // Cache discovered plugins
    ],
    'paths' => [
        base_path('packages'),  // Paths to scan for plugins
    ],
    'defaults' => [
        'vendor' => 'accelade',
        'author' => 'Your Name',
        'email' => 'your@email.com',
        'license' => 'MIT',
    ],
];
```

Plugin API
----------

[](#plugin-api)

```
use Accelade\Plugins\Facades\Plugins;

// Get all plugins
Plugins::all();

// Get enabled plugins
Plugins::enabled();

// Check if plugin exists
Plugins::has('my-plugin');

// Get plugin instance
$plugin = Plugins::get('my-plugin');

// Enable/disable
Plugins::enablePlugin('my-plugin');
Plugins::disablePlugin('my-plugin');

// Discover plugins manually
Plugins::discover();
```

Documentation
-------------

[](#documentation)

The package includes comprehensive documentation:

- [Getting Started](docs/getting-started.md) - Installation and basic usage
- [Creating Plugins](docs/creating-plugins.md) - Detailed guide on creating plugins
- [Component Generators](docs/components.md) - All available component generators

### Docs Integration

[](#docs-integration)

Plugins automatically register their documentation with the Accelade docs system via the service provider:

```
// In your plugin's ServiceProvider
protected function registerDocs(): void
{
    if (! $this->app->bound('accelade.docs')) {
        return;
    }

    $docs = $this->app->make('accelade.docs');

    // Register package path
    $docs->registerPackage('my-plugin', __DIR__.'/../docs');

    // Register navigation group
    $docs->registerGroup('my-plugin', 'My Plugin', 'icon-name', 50);

    // Register sections
    $docs->section('my-plugin-overview')
        ->label('Overview')
        ->markdown('overview.md')
        ->inGroup('my-plugin')
        ->register();
}
```

Testing
-------

[](#testing)

```
# Run tests
composer test

# Run tests with coverage
composer test:coverage

# Run code formatter
composer format

# Run mago linter
composer mago

# Run static analysis
composer analyse
```

Credits
-------

[](#credits)

- [Fady Mondy](https://github.com/fadymondy)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance78

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

119d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2147eb2fca7ab5f0124d0fafd88ba2d2a5dfa3a0036fb8872d1084b7cba29366?d=identicon)[fadymondy](/maintainers/fadymondy)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (7 commits)")

---

Tags

laravelpackagegeneratorscaffoldpluginsadminpanelaccelade

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/accelade-plugins/health.svg)

```
[![Health](https://phpackages.com/badges/accelade-plugins/health.svg)](https://phpackages.com/packages/accelade-plugins)
```

###  Alternatives

[lokielse/laravel-admin-generator

An Admin Panel Generator for Laravel 5

712.0k](/packages/lokielse-laravel-admin-generator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
