faustbrian / laravel-recurring
Recurrence Rules for Laravel.
Fund package maintenance!
faustbrian
kodekeep.com/open-source/support-us
Requires
- php: ^7.2
- illuminate/support: ^5.8|^6.0
- simshaun/recurr: ^4.0
Requires (Dev)
- graham-campbell/testbench: ^5.0
- mockery/mockery: ^1.0
- phpunit/phpunit: ^8.2
README
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.