-
Events & listeners
Files in the example
-
app/Events/ArticleWasApproved.php
-
app/Providers/EventServiceProvider.php
-
app/Listeners/SendArticleApprovedNotification.php
-
-
Traits
Files in the example
-
app/Helpers/HasSlug.php
-
app/Models/Tag.php
-
app/Models/Article.php
-
routes/bindings.php
-
-
Policies
Files in the example
-
app/Policies/ArticlePolicy.php
-
app/Http/Controllers/Admin/ArticlesController.php
-
app/Models/User.php
-
-
Local scopes
Files in the example
-
app/Models/Thread.php
-
app/Http/Controllers/Forum/ThreadsController.php
-
-
Polymorphic relationships
Files in the example
-
app/Models/Tag.php
-
app/Helpers/HasTags.php
-
app/Models/Thread.php
-
app/Helpers/HasLikes.php
-
app/Models/Article.php
-
app/Jobs/CreateArticle.php
-
app/Jobs/LikeArticle.php
-
-
Custom validation rules
Files in the example
-
app/Rules/PasscheckRule.php
-
app/Http/Requests/UpdatePasswordRequest.php
-
-
Ramsey/uuid
Files in the example
-
composer.json
-
database/migrations/2017_10_18_193001_create_subscriptions_table.php
-
app/Helpers/HasUuid.php
-
app/Models/Subscription.php
-
app/Jobs/CreateThread.php
-
routes/bindings.php
-
-
Factories
Files in the example
-
database/factories/LikeFactory.php
-
tests/Integration/Jobs/DeleteThreadTest.php
-
-
Notifications
Files in the example
-
app/Notifications/ArticleApprovedNotification.php
-
app/Listeners/SendArticleApprovedNotification.php
-
-
Laravel/socialite
Files in the example
-
composer.json
-
app/Http/Controllers/Auth/GithubController.php
-
routes/web.php
-
resources/views/auth/login.blade.php
-
-
Blade directive
Files in the example
-
resources/macros/blade.php
-
app/Providers/AppServiceProvider.php
-
resources/views/articles/show.blade.php
-
resources/views/articles/_form.blade.php
-
-
Testing
Files in the example
-
tests/Feature/ProfileTest.php
-
-
Livewire
Files in the example
-
app/Http/Livewire/LikeReply.php
-
resources/views/livewire/like-reply.blade.php
-
resources/views/forum/threads/show.blade.php
-
-
Task scheduling
Files in the example
-
main/app/Console/Kernel.php
-
-
WhereHas
Files in the example
-
app/Models/Article.php
-
-
Collection Methods: Chunk
Files in the example
-
app/Http/Controllers/HomeController.php
-
-
GroupBy
Files in the example
-
app/Models/Thread.php
-
app/Http/Controllers/Forum/ThreadsController.php
-
-
User profile
Files in the example
-
resources/views/users/settings/profile.blade.php
-
app/Http/Controllers/Settings/ProfileController.php
-
routes/web.php
-
-
Alpine.js
Files in the example
-
package.json
-
resources/views/users/profile.blade.php
-
-
Constants
Files in the example
-
app/Jobs/GenerateSocialShareImage.php
-
-
Cache
Files in the example
-
app/Http/Controllers/HomeController.php
-