determined-development / laradev
A collection of Laravel development helpers and utilities
Requires
- php: ^8.3
- illuminate/support: ^12.0|^13.0
Requires (Dev)
- larastan/larastan: ^3.9
- laravel/pint: ^1.29
- mockery/mockery: ^1.6
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^4.0
- squizlabs/php_codesniffer: ^4.0
Suggests
- determined-development/dd-boost: Laravel boost helpers.
This package is auto-updated.
Last update: 2026-05-15 05:53:27 UTC
README
A collection of Laravel development helpers and utilities.
Installation
composer require --dev determined-development/laradev
Usage
make:facade
You can use this utility to make facades for services in your application. The facade accessor will be guessed from the name of the facade, or can be set explicitly with the --accessor or --target options. If the accessor, target, or detected service is a class, then a mixin will be added for PHPStan/IDE hinting.
php artisan make:facade Foo INFO Facade [app/Support/Facades/Foo.php] created successfully php artisan make:facade Foo/Bar --accessor='App\Services\FooBarService' INFO Facade [app/Support/Facades/Foo/Bar.php] created successfully php artisan make:facade Fizz/Buzz --accessor='fizzbuzz' --target='App\Services\FizzBuzzService' INFO Facade [app/Support/Facades/Fizz/Buzz.php] created successfully
make:service
You can use this utility to make services in your application. You can pass --facade to also generate a matching facade. If you don't set the value, it will name the Facade automatically based on the service name.
php artisan make:service Foo INFO Service [app/Services/Foo.php] created successfully php artisan make:service FooService --facade INFO Service [app/Services/FooService.php] created successfully INFO Facade [app/Support/Facades/Foo.php] created successfully php artisan make:service Foo/Bar --facade INFO Service [app/Services/Foo/Bar.php] created successfully INFO Facade [app/Support/Facades/Foo/Bar.php] created successfully php artisan make:service Fizz/Buzz --facade=Bing INFO Service [app/Services/Fizz/Buzz.php] created successfully INFO Facade [app/Support/Facades/Bing.php] created successfully
Publishing stubs
Stubs can be published with any of the following commands:
php artisan vendor:publish --tag=laradev
php artisan vendor:publish --tag=stubs
php artisan vendor:publish --provider='Determined\LaraDev\LaraDevServiceProvider' --tag=stubs