{"enrichment":{"faq":[{"a":"Laravel is a PHP web framework designed for building modern web applications and REST APIs. With Laravel, you can create scalable web applications using its comprehensive toolkit that includes routing, middleware, database migrations, Eloquent ORM, authentication, and templating with Blade. Laravel provides a structured approach to development with built-in features for validation, queues, dependency injection, and error handling, making it ideal for both simple websites and complex enterprise applications.","q":"What is the Laravel framework and what can I build with it?"},{"a":"Laravel routing and controllers form the core of request handling. Routes define URL patterns and map them to controller actions, while controllers contain the business logic for processing requests. Laravel's routing system supports HTTP verbs (GET, POST, PUT, DELETE), route parameters, and middleware attachment. Controllers organize related request handling logic, making applications maintainable. Middleware can be applied globally or to specific routes to filter requests before they reach controllers, enabling authentication checks, CORS handling, and other cross-cutting concerns.","q":"How do Laravel routing and controllers handle requests?"},{"a":"Laravel database migrations are version-controlled PHP files that define database schema changes, allowing teams to track and apply database modifications consistently across environments. Eloquent ORM is Laravel's object-relational mapping layer that lets you interact with databases using PHP objects instead of raw SQL. Eloquent supports relationships (one-to-many, many-to-many, etc.), eager loading, query scoping, and provides a fluent query builder. Together, migrations and Eloquent enable efficient database management and querying within Laravel applications.","q":"What are Laravel database migrations and Eloquent ORM?"},{"a":"Laravel provides multiple authentication options including session-based auth and token-based authentication with Sanctum for API protection. For REST APIs, Laravel offers a structured approach using routes, controllers, and resource classes to define endpoints. Sanctum enables stateless API authentication via tokens, supporting both single-page applications and mobile clients. Laravel's validation, error handling, and response formatting features streamline API development. Best practices include using route model binding, implementing proper HTTP status codes, and leveraging Laravel's built-in features for rate limiting and CORS configuration.","q":"How do I set up authentication and build REST APIs in Laravel?"},{"a":"Laravel best practices include using environment configuration files for sensitive data, implementing proper error handling and logging, writing tests with Laravel's testing framework, optimizing queries with eager loading, caching frequently accessed data, and using queues for long-running tasks. Security practices involve validating all user input, using Laravel's built-in protection against CSRF, SQL injection, and XSS attacks, and keeping dependencies updated via Composer. For deployment, use Artisan commands for migrations and cache clearing, implement proper file permissions, and monitor application performance.","q":"What Laravel best practices should I follow for production applications?"},{"a":"Laravel Blade is a lightweight templating engine that compiles to plain PHP, providing syntax for control structures, loops, and component reuse without the overhead of complex template languages. Blade supports template inheritance, includes, and directives like @if, @foreach, and @auth. Artisan is Laravel's command-line interface providing built-in commands for common tasks: php artisan migrate runs migrations, php artisan tinker opens an interactive shell, php artisan make:controller generates controllers, and many others. Custom Artisan commands can be created for application-specific tasks, automating repetitive development workflows.","q":"What are Laravel Blade templates and Artisan commands?"}],"shadow_tags":["php-framework","web-development","mvc-architecture","backend-tooling","api-building","database-orm","template-engine","developer-guide"],"summary_rewrite":"Get expert guidance on Laravel 12.x application development, from foundational concepts like routing and database migrations to advanced patterns including Eloquent relationships, API design, and authentication with Sanctum. This skill covers the full development lifecycle\u2014models, validation, queues, dependency injection, and best practices for building scalable web applications."},"gist":{"api_url":"https://skillfed.io/api/skills/rawveg/skillsforge-marketplace/laravel.json","as_of":"2026-02-19","description":"Laravel skill provides comprehensive guidance on Laravel 12.x development, including routing, Eloquent ORM.","install":{"manual":["git clone https://github.com/rawveg/skillsforge-marketplace","cp -r skillsforge-marketplace ~/.claude/skills/laravel"],"primary":"npx skillfed install rawveg/skillsforge-marketplace/laravel","version":"087bea91"},"kind":"skill","mirror_url":"https://skillfed.io/rawveg/skillsforge-marketplace/laravel.md","similar":[{"id":"Jeffallan/claude-skills/laravel-specialist","name":"laravel-specialist","publisher":"Jeffallan/claude-skills","url":"https://skillfed.io/Jeffallan/claude-skills/laravel-specialist"},{"id":"personamanagmentlayer/pcl/php-expert","name":"php-expert","publisher":"personamanagmentlayer/pcl","url":"https://skillfed.io/personamanagmentlayer/pcl/php-expert"},{"id":"AsyrafHussin/agent-skills/laravel-best-practices","name":"laravel-best-practices","publisher":"AsyrafHussin/agent-skills","url":"https://skillfed.io/AsyrafHussin/agent-skills/laravel-best-practices"},{"id":"affaan-m/ECC/laravel-patterns","name":"laravel-patterns","publisher":"affaan-m/ECC","url":"https://skillfed.io/affaan-m/ECC/laravel-patterns"},{"id":"Pixel-Process-UG/superkit-agents/laravel-specialist","name":"laravel-specialist","publisher":"Pixel-Process-UG/superkit-agents","url":"https://skillfed.io/Pixel-Process-UG/superkit-agents/laravel-specialist"}],"title":"Laravel by rawveg: Learn Laravel framework fundamentals and architecture \u2014 SkillFed","use":{"when":["Laravel routing and controllers form the core of request handling.","Laravel database migrations are version-controlled PHP files that define database schema changes."]},"what":{"lead":"Laravel skill provides comprehensive guidance on Laravel 12.x development, including routing, Eloquent ORM, migrations, and API building.","rest":"Get expert guidance on Laravel 12.x application development, from foundational concepts like routing and database migrations to advanced patterns including Eloquent relationships, API design, and authentication with Sanctum. This skill covers the full development lifecycle\u2014models, validation, queues, dependency injection, and best practices for building scalable web applications."}},"id":"rawveg/skillsforge-marketplace/laravel","install":{"mode":"external","repo":"https://github.com/rawveg/skillsforge-marketplace"},"links":{"html":"https://skillfed.io/rawveg/skillsforge-marketplace/laravel","md":"https://skillfed.io/rawveg/skillsforge-marketplace/laravel.md","repo":"https://github.com/rawveg/skillsforge-marketplace"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":8,"language":"Python","last_updated":"2026-02-19","license":null,"name":"Laravel","publisher":"rawveg","stars":39},"relations":{"similar":[{"id":"Jeffallan/claude-skills/laravel-specialist"},{"id":"personamanagmentlayer/pcl/php-expert"},{"id":"AsyrafHussin/agent-skills/laravel-best-practices"},{"id":"affaan-m/ECC/laravel-patterns"},{"id":"Pixel-Process-UG/superkit-agents/laravel-specialist"},{"id":"iSerter/laravel-claude-agents/eloquent-best-practices"},{"id":"bagisto/agent-skills/package-development"},{"id":"iSerter/laravel-claude-agents/laravel-api-resource-patterns"},{"id":"affaan-m/ECC/laravel-security"},{"id":"noartem/skills/laravel-api-resources-and-pagination"}]},"slug":{"owner":"rawveg","repo":"skillsforge-marketplace","skill":"laravel"},"version":"087bea91"}
