amirmsj/laravel-todo

dev-main 2022-04-18 00:20 UTC

This package is not auto-updated.

Last update: 2025-07-07 20:25:51 UTC


README

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).