caiocesar173 / custom-api-modules-laravel
Custom Api Modules management | Based on modules-laravel
dev-main
2022-12-13 15:24 UTC
Requires
- php: >=7.3
- ext-json: *
- caiocesar173/laravel-utils: dev-main
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- laravel/framework: ^8.0
- mockery/mockery: ~1.0
- orchestra/testbench: ^6.2
- phpstan/phpstan: ^0.12.14
- phpunit/phpunit: ^8.5
- spatie/phpunit-snapshot-assertions: ^2.1.0|^4.2
- dev-main
- dev-fix/route-provider/stub
- dev-fix/repository/stub
- dev-update/commands/include-views
- dev-fix/model/stub
- dev-fix/migration/stubs
- dev-update/classes/refactoring
- dev-update/general/stable-package
- dev-update/documentation/instalation-guide
- dev-update/docs/repository
- dev-update/routes/changing-auth
- dev-update/routes/removing-autolog
- dev-fix/routes-permission/block-audit
- dev-fix/stub/provider
- dev-fix/rotues/auto-generate-name
- dev-fix/permissions-routes/creation-and-seeding
- dev-update/composer
- dev-fix/migrations-returns
- dev-create/make-repository-eloquent
- dev-fix/composer/project-name
- dev-create/basic-package
This package is auto-updated.
Last update: 2025-03-13 20:35:57 UTC
README
Laravel Modules
This is a Laravel package which created to manage your large Laravel app using modules. The modules in this package are made for API services. This package is based uppon, laravel-modules.
Install
To install through Composer, by run the following command:
composer require caiocesar173/custom-api-modules-laravel
The package will automatically register a service provider and alias.
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/", "Database\\Factories\\": "database/factories/", "Database\\Seeders\\": "database/seeders/" } }
Tip: don't forget to run composer dump-autoload
afterwards.
Documentation
You'll find installation instructions and full documentation on https://docs.laravelmodules.com/.