PHPackages                             hollodotme/crontab-validator - 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. hollodotme/crontab-validator

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

hollodotme/crontab-validator
============================

A validator for crontab expressions.

v2.0.1(8y ago)11230.4k↓20%4[1 issues](https://github.com/hollodotme/crontab-validator/issues)2MITPHPPHP &gt;=7.1

Since Aug 29Pushed 6y ago2 watchersCompare

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

READMEChangelog (4)Dependencies (1)Versions (6)Used By (2)

[![Build Status](https://camo.githubusercontent.com/1f8a639b2835ca26b0a9a4200c92f63e4aba85de8330f5b296c86d624ceac584/68747470733a2f2f7472617669732d63692e6f72672f686f6c6c6f646f746d652f63726f6e7461622d76616c696461746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hollodotme/crontab-validator)[![Coverage Status](https://camo.githubusercontent.com/44afc1bf48e824b04fd1503aeaaa3e4b057b9c2babb318788aa8104806c9d347/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f686f6c6c6f646f746d652f63726f6e7461622d76616c696461746f722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/hollodotme/crontab-validator?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/2c752bfcc21b66507a5bbc5792c78fb115989e9bb490a9efc50d4df1fa30051a/68747470733a2f2f706f7365722e707567782e6f72672f686f6c6c6f646f746d652f63726f6e7461622d76616c696461746f722f762f737461626c65)](https://packagist.org/packages/hollodotme/crontab-validator)[![Total Downloads](https://camo.githubusercontent.com/3f2c096f8fc876cd682797c990f841b9ebef0e7a20a1e15089afaa6a2a6b810b/68747470733a2f2f706f7365722e707567782e6f72672f686f6c6c6f646f746d652f63726f6e7461622d76616c696461746f722f646f776e6c6f616473)](https://packagist.org/packages/hollodotme/crontab-validator)[![License](https://camo.githubusercontent.com/e9f6226943d926c67ad908b8735ccc080a5cd906e0453d1a148556d01117d550/68747470733a2f2f706f7365722e707567782e6f72672f686f6c6c6f646f746d652f63726f6e7461622d76616c696461746f722f6c6963656e7365)](https://packagist.org/packages/hollodotme/crontab-validator)

CrontabValidator
================

[](#crontabvalidator)

A validator for crontab expressions.

Sources used to determine the allowed expressions:

-
-

Features
--------

[](#features)

- Validation of crontab expressions like 6,21,36,51 7-23/1 \* FEB-NOV/2 \*.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1

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

[](#installation)

```
composer require "hollodotme/crontab-validator"

```

Usage
-----

[](#usage)

### Boolean validation

[](#boolean-validation)

```
