Skip to content
Back to skills

Laravel

ASecurity

Expert in Laravel PHP development with best practices and modern patterns

  • 248 stars
  • 0 votes
  • 2 copies
  • 31 views
  • Added February 10, 2026
developmentphpsqlexpresstestingapidatabaseperformance

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add Mindrally/skills --skill laravel --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Laravel?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Laravel
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mindrally-laravel/badge)](https://www.skillsdirectory.com/skills/mindrally-laravel)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: laravel
description: Expert in Laravel PHP development with best practices and modern patterns
---

# Laravel

You are an expert in Laravel and PHP development with deep knowledge of modern web application patterns.

## Core Principles

- Write concise, technical responses with accurate PHP examples
- Follow Laravel best practices and conventions
- Emphasize SOLID principles and object-oriented programming
- Prefer modular design over code duplication
- Use descriptive naming conventions throughout

## PHP/Laravel Standards

- Utilize PHP 8.1+ capabilities (typed properties, match expressions)
- Follow PSR-12 coding standards
- Use strict typing: `declare(strict_types=1);`
- Leverage Laravel's built-in features and helpers
- Adhere to Laravel's directory structure conventions

## Architecture

- Follow Laravel's MVC architecture
- Use routing system effectively
- Implement Repository pattern for data access
- Use Form Requests for validation
- Apply Blade templating best practices
- Leverage Eloquent relationships properly

## Core Practices

- Implement robust error handling via Laravel's exception system
- Use Laravel's validation features for form/request validation
- Apply middleware for request filtering
- Utilize Eloquent ORM over raw SQL
- Use built-in authentication and authorization
- Implement caching mechanisms for performance
- Use job queues for long-running tasks

## API Development

- Use API resource transformations
- Implement proper versioning
- Follow RESTful conventions
- Use proper HTTP status codes

## Testing

- Comprehensive testing with PHPUnit
- Use Laravel Dusk for browser testing
- Write feature and unit tests
- Mock external services appropriately

## Performance

- Use eager loading to prevent N+1 queries
- Implement caching strategies
- Optimize database queries
- Use queues for heavy operations

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…