-
Helpers
Files in the example
-
app/Helpers/date.php
-
app/Models/User.php
-
tests/Unit/PostTest.php
-
composer.json
-
-
Global scopes
Files in the example
-
master/app/Scopes/PostedScope.php
-
app/Models/Post.php
-
-
Local scopes
Files in the example
-
app/Models/Comment.php
-
app/Http/Controllers/Admin/ShowDashboard.php
-
-
Blade components
Files in the example
-
app/View/Components/Alert.php
-
resources/views/shared/alerts.blade.php
-
resources/views/comments/_form.blade.php
-
-
Polymorphic relationships
Files in the example
-
database/migrations/2017_11_15_003340_create_likes_table.php
-
app/Models/Like.php
-
app/Models/Post.php
-
app/Concern/Likeable.php
-
app/Http/Controllers/Api/V1/PostLikeController.php
-
-
Custom validation rules
Files in the example
-
app/Rules/AlphaName.php
-
app/Http/Requests/UsersRequest.php
-
-
Policies
Files in the example
-
app/Policies/PostPolicy.php
-
app/Http/Controllers/Api/V1/PostController.php
-
-
Send email
Files in the example
-
app/Jobs/SendNewsletterSubscriptionEmail.php
-
app/Mail/Newsletter.php
-
app/Jobs/PrepareNewsletterSubscriptionEmail.php
-
readme.md
-
-
Vue.js
Files in the example
-
app/Http/Controllers/Api/V1/CommentController.php
-
resources/js/components/comments/CommentList.vue
-
routes/api.php
-
app/Http/Resources/Comment.php
-
-
Laravel/socialite
Files in the example
-
composer.json
-
app/Http/Controllers/Auth/AuthController.php
-
resources/views/auth/login.blade.php
-
routes/auth.php
-
-
Testing
Files in the example
-
tests/Feature/Api/V1/PostLikeTest.php
-
-
File upload
Files in the example
-
composer.json
-
app/Models/MediaLibrary.php
-
resources/views/admin/media/create.blade.php
-
app/Http/Controllers/Admin/MediaLibraryController.php
-
-
Task scheduling
Files in the example
-
app/Console/Kernel.php
-
-
Pagination
Files in the example
-
app/Http/Controllers/Api/V1/UserCommentController.php
-
-
Cache
Files in the example
-
app/Http/Controllers/PostFeedController.php
-
-
CRUD
Files in the example
-
app/Http/Controllers/Admin/PostController.php
-
routes/admin.php
-
resources/views/admin/posts/create.blade.php
-
resources/views/admin/posts/edit.blade.php
-
resources/views/admin/posts/_form.blade.php
-
resources/views/admin/posts/index.blade.php
-
resources/views/admin/posts/_list.blade.php
-
-
WhereHas
Files in the example
-
app/Models/User.php
-
-
Form requests
Files in the example
-
app/Http/Requests/Admin/PostsRequest.php
-
-
User profile
Files in the example
-
resources/views/users/edit.blade.php
-
routes/web.php
-
app/Http/Controllers/UserController.php
-