Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

tanyudii/smoothsystem-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core (SmoothSystem™)

[Important Publish]

  • smoothsystem-config
  • smoothsystem-migration

[Additional Publish]

  • smoothsystem-seed
  • smoothsystem-factories

Installation Authorizations

  • Set register authorization to true in config smoothsystem.authorization
  • Register middleware 'smoothsystem.gate' => \Smoothsystem\Core\Http\Middleware\Gate::class
  • Register PermissionsTableSeeder to database table seeder
  • Default PermissionsTableSeeder get all route in api and set as permission

Installation Instructions

  • Delete migration default (users, failed_jobs, jobs);
  • Register seeds (users, roles, role_users in DatabaseSeeder)
  • Factory model namespace location "Smoothsystem\Core\Entities"

Api Settings

  • Custom factory Eloquent location in config smoothsystem.models
  • Passport able to custom in config smoothsystem.passport
  • For project use Passport, setting user guards in config auth.guards.api.driver to 'passport'

#Tips

  • After publish seeder you must be composer dump-autoload (because seed registered in cache composer)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages