A collection of Laravel development helpers and utilities

Maintainers

Package info

github.com/determined-development/laradev

pkg:composer/determined-development/laradev

Statistics

Installs: 3

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2026-05-15 05:52 UTC

This package is auto-updated.

Last update: 2026-05-15 05:53:27 UTC


README

Build Status Total Downloads Latest Stable Version License

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