laravel-attributes

Community

Streamline Laravel code with Attributes (Laravel 13+)

AuthorthomiOmi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers to quickly adopt Laravel Attributes to simplify and standardize their code, replacing properties with expressive attributes for better organization and maintainability.

Core Features & Use Cases

  • Model Attribute Configuration: Automatically add table, fillable, hidden, and connection attributes to Eloquent models.
  • Job Attribute Configuration: Configure queue, retries, timeout, and backoff settings for background tasks.
  • Command Attribute Configuration: Define command signatures and descriptions easily.
  • Form Request Attribute Configuration: Set up redirrects, routes, error bags for requests, etc.
  • Container Binding Attribute Configuration: Apply singleton and other container-specific attributes to classes for better dependency management.
  • PHP Built-in Attribute Example: Apply sensitive parameter attributes for security.
  • Use Case: A developer wants to implement a new command with custom signing. By using this Skill, the developer can quickly configure the command with attributes for a clean, maintainable code structure.

Quick Start

Generate a User model with attributes and run the code provided in the SKILL.md.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: laravel-attributes
Download link: https://github.com/thomiOmi/laravel-starterkit-api/archive/main.zip#laravel-attributes

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.