Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 2e4077b

Browse files
committed
Merge branch 'develop'
2 parents 38862d6 + 9c5d67d commit 2e4077b

14 files changed

+3944
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7-
## [[*next-version*]] - YYYY-MM-DD
7+
## [0.1] - YYYY-MM-DD
88
Initial version.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
RebelCron
1+
Cronarchy
22
Copyright (C) 2019 RebelCode
33

44
This program is free software: you can redistribute it and/or modify

README.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,44 @@
1-
# RebelCode - Cronarchy
2-
31
[![Build Status](https://travis-ci.org/RebelCode/cronarchy.svg?branch=master)](https://travis-ci.org/RebelCode/cronarchy)
42
[![Code Climate](https://codeclimate.com/github/RebelCode/cronarchy/badges/gpa.svg)](https://codeclimate.com/github/RebelCode/cronarchy)
53
[![Test Coverage](https://codeclimate.com/github/RebelCode/cronarchy/badges/coverage.svg)](https://codeclimate.com/github/RebelCode/cronarchy/coverage)
64
[![Latest Stable Version](https://poser.pugx.org/rebelcode/cronarchy/version)](https://packagist.org/packages/rebelcode/cronarchy)
5+
6+
# Cronarchy
7+
8+
Welcome! This is cron anarchy!
9+
10+
# Introduction
11+
12+
Cronarchy is a pseudo-cron system similar to WP Cron. Unlike WP Cron however, Cronarchy exposes a more structured API and is developed for reliability, performance and consistent invocation.
13+
14+
We built Cronarchy in a way such that it can be distributed with plugins and themes without interfering with WP Cron and any plugins or themes that depend on it. This is in stark contrast with other solutions, such as [Cavalcade], which are intended to be used as drop-in replacements for the entire WP cron system. If you wish to give your entire WordPress site a cron upgrade, we recommend those solutions instead.
15+
16+
# Why use Cronarchy over WP Cron?
17+
18+
For us, WP Cron is an unreliable system that resulted in excess customer support. Often times what seemed like bugs in our plugins turned out to be a problem with WP Cron, be it a job not running, unexpectedly terminating or an errenous cron job holding back the rest of the job queue.
19+
20+
So we built Cronarchy. Here are some of the reasons why we think you should give a try:
21+
22+
* Object-oriented API
23+
* DI-friendly
24+
* Auto detects when it's stuck and resets
25+
* Detects unexpected script failure, cancellation or abortion
26+
* Better performance through the use of a dedicated jobs table
27+
* Can be triggered programmatically
28+
29+
# Requirements
30+
* PHP >= 5.4.0
31+
* WordPress >= 4.7
32+
33+
# Links
34+
35+
* [Wiki][wiki]
36+
* [Installation & Setup][wiki-install]
37+
* [API Documentation][wiki-api]
38+
* [Cavalcade] by [Human Made][humanmade]
39+
40+
[cavalcade]: https://github.com/humanmade/cavalcade
41+
[humanmade]: https://github.com/humanmade/cavalcade
42+
[wiki]: https://github.com/RebelCode/cronarchy/wiki
43+
[wiki-install]: https://github.com/RebelCode/cronarchy/wiki/Installation-&-Setup
44+
[wiki-api]: https://github.com/RebelCode/cronarchy/wiki/API-Documentation

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
"phpunit/phpunit": "^4.8",
1919
"ptrofimov/xpmock": "^1.1",
2020
"dhii/php-cs-fixer-config": "^0.1",
21-
"codeclimate/php-test-reporter": "<=0.3.2"
21+
"codeclimate/php-test-reporter": "<=0.3.2",
22+
"johnpbloch/wordpress-core": "^4.5",
23+
"phpstan/phpstan-shim": "^0.11.12",
24+
"szepeviktor/phpstan-wordpress": "^0.2.0"
2225
},
2326
"autoload": {
2427
"psr-4": {

0 commit comments

Comments
 (0)