Download the PHP package neuron-php/jobs without Composer

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

CI codecov

Neuron-PHP Job Scheduler & Queue

A lightweight job scheduler and queue system for PHP 8.4+. Schedule recurring tasks with cron expressions and process background jobs with a reliable queue system.

Features

Quick Start

That's it! The jobs:run command handles both scheduled tasks and queued jobs.

Installation

Configure PSR-4 autoloading in composer.json:

Directory Structure

Configuration

Application Configuration (neuron.yaml)

Queue Drivers:

Job Scheduling

Schedule Configuration (config/schedule.yaml)

Configuration Options:

When to Use Queue Dispatch:

Creating Scheduled Jobs

Jobs implement the Neuron\Jobs\IJob interface:

Running Jobs

The job system can be run in three different modes depending on your needs:

1. Combined Mode (Recommended)

Run both scheduler and queue worker together with a single command:

This is the easiest way to run the complete job system. It manages both the scheduler and worker in one process.

Options:

Examples:

2. Scheduler Only

Run just the scheduler for executing scheduled tasks:

Daemon Mode (continuous polling):

Cron Mode (single poll per invocation):

Add to your system crontab:

3. Worker Only

Run just the queue worker for processing background jobs:

Worker Options:

Queue Processing

Dispatching Jobs to Queue

Using Helper Functions

Using QueueManager Directly

Creating Queued Jobs

Same as scheduled jobs - implement IJob interface:

Queue Management

Monitor Queue Status

Managing Failed Jobs

View Failed Jobs

Shows:

Retry Failed Jobs

Delete Failed Jobs

Clear Queues

Helper Functions

More Information

Learn more at neuronphp.com


All versions of jobs with dependencies

PHP Build Version
Package Version
Requires ext-curl Version *
ext-json Version *
dragonmantank/cron-expression Version ^3.4
neuron-php/cli Version 0.8.*
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 neuron-php/jobs contains the following files

Loading the files please wait ...