Laravel with Spatie packages
Spatie's skills for Laravel: roles and permissions, filtered API endpoints with Query Builder, Media Library, Spatie coding standards and app security.
Category: Backend. By playbookrun. Reviewed by PlaybookRun before publishing. Installs in Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and more.
Tags: php, laravel, spatie, permissions, media-library
Skills
- Laravel Permission Development (laravel-permission-development): Build and work with Spatie Laravel Permission features, including roles, permissions, middleware, policies, teams, and Blade directives.
- Laravel Query Builder (laravel-query-builder): Build filtered, sorted, and included API endpoints using spatie/laravel-query-builder. Activates when working with QueryBuilder, AllowedFilter, AllowedSort, AllowedInclude, or when the user mentions query parameters, API filtering, sorting, includes, or spatie/laravel-query-builder.
- Media Library Development (medialibrary-development): Build and work with spatie/laravel-medialibrary features including associating files with Eloquent models, defining media collections and conversions, generating responsive images, and retrieving media URLs and paths.
- Spatie Laravel & PHP Guidelines (spatie-laravel-php): Apply Spatie's Laravel and PHP coding standards for any task that creates, edits, reviews, refactors, or formats Laravel/PHP code or Blade templates; use for controllers, Eloquent models, routes, config, validation, migrations, tests, and related files to align with Laravel conventions and PSR-12.
- Spatie Security Guidelines (spatie-security): Apply Spatie's security guidelines when configuring applications, databases, servers, credentials, or signed Git commits, or when reviewing code for security concerns; use for SSL setup, CSRF protection, password hashing, database permissions, and server hardening.
Install
claude plugin marketplace add Fcakiroglu16/marketplace claude plugin install laravel@playbookrun