Skip to content
Proyectos

MrPunyapal/laravel-attributes-list

Ver en GitHub

Acerca de

List of All available PHP attributes in Laravel framework.

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Laravel PHP Attributes List

A curated list of PHP Attributes available in Laravel Framework.


Install the skill

  • Boost (recommended):
php artisan boost:add-skill MrPunyapal/laravel-attributes-list --skill laravel-attributes
  • NPX
npx skills add MrPunyapal/laravel-attributes-list --skill laravel-attributes

📊 Eloquent (Models)


📦 Queue (Jobs / Listeners / Notifications / Mailables)


⚙️ Console (Artisan Commands)


🎛️ Controllers


🧪 Form Requests


🌱 Testing


🏭 Factories


📡 API Resources


🔌 Dependency Injection

  • #[Auth] — Inject an auth guard instance
  • #[Authenticated] — Inject the currently authenticated user
  • #[Bind] — Contextually bind to a specific implementation
  • #[BindWhen] — Conditionally bind to a specific implementation
  • #[Cache] — Inject a cache store instance
  • #[Config] — Inject a configuration value
  • #[Context] — Inject a value from the application context
  • #[CurrentUser] — Inject the currently authenticated user model
  • #[DB] — Inject a database connection instance
  • #[Database] — Inject a named database connection
  • #[Give] — Give a specific binding contextually
  • #[Log] — Inject a logger with a named channel
  • #[RequestAttribute] — Inject a value from the request's attributes collection
  • #[RouteParameter] — Inject a route parameter value
  • #[Scoped] — Register a class as a scoped singleton in the container
  • #[Singleton] — Register a class as a singleton in the container
  • #[Storage] — Inject a storage disk instance
  • #[Tag] — Inject all bindings tagged with a given tag

🤖 AI (Agents)


🧠 Notes

  • Attributes provide an alternative to traditional class properties
  • They are used across multiple parts of the framework
  • Existing approaches (properties, methods) continue to work

🐘 PHP Built-in Attributes


🤝 Contributing

Contributions are welcome.


👤 Author

@MrPunyapal


Explorar proyectos relacionados

Cargando…