← スキル一覧に戻る

laravel-providers
by leeovery
Opinionated Laravel Skills & Commands for Claude Code
⭐ 10🍴 2📅 2026年1月20日
SKILL.md
name: laravel-providers description: Service providers, bootstrapping, and application configuration. Use when working with service providers, app configuration, bootstrapping, or when user mentions service providers, AppServiceProvider, bootstrap, booters, configuration, helpers.
Laravel Providers
Service providers and application bootstrapping patterns.
Core Concepts
service-providers.md - Service providers:
- AppServiceProvider organization with named methods
- Model::unguard() for mass assignment
- Factory resolver for Data classes
- Morph map registration
- Configuration patterns
bootstrap-booters.md - Bootstrap & Booters:
- Invokable booter classes
- Middleware registration
- Exception handling setup
- Scheduling configuration
- Clean bootstrap organization
environment.md - Environment config:
- Template and instance pattern
.env-localtemplates- Git-ignored instances
- Optional git-crypt for secrets
helpers.md - Helper functions:
- Global helper registration
- Autoloading helpers
- When to use (sparingly)
- Alternatives with static methods
Pattern
// AppServiceProvider
final class AppServiceProvider extends ServiceProvider
{
public function boot(): void
{
$this->configureMorphMap();
$this->configureDataFactories();
Model::unguard();
}
private function configureMorphMap(): void
{
Relation::morphMap([
'order' => Order::class,
'product' => Product::class,
]);
}
}
Organize AppServiceProvider with named private methods for clarity.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です