avido/package-generator

Generate Skeleton for Concord Module/Package

Installs: 1 246

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

2.0.2 2025-03-26 08:54 UTC

This package is auto-updated.

Last update: 2025-03-26 08:55:26 UTC


README

All packages are installed in app/Modules/$packageName

Requirements

  • Laravel 11

Installation

composer require avido/package-generator
# Publish concord config file.
php artisan vendor:publish --provider="Konekt\Concord\ConcordServiceProvider" --tag=config

CLI Command

php artisan package:make

follow instructions

# Don't forget to register the Module in config/concord.php

Register installer

ModuleInstallerRegistry::register($moduleName, function() {
    // closure
});

ModuleInstallerRegistry::register($moduleName, MyInstaller::class);

php artisan package:install $moduleName