Skip to content

`webtack/lara-modules` is a Laravel package which created to manage your large Laravel app using modules.

License

Notifications You must be signed in to change notification settings

webtack/lara-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lara-modules

webtack/lara-modules is a Laravel package which created to manage your Laravel app using modules.

Install

To install through Composer, by run the following command:

composer require webtack/lara-modules

Autoloading

By default the module classes are not loaded automatically. You can autoload your modules using psr-4. For example:

{
  "autoload": {
    "psr-4": {
      "App\\": "app/",
      "Modules\\": "modules/"
    }
  }
}

Add Service Provider

Add this service provider to your config/app.php file.

Webtack\Modules\ModulesServiceProvider::class

If the loader still does not see your modules, run the command

composer dump-autoload

Artisan

vendor:publish

Artisan command to Publish any publishable assets from vendor packages (Required to get Laravel Packages working!).

php artisan vendor:publish --provider="Webtack\Modules\ModulesServiceProvider" 

Test Module

Click here

http://localhost/path/to/project/test
http://localhost/path/to/project/api/test
to test the module's functionality

License

The MIT License (MIT). Please see License File for more information.

About

`webtack/lara-modules` is a Laravel package which created to manage your large Laravel app using modules.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •