Laravelフレームワーク内で使われているTrait一覧[laravel/framework 7.x]

# はじめに
PHPのtraitの使いどころがいまいちわからないので、
Laravelフレームワークのコードを読んで勉強しよう！というモチベーションで一覧を作りました。

# trait一覧

合計102個のtraitが使われていました。

[larvel/framework](https://github.com/laravel/framework) 7.xには 102個のTraitが使われてました。

| trait名                               | パス                                                                                                                                                                                                             |
|---------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| HandlesAuthorization                  | [src/Illuminate/Auth/Access/HandlesAuthorization.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Auth/Access/HandlesAuthorization.php)                                                         |
| Authenticatable                       | [src/Illuminate/Auth/Authenticatable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Auth/Authenticatable.php)                                                                                 |
| CreatesUserProviders                  | [src/Illuminate/Auth/CreatesUserProviders.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Auth/CreatesUserProviders.php)                                                                       |
| GuardHelpers                          | [src/Illuminate/Auth/GuardHelpers.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Auth/GuardHelpers.php)                                                                                       |
| MustVerifyEmail                       | [src/Illuminate/Auth/MustVerifyEmail.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Auth/MustVerifyEmail.php)                                                                                 |
| CanResetPassword                      | [src/Illuminate/Auth/Passwords/CanResetPassword.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Auth/Passwords/CanResetPassword.php)                                                           |
| UsePusherChannelConventions           | [src/Illuminate/Broadcasting/Broadcasters/UsePusherChannelConventions.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Broadcasting/Broadcasters/UsePusherChannelConventions.php)               |
| InteractsWithSockets                  | [src/Illuminate/Broadcasting/InteractsWithSockets.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Broadcasting/InteractsWithSockets.php)                                                       |
| Queueable                             | [src/Illuminate/Bus/Queueable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Bus/Queueable.php)                                                                                               |
| RetrievesMultipleKeys                 | [src/Illuminate/Cache/RetrievesMultipleKeys.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Cache/RetrievesMultipleKeys.php)                                                                   |
| CallsCommands                         | [src/Illuminate/Console/Concerns/CallsCommands.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Console/Concerns/CallsCommands.php)                                                             |
| HasParameters                         | [src/Illuminate/Console/Concerns/HasParameters.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Console/Concerns/HasParameters.php)                                                             |
| InteractsWithIO                       | [src/Illuminate/Console/Concerns/InteractsWithIO.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Console/Concerns/InteractsWithIO.php)                                                         |
| ConfirmableTrait                      | [src/Illuminate/Console/ConfirmableTrait.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Console/ConfirmableTrait.php)                                                                         |
| ManagesFrequencies                    | [src/Illuminate/Console/Scheduling/ManagesFrequencies.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Console/Scheduling/ManagesFrequencies.php)                                               |
| BuildsQueries                         | [src/Illuminate/Database/Concerns/BuildsQueries.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Concerns/BuildsQueries.php)                                                           |
| ManagesTransactions                   | [src/Illuminate/Database/Concerns/ManagesTransactions.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Concerns/ManagesTransactions.php)                                               |
| DetectsConcurrencyErrors              | [src/Illuminate/Database/DetectsConcurrencyErrors.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/DetectsConcurrencyErrors.php)                                                       |
| DetectsLostConnections                | [src/Illuminate/Database/DetectsLostConnections.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/DetectsLostConnections.php)                                                           |
| GuardsAttributes                      | [src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php)                                   |
| HasAttributes                         | [src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php)                                         |
| HasEvents                             | [src/Illuminate/Database/Eloquent/Concerns/HasEvents.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Concerns/HasEvents.php)                                                 |
| HasGlobalScopes                       | [src/Illuminate/Database/Eloquent/Concerns/HasGlobalScopes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Concerns/HasGlobalScopes.php)                                     |
| HasRelationships                      | [src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php)                                   |
| HasTimestamps                         | [src/Illuminate/Database/Eloquent/Concerns/HasTimestamps.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Concerns/HasTimestamps.php)                                         |
| HidesAttributes                       | [src/Illuminate/Database/Eloquent/Concerns/HidesAttributes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Concerns/HidesAttributes.php)                                     |
| QueriesRelationships                  | [src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php)                           |
| AsPivot                               | [src/Illuminate/Database/Eloquent/Relations/Concerns/AsPivot.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Relations/Concerns/AsPivot.php)                                 |
| InteractsWithPivotTable               | [src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php) |
| SupportsDefaultModels                 | [src/Illuminate/Database/Eloquent/Relations/Concerns/SupportsDefaultModels.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/Relations/Concerns/SupportsDefaultModels.php)     |
| SoftDeletes                           | [src/Illuminate/Database/Eloquent/SoftDeletes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Eloquent/SoftDeletes.php)                                                               |
| Authorizable                          | [src/Illuminate/Foundation/Auth/Access/Authorizable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Auth/Access/Authorizable.php)                                                   |
| AuthorizesRequests                    | [src/Illuminate/Foundation/Auth/Access/AuthorizesRequests.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Auth/Access/AuthorizesRequests.php)                                       |
| Dispatchable                          | [src/Illuminate/Foundation/Bus/Dispatchable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Bus/Dispatchable.php)                                                                   |
| DispatchesJobs                        | [src/Illuminate/Foundation/Bus/DispatchesJobs.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Bus/DispatchesJobs.php)                                                               |
| Dispatchable                          | [src/Illuminate/Foundation/Events/Dispatchable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Events/Dispatchable.php)                                                             |
| InteractsWithAuthentication           | [src/Illuminate/Foundation/Testing/Concerns/InteractsWithAuthentication.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/InteractsWithAuthentication.php)           |
| InteractsWithConsole                  | [src/Illuminate/Foundation/Testing/Concerns/InteractsWithConsole.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/InteractsWithConsole.php)                         |
| InteractsWithContainer                | [src/Illuminate/Foundation/Testing/Concerns/InteractsWithContainer.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/InteractsWithContainer.php)                     |
| InteractsWithDatabase                 | [src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php)                       |
| InteractsWithExceptionHandling        | [src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php)     |
| InteractsWithRedis                    | [src/Illuminate/Foundation/Testing/Concerns/InteractsWithRedis.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/InteractsWithRedis.php)                             |
| InteractsWithSession                  | [src/Illuminate/Foundation/Testing/Concerns/InteractsWithSession.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/InteractsWithSession.php)                         |
| MakesHttpRequests                     | [src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php)                               |
| MocksApplicationServices              | [src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php)                 |
| DatabaseMigrations                    | [src/Illuminate/Foundation/Testing/DatabaseMigrations.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/DatabaseMigrations.php)                                               |
| DatabaseTransactions                  | [src/Illuminate/Foundation/Testing/DatabaseTransactions.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/DatabaseTransactions.php)                                           |
| RefreshDatabase                       | [src/Illuminate/Foundation/Testing/RefreshDatabase.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/RefreshDatabase.php)                                                     |
| WithFaker                             | [src/Illuminate/Foundation/Testing/WithFaker.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/WithFaker.php)                                                                 |
| WithoutEvents                         | [src/Illuminate/Foundation/Testing/WithoutEvents.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/WithoutEvents.php)                                                         |
| WithoutMiddleware                     | [src/Illuminate/Foundation/Testing/WithoutMiddleware.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Testing/WithoutMiddleware.php)                                                 |
| ValidatesRequests                     | [src/Illuminate/Foundation/Validation/ValidatesRequests.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Foundation/Validation/ValidatesRequests.php)                                           |
| InteractsWithContentTypes             | [src/Illuminate/Http/Concerns/InteractsWithContentTypes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Http/Concerns/InteractsWithContentTypes.php)                                           |
| InteractsWithFlashData                | [src/Illuminate/Http/Concerns/InteractsWithFlashData.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Http/Concerns/InteractsWithFlashData.php)                                                 |
| InteractsWithInput                    | [src/Illuminate/Http/Concerns/InteractsWithInput.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Http/Concerns/InteractsWithInput.php)                                                         |
| FileHelpers                           | [src/Illuminate/Http/FileHelpers.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Http/FileHelpers.php)                                                                                         |
| CollectsResources                     | [src/Illuminate/Http/Resources/CollectsResources.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Http/Resources/CollectsResources.php)                                                         |
| ConditionallyLoadsAttributes          | [src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php)                                   |
| DelegatesToResource                   | [src/Illuminate/Http/Resources/DelegatesToResource.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Http/Resources/DelegatesToResource.php)                                                     |
| ResponseTrait                         | [src/Illuminate/Http/ResponseTrait.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Http/ResponseTrait.php)                                                                                     |
| ParsesLogConfiguration                | [src/Illuminate/Log/ParsesLogConfiguration.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Log/ParsesLogConfiguration.php)                                                                     |
| HasDatabaseNotifications              | [src/Illuminate/Notifications/HasDatabaseNotifications.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Notifications/HasDatabaseNotifications.php)                                             |
| Notifiable                            | [src/Illuminate/Notifications/Notifiable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Notifications/Notifiable.php)                                                                         |
| RoutesNotifications                   | [src/Illuminate/Notifications/RoutesNotifications.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Notifications/RoutesNotifications.php)                                                       |
| InteractsWithQueue                    | [src/Illuminate/Queue/InteractsWithQueue.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Queue/InteractsWithQueue.php)                                                                         |
| SerializesAndRestoresModelIdentifiers | [src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php)                                   |
| SerializesModels                      | [src/Illuminate/Queue/SerializesModels.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Queue/SerializesModels.php)                                                                             |
| RouteDependencyResolverTrait          | [src/Illuminate/Routing/RouteDependencyResolverTrait.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Routing/RouteDependencyResolverTrait.php)                                                 |
| InteractsWithTime                     | [src/Illuminate/Support/InteractsWithTime.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Support/InteractsWithTime.php)                                                                       |
| CapsuleManagerTrait                   | [src/Illuminate/Support/Traits/CapsuleManagerTrait.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Support/Traits/CapsuleManagerTrait.php)                                                     |
| EnumeratesValues                      | [src/Illuminate/Support/Traits/EnumeratesValues.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Support/Traits/EnumeratesValues.php)                                                           |
| ForwardsCalls                         | [src/Illuminate/Support/Traits/ForwardsCalls.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Support/Traits/ForwardsCalls.php)                                                                 |
| Localizable                           | [src/Illuminate/Support/Traits/Localizable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Support/Traits/Localizable.php)                                                                     |
| Macroable                             | [src/Illuminate/Support/Traits/Macroable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Support/Traits/Macroable.php)                                                                         |
| ReflectsClosures                      | [src/Illuminate/Support/Traits/ReflectsClosures.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Support/Traits/ReflectsClosures.php)                                                           |
| Tappable                              | [src/Illuminate/Support/Traits/Tappable.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Support/Traits/Tappable.php)                                                                           |
| FormatsMessages                       | [src/Illuminate/Validation/Concerns/FormatsMessages.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Validation/Concerns/FormatsMessages.php)                                                   |
| ReplacesAttributes                    | [src/Illuminate/Validation/Concerns/ReplacesAttributes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Validation/Concerns/ReplacesAttributes.php)                                             |
| ValidatesAttributes                   | [src/Illuminate/Validation/Concerns/ValidatesAttributes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Validation/Concerns/ValidatesAttributes.php)                                           |
| DatabaseRule                          | [src/Illuminate/Validation/Rules/DatabaseRule.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Validation/Rules/DatabaseRule.php)                                                               |
| ValidatesWhenResolvedTrait            | [src/Illuminate/Validation/ValidatesWhenResolvedTrait.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/Validation/ValidatesWhenResolvedTrait.php)                                               |
| CompilesAuthorizations                | [src/Illuminate/View/Compilers/Concerns/CompilesAuthorizations.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesAuthorizations.php)                             |
| CompilesComments                      | [src/Illuminate/View/Compilers/Concerns/CompilesComments.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesComments.php)                                         |
| CompilesComponents                    | [src/Illuminate/View/Compilers/Concerns/CompilesComponents.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesComponents.php)                                     |
| CompilesConditionals                  | [src/Illuminate/View/Compilers/Concerns/CompilesConditionals.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesConditionals.php)                                 |
| CompilesEchos                         | [src/Illuminate/View/Compilers/Concerns/CompilesEchos.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesEchos.php)                                               |
| CompilesErrors                        | [src/Illuminate/View/Compilers/Concerns/CompilesErrors.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesErrors.php)                                             |
| CompilesHelpers                       | [src/Illuminate/View/Compilers/Concerns/CompilesHelpers.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesHelpers.php)                                           |
| CompilesIncludes                      | [src/Illuminate/View/Compilers/Concerns/CompilesIncludes.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesIncludes.php)                                         |
| CompilesInjections                    | [src/Illuminate/View/Compilers/Concerns/CompilesInjections.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesInjections.php)                                     |
| CompilesJson                          | [src/Illuminate/View/Compilers/Concerns/CompilesJson.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesJson.php)                                                 |
| CompilesLayouts                       | [src/Illuminate/View/Compilers/Concerns/CompilesLayouts.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesLayouts.php)                                           |
| CompilesLoops                         | [src/Illuminate/View/Compilers/Concerns/CompilesLoops.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesLoops.php)                                               |
| CompilesRawPhp                        | [src/Illuminate/View/Compilers/Concerns/CompilesRawPhp.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesRawPhp.php)                                             |
| CompilesStacks                        | [src/Illuminate/View/Compilers/Concerns/CompilesStacks.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesStacks.php)                                             |
| CompilesTranslations                  | [src/Illuminate/View/Compilers/Concerns/CompilesTranslations.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/Concerns/CompilesTranslations.php)                                 |
| ManagesComponents                     | [src/Illuminate/View/Concerns/ManagesComponents.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Concerns/ManagesComponents.php)                                                           |
| ManagesEvents                         | [src/Illuminate/View/Concerns/ManagesEvents.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Concerns/ManagesEvents.php)                                                                   |
| ManagesLayouts                        | [src/Illuminate/View/Concerns/ManagesLayouts.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Concerns/ManagesLayouts.php)                                                                 |
| ManagesLoops                          | [src/Illuminate/View/Concerns/ManagesLoops.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Concerns/ManagesLoops.php)                                                                     |
| ManagesStacks                         | [src/Illuminate/View/Concerns/ManagesStacks.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Concerns/ManagesStacks.php)                                                                   |
| ManagesTranslations                   | [src/Illuminate/View/Concerns/ManagesTranslations.php](https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Concerns/ManagesTranslations.php)