determined-development/laradev
最新稳定版本:1.0.0
Composer 安装命令:
composer require determined-development/laradev
包简介
A collection of Laravel development helpers and utilities
README 文档
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.
php artisan make:facade Foo INFO Facade [app/Support/Facades/Foo.php] created successfully
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 --accessor=foo.service --target=App\Services\FooBarService
Will generate
<?php namespace App\Support\Facades; use App\Services\FooBarService; use Illuminate\Support\Facades\Facade; /** * @mixin FooBarService */ class Foo extends Facade { protected static function getFacadeAccessor(): string { return 'foo.service'; } }
Publishing stubs
php artisan vendor:publish --tag=laradev:stubs
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-14