PHPackages                             monolyth/croney - 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. monolyth/croney

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

monolyth/croney
===============

PHP-based CRON scheduler

0.6.4(1y ago)0440[1 PRs](https://github.com/monolyth-php/croney/pulls)1MITPHPPHP &gt;=8.1

Since Mar 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/monolyth-php/croney)[ Packagist](https://packagist.org/packages/monolyth/croney)[ RSS](/packages/monolyth-croney/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (20)Used By (1)

Croney
======

[](#croney)

PHP-based CRON scheduler

Don't you hate having to juggle a gazillion cronjobs for each application? We sure do! We *also* hate having to adhere to a library-specific code format to circumvent this problem (e.g. Symfony, Laravel... you know who you are).

You know what we'd like to do? We just want to register a bunch of callables and have a central script figure it out. Hello Croney!

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

[](#installation)

### Composer (recommended)

[](#composer-recommended)

```
composer require monomelodies/croney
```

### Manual

[](#manual)

1. Download or clone the repository;
2. Add the namespace `Croney` for the path `path/to/croney/src` to your PSR-4 autoloader.

Setting up the executable
-------------------------

[](#setting-up-the-executable)

Croney needs to run periodically, so create a simple executable that we will add as a cronjob:

```
#!/usr/bin/php
