Download the PHP package pharaonic/laravel-executor without Composer

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

PHP Version : 8.3 | 8.4 | 8.5 Laravel Version : 13.x License Build
Source Packagist Version Packagist Downloads

Run deployment tasks in Laravel once or on every deploy.

Artisan commands, queued jobs and data fixes, tracked in batches with rollback.


Installation

The service provider is registered automatically, and the package loads its migration, so php artisan migrate creates the executors table.

Usage

An executor is a deployment task, such as clearing caches, dispatching a job, or fixing data. Each one lives in its own file, runs once or on every deploy, and is tracked in a batch that can be rolled back.

Create an Executor

The command creates a timestamped file in the executors folder, such as executors/2026_01_15_120000_warm_caches.php:

Type Runs
ExecutorType::ONCE The first time php artisan execute sees it, then never again
ExecutorType::ALWAYS Every time php artisan execute runs (the default)

$this->command() calls an Artisan command and $this->job() dispatches a job. down() runs when the executor's batch is rolled back.

Run the Executors

Add it to your deploy script:

Executors run in file-name order, and every executor that runs for the first time in the same call shares one batch. Run one executor by name, or only the executors with one of the given tags:

Several Servers

$servers limits an executor to some servers, by name or by IP address. Name each server with EXECUTOR_SERVER, which keeps working when its address changes, such as in Docker:

An executor with $servers keeps one record per server, so a ONCE executor runs once on each listed server. Leave $servers empty for work one server does for all of them.

When servers deploy at the same time, php artisan execute takes a lock in the executors table, so they run the executors one after another and a ONCE executor never runs twice.

Roll Back and Check

execute:fresh runs every ONCE executor again, so keep it to local and testing environments.

Documentation

For configuration, executor paths, the API reference, examples, troubleshooting, and upgrading from 1.x, see the Laravel Executor Documentation.

Contributing

Contributions are welcome. See CONTRIBUTING.md.

Support & Security

See SECURITY.md.

License

MIT. See LICENSE.


All versions of laravel-executor with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3 <8.6
laravel/framework Version ^13.0
pharaonic/php-dot-array Version ~8.3.1 || ~8.4.2 || ~8.5.2
pharaonic/php-smart-enum Version ~8.3.0 || ~8.4.0 || ~8.5.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 pharaonic/laravel-executor contains the following files

Loading the files please wait ...