Download the PHP package mazdel/dayravel without Composer
On this page you can find all versions of the php package mazdel/dayravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package dayravel
Laravel Modular
A Laravel package for scaffolding modules and automatically loading their web and API route files.
Requirements
- PHP 8.4+
- Laravel 11, 12, or 13
Installation
Laravel discovers the package service provider automatically. Publish the configuration before changing the module path or route groups:
This creates config/dayravel.php in your application.
Commands
Create a module
Create a module with both web and API routes:
Create an API-only or web-only module:
By default, a module is created in app/Modules/<ModuleName> with Controllers, Models, Validations, and Routes directories. Web modules also receive a views directory and an index.blade.php view. module:init creates a MainController automatically; use --only-api to create it from the API controller stub.
Generate module classes
All generators require an existing module name as their first argument.
The --api option selects the API stub for controllers, requests, and validations.
Routing and configuration
The package loads each module's Routes/web.php and Routes/api.php files beneath the configured modules path. Web routes use the configured web middleware; API routes use the configured prefix, route-name prefix, and API middleware.
The published config/dayravel.php file contains these defaults:
For example, a route named products.index in a module's API route file is available as api.v1.products.index by default, and its URI starts with /api/v1.
Testing
License
The MIT License (MIT). Please see License File for more information.
All versions of dayravel with dependencies
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
league/flysystem-aws-s3-v3 Version ^3.0