[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1498":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":21,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},1498,"laravel-attributes-list","MrPunyapal\u002Flaravel-attributes-list","MrPunyapal","List of All available PHP attributes in Laravel framework.","https:\u002F\u002Fmrpunyapal.github.io\u002Flaravel-attributes-list\u002F",null,"PHP",224,21,6,0,1,12,42.73,false,"main",true,[23,24,25,26],"attributes","laravel","laravel-framework","php","2026-06-12 04:00:09","# Laravel PHP Attributes List\n\nA curated list of **PHP Attributes available in Laravel Framework**.\n\n---\n\n## Install the skill\n\n- Boost (recommended):\n\n```bash\nphp artisan boost:add-skill MrPunyapal\u002Flaravel-attributes-list --skill laravel-attributes\n```\n- NPX\n\n```bash\nnpx skills add MrPunyapal\u002Flaravel-attributes-list --skill laravel-attributes\n```\n\n---\n\n## 📊 Eloquent (Models)\n\n* [`#[Table]`](attributes\u002Feloquent\u002FTable.md) — Define database table\n* [`#[Fillable]`](attributes\u002Feloquent\u002FFillable.md) — Define mass assignable attributes\n* [`#[Guarded]`](attributes\u002Feloquent\u002FGuarded.md) — Define guarded attributes\n* [`#[Hidden]`](attributes\u002Feloquent\u002FHidden.md) — Hide attributes from serialization\n* [`#[Visible]`](attributes\u002Feloquent\u002FVisible.md) — Define visible attributes\n* [`#[Appends]`](attributes\u002Feloquent\u002FAppends.md) — Append accessors to arrays\n* [`#[Touches]`](attributes\u002Feloquent\u002FTouches.md) — Touch related models\n* [`#[Connection]`](attributes\u002Feloquent\u002FConnection.md) — Specify database connection\n* [`#[Unguarded]`](attributes\u002Feloquent\u002FUnguarded.md) — Disable mass assignment protection\n* [`#[CollectedBy]`](attributes\u002Feloquent\u002FCollectedBy.md) — Custom collection class\n* [`#[WithoutTimestamps]`](attributes\u002Feloquent\u002FWithoutTimestamps.md) — Disable timestamps\n* [`#[WithoutIncrementing]`](attributes\u002Feloquent\u002FWithoutIncrementing.md) — Disable auto-incrementing IDs\n* [`#[ScopedBy]`](attributes\u002Feloquent\u002FScopedBy.md) — Apply global scope(s) to the model\n* [`#[ObservedBy]`](attributes\u002Feloquent\u002FObservedBy.md) — Register model observer(s)\n* [`#[DateFormat]`](attributes\u002Feloquent\u002FDateFormat.md) — Define the date format for model timestamps\n* [`#[Scope]`](attributes\u002Feloquent\u002FScope.md) — Mark a method as a local query scope\n* [`#[Boot]`](attributes\u002Feloquent\u002FBoot.md) — Mark a trait method as a model boot hook\n* [`#[Initialize]`](attributes\u002Feloquent\u002FInitialize.md) — Mark a trait method as a model initialize hook\n* [`#[UseEloquentBuilder]`](attributes\u002Feloquent\u002FUseEloquentBuilder.md) — Specify a custom Eloquent builder class\n* [`#[UseFactory]`](attributes\u002Feloquent\u002FUseFactory.md) — Specify the factory class for the model\n* [`#[UsePolicy]`](attributes\u002Feloquent\u002FUsePolicy.md) — Specify the policy class for the model\n* [`#[UseResource]`](attributes\u002Feloquent\u002FUseResource.md) — Specify the API resource for the model\n* [`#[UseResourceCollection]`](attributes\u002Feloquent\u002FUseResourceCollection.md) — Specify the resource collection for the model\n\n---\n\n## 📦 Queue (Jobs \u002F Listeners \u002F Notifications \u002F Mailables)\n\n* [`#[Connection]`](attributes\u002Fqueue\u002FConnection.md) — Define queue connection\n* [`#[Queue]`](attributes\u002Fqueue\u002FQueue.md) — Define queue name\n* [`#[Delay]`](attributes\u002Fqueue\u002FDelay.md) — Delay execution\n* [`#[Backoff]`](attributes\u002Fqueue\u002FBackoff.md) — Configure retry delay\n* [`#[Tries]`](attributes\u002Fqueue\u002FTries.md) — Maximum retry attempts\n* [`#[Timeout]`](attributes\u002Fqueue\u002FTimeout.md) — Job timeout duration\n* [`#[UniqueFor]`](attributes\u002Fqueue\u002FUniqueFor.md) — Unique job duration\n* [`#[DeleteWhenMissingModels]`](attributes\u002Fqueue\u002FDeleteWhenMissingModels.md) — Delete if models are missing\n* [`#[FailOnTimeout]`](attributes\u002Fqueue\u002FFailOnTimeout.md) — Mark job as failed on timeout\n* [`#[MaxExceptions]`](attributes\u002Fqueue\u002FMaxExceptions.md) — Maximum exception attempts\n* [`#[WithoutRelations]`](attributes\u002Fqueue\u002FWithoutRelations.md) — Ignore relations during serialization\n* [`#[DebounceFor]`](attributes\u002Fqueue\u002FDebounceFor.md) — Debounce job execution for a given duration\n\n---\n\n## ⚙️ Console (Artisan Commands)\n\n* [`#[Signature]`](attributes\u002Fconsole\u002FSignature.md) — Define command signature\n* [`#[Description]`](attributes\u002Fconsole\u002FDescription.md) — Define command description\n* [`#[Aliases]`](attributes\u002Fconsole\u002FAliases.md) — Define command aliases\n* [`#[Usage]`](attributes\u002Fconsole\u002FUsage.md) — Define additional command usage examples\n* [`#[Help]`](attributes\u002Fconsole\u002FHelp.md) — Define command help text\n* [`#[Hidden]`](attributes\u002Fconsole\u002FHidden.md) — Hide command from the Artisan list\n\n---\n\n## 🎛️ Controllers\n\n* [`#[Middleware]`](attributes\u002Fcontrollers\u002FMiddleware.md) — Assign middleware to a controller class or action method\n* [`#[Authorize]`](attributes\u002Fcontrollers\u002FAuthorize.md) — Authorize a controller action via the gate\n\n---\n\n## 🧪 Form Requests\n\n* [`#[RedirectTo]`](attributes\u002Fform-requests\u002FRedirectTo.md) — Define redirect path on validation failure\n* [`#[RedirectToRoute]`](attributes\u002Fform-requests\u002FRedirectToRoute.md) — Define redirect route on validation failure\n* [`#[StopOnFirstFailure]`](attributes\u002Fform-requests\u002FStopOnFirstFailure.md) — Stop validation on first failure\n* [`#[ErrorBag]`](attributes\u002Fform-requests\u002FErrorBag.md) — Define the error bag name\n* [`#[FailOnUnknownFields]`](attributes\u002Fform-requests\u002FFailOnUnknownFields.md) — Fail if the request contains unknown fields\n\n---\n\n## 🌱 Testing\n\n* [`#[Seeder]`](attributes\u002Ftesting\u002FSeeder.md) — Run a specific seeder class during tests\n* [`#[Seed]`](attributes\u002Ftesting\u002FSeed.md) — Run the database seeder during tests\n* [`#[SetUp]`](attributes\u002Ftesting\u002FSetUp.md) — Mark a trait method as a test setup hook\n* [`#[TearDown]`](attributes\u002Ftesting\u002FTearDown.md) — Mark a trait method as a test teardown hook\n* [`#[UnitTest]`](attributes\u002Ftesting\u002FUnitTest.md) — Skip framework boot for individual test methods\n\n---\n\n## 🏭 Factories\n\n* [`#[UseModel]`](attributes\u002Ffactories\u002FUseModel.md) — Define model for factory\n\n---\n\n## 📡 API Resources\n\n* [`#[Collects]`](attributes\u002Fapi-resources\u002FCollects.md) — Define resource collection mapping\n* [`#[PreserveKeys]`](attributes\u002Fapi-resources\u002FPreserveKeys.md) — Preserve keys in resource output\n\n---\n\n## 🔌 Dependency Injection\n\n* [`#[Auth]`](attributes\u002Fdi\u002FAuth.md) — Inject an auth guard instance\n* [`#[Authenticated]`](attributes\u002Fdi\u002FAuthenticated.md) — Inject the currently authenticated user\n* [`#[Bind]`](attributes\u002Fdi\u002FBind.md) — Contextually bind to a specific implementation\n* [`#[Cache]`](attributes\u002Fdi\u002FCache.md) — Inject a cache store instance\n* [`#[Config]`](attributes\u002Fdi\u002FConfig.md) — Inject a configuration value\n* [`#[Context]`](attributes\u002Fdi\u002FContext.md) — Inject a value from the application context\n* [`#[CurrentUser]`](attributes\u002Fdi\u002FCurrentUser.md) — Inject the currently authenticated user model\n* [`#[DB]`](attributes\u002Fdi\u002FDB.md) — Inject a database connection instance\n* [`#[Database]`](attributes\u002Fdi\u002FDatabase.md) — Inject a named database connection\n* [`#[Give]`](attributes\u002Fdi\u002FGive.md) — Give a specific binding contextually\n* [`#[Log]`](attributes\u002Fdi\u002FLog.md) — Inject a logger with a named channel\n* [`#[RouteParameter]`](attributes\u002Fdi\u002FRouteParameter.md) — Inject a route parameter value\n* [`#[Scoped]`](attributes\u002Fdi\u002FScoped.md) — Register a class as a scoped singleton in the container\n* [`#[Singleton]`](attributes\u002Fdi\u002FSingleton.md) — Register a class as a singleton in the container\n* [`#[Storage]`](attributes\u002Fdi\u002FStorage.md) — Inject a storage disk instance\n* [`#[Tag]`](attributes\u002Fdi\u002FTag.md) — Inject all bindings tagged with a given tag\n\n---\n\n## � AI (Agents)\n\n* [`#[MaxSteps]`](attributes\u002Fai\u002FMaxSteps.md) — Maximum number of steps the agent may take when using tools\n* [`#[MaxTokens]`](attributes\u002Fai\u002FMaxTokens.md) — Maximum number of tokens the model may generate\n* [`#[Model]`](attributes\u002Fai\u002FModel.md) — Define the model the agent should use\n* [`#[Provider]`](attributes\u002Fai\u002FProvider.md) — Define the AI provider (or providers for failover)\n* [`#[Temperature]`](attributes\u002Fai\u002FTemperature.md) — Define the sampling temperature for generation\n* [`#[Timeout]`](attributes\u002Fai\u002FTimeout.md) — Define the HTTP timeout in seconds for agent requests\n* [`#[UseCheapestModel]`](attributes\u002Fai\u002FUseCheapestModel.md) — Use the provider's cheapest text model\n* [`#[UseSmartestModel]`](attributes\u002Fai\u002FUseSmartestModel.md) — Use the provider's most capable text model\n\n---\n\n## �🧠 Notes\n\n* Attributes provide an alternative to traditional class properties\n* They are used across multiple parts of the framework\n* Existing approaches (properties, methods) continue to work\n\n---\n\n## 🐘 PHP Built-in Attributes\n\n* [`#[Attribute]`](attributes\u002Fphp\u002FAttribute.md) — Mark a class as a reusable custom attribute\n* [`#[AllowDynamicProperties]`](attributes\u002Fphp\u002FAllowDynamicProperties.md) — Allow dynamic properties on a class without deprecation notice\n* [`#[Deprecated]`](attributes\u002Fphp\u002FDeprecated.md) — Mark a function, method, class, or constant as deprecated\n* [`#[NoDiscard]`](attributes\u002Fphp\u002FNoDiscard.md) — Warn when a function's return value is discarded\n* [`#[Override]`](attributes\u002Fphp\u002FOverride.md) — Assert that a method or property overrides a parent declaration\n* [`#[ReturnTypeWillChange]`](attributes\u002Fphp\u002FReturnTypeWillChange.md) — Silence return type deprecation notice for cross-version compatibility\n* [`#[SensitiveParameter]`](attributes\u002Fphp\u002FSensitiveParameter.md) — Redact a parameter value from stack traces\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome.\n\n---\n\n## 👤 Author\n\n[@MrPunyapal](https:\u002F\u002Fgithub.com\u002FMrPunyapal)\n\n---\n","该项目是一个列出 Laravel 框架中所有可用 PHP 属性的资源库。它为开发者提供了详尽的 PHP 属性列表，涵盖了 Eloquent 模型、队列任务等关键领域的属性定义，如表名指定、填充字段设置、队列连接配置等功能，帮助用户更高效地理解和应用这些属性于项目开发中。此项目特别适合正在使用 Laravel 进行开发并希望深入了解或快速查找相关 PHP 属性信息的开发者们。通过简单的安装步骤即可轻松集成到现有项目里，提升开发效率。",2,"2026-06-11 02:44:09","CREATED_QUERY"]