minionfactory / module-factory
My implementation of modules within Laravel.
Installs: 17 363
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 6
Type:package
Requires
- php: ^8.1
- laravel/framework: ^8.0|^9.0|^10.0
- dev-master
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.2.1
- v1.2.0
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- dev-dependabot/composer/nesbot/carbon-2.72.6
- dev-dependabot/composer/league/commonmark-2.6.0
- dev-dependabot/composer/symfony/var-dumper-6.4.15
- dev-dependabot/composer/laravel/framework-9.52.17
- dev-dependabot/composer/symfony/http-foundation-6.4.14
- dev-dependabot/composer/symfony/process-6.4.14
- dev-develop
This package is auto-updated.
Last update: 2025-01-09 01:17:31 UTC
README
Introduction
Module Factory is a simple package to organize Laravel into modules. It's fine for small projects but large projects can get unwieldy with the number of files. This package allows you to structure the files into modules with a similar folder layout as Laravel itself.
app
-Http
-Modules
-FullComponent
-Config
setup.php
-Controllers
PageController.php
AdminController.php
-Events
-Listeners
PageSave.php
-Policies
PagePolicy.php
-Routes
web.php
api.php
-Shortcodes (optional)
page-list.php
-Views
page.blade.php
index.blade.php
-PartialComponent
-Controllers
ShortcodeController.php
-Shortcodes (optional)
just-shortcode.php
-Views
list.blade.php
In the above example, ShortcodeController should have the following namespace:
namespace App\Modules\PartialComponent\Controllers;