Skip to content

geeksesi/todo-lover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todo-lover

todo lover is a laravel package that can manage your todos

see tasks

Installation

composer require geeksesi/todo-lover

compatibilities

  • php7.4
  • laravel 7.x

enviroments :

publish :

# migration
php artisan vendor:publish --tag=todo_lover-migrations
# config
php artisan vendor:publish --tag=todo_lover-config

Configs

Authentication

default Authentication model (user) is set by your app default config on :

  • config/auth.php
    // ...

    'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'model' => App\User::class,
        ],
    // ...
    
    ],

    // ...

this config will overwrite OwnerModel in this package

if there is no providers config we will use our user model

to support your user model for tasks use this trait :

    use \Geeksesi\TodoLover\HasTaskTrait;

also if you have your own token authentication ( like passport, sanctum ) you should overwrite config file middelware

    "middleware" => ["api", UserHandMadeTokenAuthorize::class],

    # set your authentication middelware instead of : UserHandMadeTokenAuthorize::class

Test

composer run test

License

MIT

About

todo lover is a laravel package that can manage your todos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages