Start php artisan queue:work
- User
- Profile
(user_id)
- Post
- Tag
(Polymorphic relation with Post)
(taggables database) - Comment
(Polymorphic relation with Post)
- Setting
- Plan
- UserSeeder
- PlanSeeder
- TagSeeder
- CommentSeeder
- UserPolicy
- PostPolicy
- CommentPolicy
- TagPolicy
- ModelHelpers
- HasAuthor
- HasTags
- HasComments
- HasCommentable
- HasReplies
- CommentAble
- TitleCast
- PriceCast
CustomBladeServiceProvider
SaveImageService
Observer take a lots of time to seed & crud data. Comment observer at the time of seeding.
TagObserver (register it in EventServiceProvider boot method) PostObserver (register it in EventServiceProvider boot method)
LoginResponse
CreatePost CreateTag CreateComment
IsAdmin
composer require laravel/cashier
php artisan migrate
php artisan vendor:publish --tag="cashier-migrations" (created three tables in db)
use Billable (In User Model)
- Stop duplicate replies in the post
- user trial_ends_at have to null when subscribe payment method
- user profile reloading