Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-08-21 (18 days ago) ![]() | Not yet rated by the users | Total: 9 This week: 8 | All time: 11,404 This week: 6![]() |
Version | License | PHP version | Categories | |||
laravel-make-extende 1.0.0 | Custom (specified... | 7 | Libraries, Project Management, Code G..., P... |
Description | Authors Dipesh Sukhia Contributor | |||
This package can generate files to use in Laravel applications. Innovation Award
|
This package helps to generate and autoload custom helpers, It can generate multilevel helpers in the context of the directory.
You can install the package via composer:
composer require limewell/laravel-make-extender
Generate UserHelper.php under App/Helpers directory
php artisan make:helper UserHelper
Generate Module/UserHelper.php under App/Helpers/Module directory
php artisan make:helper Module/UserHelper
Generate UserService.php under App/Services directory
php artisan make:service UserService
(new UserService())->handle();
Generate invokable UserService.php under App/Services directory
php artisan make:service UserService --invokable
(new UserService())();
Generate UserTrait.php under App/Traits directory
php artisan make:trait UserTrait
Generate bootable UserTrait.php under App/Traits directory
php artisan make:trait UserTrait --bootable
Generate UserScope.php under App/Scopes directory
php artisan make:scope UserScope
see document here for how to use global scopes
Generate JsonCast.php under App/Casts directory
php artisan make:cast JsonCast
see document here for how to use Custom Casts
Generate toUpper.php under App/Macros directory
php artisan make:macro toUpper
see document here for how to use Macro
Generate config file for register view composers
php artisan vendor:publish --provider="Limewell\LaravelMakeExtender\LaravelMakeExtenderServiceProvider" --tag="config"
Generate view composers class
php artisan make:composer MovieComposer
Register view composers Edit config (config/viewcomposers.php)
use App\ViewComposers\MovieComposer;
return [
MovieComposer::class => [
'view1','view2'
],
];
see document here for how to use View Composers
php artisan vendor:publish --provider="Limewell\LaravelMakeExtender\LaravelMakeExtenderServiceProvider" --tag="stubs"
This will export stubs into /stubs/vendor/laravel-make-extender for customization
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Doc. | Documentation |
![]() |
/ | config |
File | Role | Description |
---|---|---|
![]() ![]() |
Aux. | Configuration script |
![]() ![]() |
Aux. | Configuration script |
![]() |
/ | src |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
Class | Class source |
![]() |
/ | src | / | Console | / | Commands |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
/ | stubs |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Example | Example script |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.