Skip to content

brnbio/laravel-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-modules

Easy and performant module management for laravel.

Installation

composer require brnbio/laravel-modules
php artisan vendor:publish --provider="Brnbio\LaravelModules\ServiceProvider" --tag="config"

Usage

Load module

Add module config to config/modules.php

'foo' => [
    'name' => 'Foobar',
    'namespace' => 'App\Modules\Foobar',
    'enabled' => true,
]

Config options

name Name of the module

namespace Namespace of the module

enabled Enable or disable the module (default: false)

seeder Seeder class name (default: null)

src Path to the module source

About

Easy and performant module management for laravel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages