Download the PHP package zenstruck/schedule-bundle without Composer

On this page you can find all versions of the php package zenstruck/schedule-bundle. 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 schedule-bundle

The ScheduleBundle

CI Code Coverage Latest Version Total Downloads

Schedule Cron jobs (commands/callbacks/bash scripts) within your Symfony application. Most applications have jobs that need to run at specific intervals. This bundle enables you to define these jobs in your code. Job definitions (tasks) are version controlled like any other feature of your application. A single Cron entry (php bin/console schedule:run) on your server running every minute executes due tasks.

The inspiration and some of the API/code for this Bundle comes from Laravel's Task Scheduling feature.

  1. Installation
  2. Quick Start
  3. Defining the Schedule
    1. ScheduleBuilder Service
    2. Your Kernel
    3. Bundle Configuration
    4. AsScheduledTask Attribute
    5. Self-Scheduling Commands
    6. Timezone
    7. Schedule Extensions
      1. Filters
      2. Callbacks
      3. Ping Webhook
      4. Email On Failure
      5. Notify On Failure
      6. Run on Single Server
      7. Limit to specific environment(s)
  4. Defining Tasks
    1. Task Types
      1. CommandTask
      2. CallbackTask
      3. ProcessTask
      4. MessageTask
      5. PingTask
      6. CompoundTask
    2. Task Description
    3. Frequency
      1. Cron Expression
      2. Fluent Expression Builder
      3. Hashed Cron Expression
    4. Task ID
    5. Timezone
    6. Task Extensions
      1. Filters
      2. Callbacks
      3. Ping Webhook
      4. Email Output
      5. Notify Output
      6. Prevent Overlap
      7. Run on Single Server
      8. Between
  5. Running the Schedule
    1. Cron Job on Server
    2. Symfony Cloud
    3. Alternatives
    4. Force Run
    5. Dealing with Failures
    6. Ensuring Schedule is Running
    7. Disable Schedule during Deploy
  6. CLI Commands
    1. schedule:list
    2. schedule:run
  7. Extending
    1. Custom Tasks
    2. Custom Extensions
    3. Events
  8. Full Configuration Reference

Installation

If not using Symfony Flex, be sure to enable the bundle.

Quick Start

  1. Add your schedule service (assumes autowire and autoconfiguration enabled):

  2. List your tasks to diagnose any problems:

  3. Add the following Cron job on your server running every minute:

See Defining Tasks for more options.

Full Configuration Reference


All versions of schedule-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
dragonmantank/cron-expression Version ^2.3|^3.0
symfony/console Version ^5.4|^6.0|^7.0
symfony/dependency-injection Version ^5.4|^6.0|^7.0
symfony/event-dispatcher Version ^5.4|^6.0|^7.0
symfony/http-kernel Version ^5.4|^6.0|^7.0
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 zenstruck/schedule-bundle contains the following files

Loading the files please wait ....