Framework: A pre-built structure or scaffold that provides common patterns and tools for building applications. Frameworks are opinionated — they constrain how you write your code in exchange for productivity. A framework is a ready-made structure for building applications. It provides routing, database access, authentication, validation and much more, and asks you to organise your code in its way.
Laravel, Symfony, Rails, Django, Next.js and Nuxt are well-known examples. The trade is control for speed. You accept the framework's conventions, and in return you do not have to build the plumbing yourself.
What should you keep in mind with Framework?
For a business, choosing a mainstream framework has a practical benefit beyond speed. Many developers know it, documentation is plentiful and security fixes arrive regularly. That makes it easier to find someone to maintain or extend the application later. Keep the framework up to date. Skipping several major versions turns a routine upgrade into a project of its own.
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, r
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.
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.