Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generates Laravel modules

License

NotificationsYou must be signed in to change notification settings

norbybaru/modularize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The package encourage implementation of modular pattern for your Laravel project.You can easily start your modular journey with this simple package and generate only files you need.

A module is like a Laravel package, it has some views, controllers or models.

Installation

Run the following command from your projects root

composerrequire norbybaru/modularize

Configuration

Publish the package configuration using the following command:

php artisan vendor:publish --provider="NorbyBaru\Modularize\ModularizeServiceProvider"

Autoloading

The default namespace is set as Modules this will apply the namespace for all classes the module will use when it's being created and later when generation additional classes.

For autoloading modules, add the following to your composer.json and execute composer dump-autoload:

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

Basic Usage

Create module

Open your terminal and run command to list all possible commands:

php artisan module:make:

Advance Usage

Credits to:

About

Generates Laravel modules

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp