mtdowling / cron-expression

CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
http://mtdowling.com/blog/2012/06/03/cron-expressions-in-php/
MIT License
4.9k stars 336 forks source link

Add static isValid function to CronExpression to allow testing of expressions prior to creation #185

Closed loneregister closed 1 year ago

loneregister commented 1 year ago

This is my first attempt at contributing to someone elses GIT project. And I am keeping it simple. I am using this repository, and found that a function to test for valid expressions would be ideal. I have updated that functionality, and setup my own fork of this project at https://github.com/LoneRegister/cron-expression.git

Now, I'd like to propose review and update to this repository with my changes. BUT - I don't want to make a mistake, and break things. Kindness, and a bit of guidance would be greatly appreciated as I work to submit a valid, and accepted 1st commit.

Thank you

loneregister commented 1 year ago

Figured out how to fork, and do a pull request. Feature added, pending pull