GithubHelp home page GithubHelp logo

developermithu / livewire-blog-stripe Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.48 MB

Livewire blog project with free and premium functionality

Shell 0.22% PHP 51.45% Blade 48.33%
livewire tailwindcss stripe blade-ui-kit laravel8x

livewire-blog-stripe's Introduction

Start php artisan queue:work

Models

  1. User
  2. Profile (user_id)
  3. Post
  4. Tag (Polymorphic relation with Post) (taggables database)
  5. Comment (Polymorphic relation with Post)
  6. Setting
  7. Plan

Seeder

  1. UserSeeder
  2. PlanSeeder
  3. TagSeeder
  4. CommentSeeder

Policy & Register (AuthServiceProvider)

  1. UserPolicy
  2. PostPolicy
  3. CommentPolicy
  4. TagPolicy

Traits

  1. ModelHelpers
  2. HasAuthor
  3. HasTags
  4. HasComments
  5. HasCommentable
  6. HasReplies

Contracts

  1. CommentAble

Casts

  1. TitleCast
  2. PriceCast

Providers

CustomBladeServiceProvider

Services

SaveImageService

Observer

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)

Responses

LoginResponse

Jobs

CreatePost CreateTag CreateComment

Middleware

IsAdmin

Laravel Cashier Setup

composer require laravel/cashier
php artisan migrate
php artisan vendor:publish --tag="cashier-migrations" (created three tables in db)
use Billable (In User Model)

Have To Fix

  1. Stop duplicate replies in the post
  2. user trial_ends_at have to null when subscribe payment method
  3. user profile reloading

livewire-blog-stripe's People

Contributors

developermithu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.