Looking to hire Laravel developers? Try LaraJobs

laravel-todo maintained by amirmsj

Last update
2022/04/18 02:20 (dev-main)
License
Downloads
6

Comments
comments powered by Disqus

laravel-todo

laravel-todo is a laravel package which created for ToDo list and adding label them.

Installation

1.To install through Composer, by run the following command:

composer require amirmsj/laravel-todo

2.For running tests of project You can run following command:

php artisan vendor:publish

3.Add provider to config/app.php file

    Amirmsj\LaravelToDo\Providers\LaravelToDoServiceProvider::class,

4.Create tabels via migrations in database

    php artisan migrate

5.Add relationship between users and tasks in user model

    public function tasks()
    {
        return $this->hasMany(Task::class);
    }

Documentation

In package throttle middleware is used. so it is possible to encounter 429 error (to many request) when tests are executed.

set configs in env and and phpunit

Sending emails is done in queue out of main cycle of application. therefore running queue command is necessary.

For sending mail please use mailtrap config

License

The MIT License (MIT).