faustbrian/laravel-recurring

This package is abandoned and no longer maintained. The author suggests using the artisanry/recurring package instead.

Recurrence Rules for Laravel.

2.2.0 2019-08-28 13:05 UTC

This package is auto-updated.

Last update: 2020-06-30 16:16:35 UTC


README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

This package was created by, and is maintained by Brian Faust, and provides Recurrence Rules for Laravel.

Installation

composer require kodekeep/laravel-recurring

Usage

namespace App;

use KodeKeep\Recurring\Recurring;
use Illuminate\Database\Eloquent\Model;

class Task extends Model
{
    use Recurring;
}
Route::get('/', function () {
    $task = App\Task::first();

    $task->recurr()->first();

    $task->recurr()->last();

    $task->recurr()->next();

    $task->recurr()->current();

    $task->recurr()->rule();

    $task->recurr()->schedule();
});

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover a security vulnerability within this package, please send an e-mail to hello@kodekeep.com. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

Support Us

We invest a lot of resources into creating and maintaining our packages. You can support us and the development through GitHub Sponsors.

License

Laravel Recurring is an open-sourced software licensed under the MPL-2.0.