Download the PHP package andrewdyer/scheduler without Composer

On this page you can find all versions of the php package andrewdyer/scheduler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package scheduler

Scheduler

Schedule jobs with this framework-agnostic cron scheduler, which can be easily integrated into your existing project or run as a standalone command scheduler.

License

Licensed under MIT. Totally free for private or commercial projects.

Installation

Usage

Job Frequencies

Helper Method Runs... Example
daily() At 00:00 $scheduler->addJob($job)->daily()
dailyAt(int $hour, int $minute) At a specific hour and minute $scheduler->addJob($job)->dailyAt(12, 30)
dailyTwice(int $firstHour, int $lastHour) At minute 0 past two specific hours $scheduler->addJob($job)->dailyTwice(11, 23)
mondays() At every minute on Monday $scheduler->addJob($job)->mondays()
tuesdays() At every minute on Tuesday $scheduler->addJob($job)->tuesdays()
wednesdays() At every minute on Wednesday $scheduler->addJob($job)->wednesdays()
thursdays() At every minute on Thursday $scheduler->addJob($job)->thursdays()
fridays() At every minute on Friday $scheduler->addJob($job)->fridays()
saturdays() At every minute on Saturday $scheduler->addJob($job)->saturdays()
sundays() At every minute on Sunday $scheduler->addJob($job)->sundays()
weekdays() At every minute on Monday, Tuesday, Wednesday, Thursday, and Friday $scheduler->addJob($job)->weekdays()
weekends() At every minute on Saturday and Sunday $scheduler->addJob($job)->weekends()
days(int ...$days) At every minute on specific days $scheduler->addJob($job)->days(2, 4, 6)
everyMinute() At every minute $scheduler->addJob($job)->everyMinute()
everyFiveMinutes() At every 5th minute $scheduler->addJob($job)->everyFiveMinutes()
everyTenMinutes() At every 10th minute $scheduler->addJob($job)->everyTenMinutes()
everyFifteenMinutes() At every 15th minute $scheduler->addJob($job)->everyFifteenMinutes()
everyThirtyMinutes() At every 30th minute $scheduler->addJob($job)->everyThirtyMinutes()
hourly() At minute 1 $scheduler->addJob($job)->hourly()
hourlyAt(int $minute) At a specific minute $scheduler->addJob($job)->hourlyAt(45)
monthly() At 00:00 on day-of-month 1 $scheduler->addJob($job)->monthly()
monthlyOn(int $day) At 00:00 on a specific day-of-month $scheduler->addJob($job)->monthlyOn(4)
on(int $day) At every minute on a specific day-of-month $scheduler->addJob($job)->on(1)

Combining Job Frequencies


All versions of scheduler with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
dragonmantank/cron-expression Version ^3.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package andrewdyer/scheduler contains the following files

Loading the files please wait ....