PHPackages                             starfolksoftware/redo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. starfolksoftware/redo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

starfolksoftware/redo
=====================

Make calendar events recurrable in your Laravel applications

v1.0.3(3y ago)1441MITPHPPHP ^8.1

Since Nov 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/starfolksoftware/redo)[ Packagist](https://packagist.org/packages/starfolksoftware/redo)[ Docs](https://github.com/starfolksoftware/redo)[ RSS](/packages/starfolksoftware-redo/feed)WikiDiscussions v1.x Synced 1mo ago

READMEChangelog (4)Dependencies (12)Versions (5)Used By (0)

Laravel Redo
============

[](#laravel-redo)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8298e07caed03e3f453051c8b6a7451353cc799102d32e1731916bb97f482944/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746172666f6c6b736f6674776172652f7265646f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/starfolksoftware/redo)[![GitHub Tests Action Status](https://camo.githubusercontent.com/148a144bc5ce4a0983550d1dbe0cbbb6f04f307df3866bdd8f6dc5888be8660f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73746172666f6c6b736f6674776172652f7265646f2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/starfolksoftware/redo/actions?query=workflow%3Arun-tests+task%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/885fb43bb037fea623a99cff1f90c1b308b9f7bcae2f56df4b35a1512e4f0b3f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73746172666f6c6b736f6674776172652f7265646f2f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/starfolksoftware/redo/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+task%3Amain)[![Total Downloads](https://camo.githubusercontent.com/652b7752f60187b26d7168904486d71d4b2bef7943198630af937c69d68d1f11/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746172666f6c6b736f6674776172652f7265646f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/starfolksoftware/redo)

Make calendar events recurrable in your Laravel applications.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require starfolksoftware/redo
```

To install the package, run the following command:

```
php artisan redo:install
```

Configurations
--------------

[](#configurations)

To disable migrations, add the following in the service provider:

```
Redo::ignoreMigrations();
```

To use a different `Recurrence` model:

```
Redo::useRecurrenceModel('App\\Models\\CoolRecurrenceModel');
```

To specify the timezone Redo should use:

```
Redo::useTimezone('Continent/Country');
```

To specify the recurrences table name,

```
Redo::useRecurrencesTableName('new_table_name');
```

To turn on support for soft deletiong,

```
Redo::supportsSoftDeletes();
```

To turn on support for teams

```
Redo::supportsTeams();
```

Usage
-----

[](#usage)

To make a model recur, add the `Recurs` trait as in the following:

```
use StarfolkSoftware\Redo\Recurs;

class Task extends Model
{
    // ...
    use Recurs;
    // ...
}
```

To create a recurrence on a recur model,

```
$task->makeRecurrable(string $frequency, int $interval, \DateTime $startsAt, $ends = null)
```

To update a model's recurrence,

```
$task->updateRecurrence(string $frequency, int $interval, \DateTime $startsAt, $ends = null)
```

To pause a model's recurrence,

```
$task->pauseRecurrence(bool $value = true)
```

To check if a model's recurrence is active,

```
$task->recurrenceIsActive()
```

To return `recurrences` of a model,

```
$task->recurrences(): \Recurr\RecurrenceCollection|\Recurr\Recurrence[]

// other useful methods
$task->currentRecurrence()
$task->nextRecurrence()
$task->firstRecurrence()
$task->lastRecurrence()
```

To setup the team support, add the `TeamHasRecurrences` trait to the team model,

```
use StarfolkSoftware\Redo\TeamHasRecurrences;

class Team extends Model
{
    use TeamHasRecurrences;

    protected $table = 'teams';
}
```

To create a recurrence for a team,

```
$team->recurrences()->save([
    //...
]);
```

To fetch recurrences of a team,

```
$team->recurrences
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please recurrence [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Faruk Nasir](https://github.com/frknasir)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Total

5

Last Release

1188d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f609ab7be5e5a0089c8a3a52861fc379fd2038adb1190e0524c5f46a900fcf0?d=identicon)[starfolksoftware](/maintainers/starfolksoftware)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (315 commits)")[![mvdnbrk](https://avatars.githubusercontent.com/u/802681?v=4)](https://github.com/mvdnbrk "mvdnbrk (46 commits)")[![frknasir](https://avatars.githubusercontent.com/u/4984175?v=4)](https://github.com/frknasir "frknasir (18 commits)")[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (16 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (14 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (13 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (8 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (6 commits)")[![irfanm96](https://avatars.githubusercontent.com/u/42065936?v=4)](https://github.com/irfanm96 "irfanm96 (5 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (5 commits)")[![IGedeon](https://avatars.githubusercontent.com/u/694313?v=4)](https://github.com/IGedeon "IGedeon (4 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (4 commits)")[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (3 commits)")[![jessarcher](https://avatars.githubusercontent.com/u/4977161?v=4)](https://github.com/jessarcher "jessarcher (3 commits)")[![koossaayy](https://avatars.githubusercontent.com/u/6431084?v=4)](https://github.com/koossaayy "koossaayy (3 commits)")[![medilies](https://avatars.githubusercontent.com/u/35309918?v=4)](https://github.com/medilies "medilies (3 commits)")[![sixlive](https://avatars.githubusercontent.com/u/5108034?v=4)](https://github.com/sixlive "sixlive (3 commits)")

---

Tags

laravelstarfolksoftwareredo

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/starfolksoftware-redo/health.svg)

```
[![Health](https://phpackages.com/badges/starfolksoftware-redo/health.svg)](https://phpackages.com/packages/starfolksoftware-redo)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.8k28.9M627](/packages/spatie-laravel-data)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
