agent-rules-kit
Version:
CLI tool to bootstrap AI agent rules for multiple IDEs and frameworks. Generates optimized rules for Cursor, VS Code, Claude, and 6+ other AI coding assistants.
38 lines (29 loc) • 975 B
Markdown
description: Service provider guidelines for Laravel 8-11
globs: <root>/config/app.php
alwaysApply: false
# Service Provider Registration – Laravel 8-11
For Laravel versions 8 through 11, providers are registered in the `config/app.php`
configuration file in the `providers` array:
```php
// config/app.php
return [
// ...
'providers' => [
// Laravel Framework Service Providers...
Illuminate\Auth\AuthServiceProvider::class,
Illuminate\Broadcasting\BroadcastServiceProvider::class,
// ...
// Application Service Providers...
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
// Third-party Service Providers...
// Your custom providers...
],
// ...
];
```
When creating a new service provider, remember to register it in this array.