Download the PHP package aenzenith/laravel-dev-mesh without Composer

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

Laravel Dev Mesh

Packagist Version Total Downloads PHP Version Laravel Tests

Run Horizon, the scheduler and any other long-running artisan service of one or more Laravel projects from a single command, with a live terminal dashboard.

Requirements

Windows

Native Windows is not supported. Horizon itself needs pcntl and posix, which PHP does not provide on Windows, and so does this package: Composer refuses to install it there. The dashboard also relies on POSIX tools and signals (env -i, stty, ps, SIGTERM).

Use WSL 2 instead: install PHP with pcntl and posix inside the Linux distribution, keep the projects on the Linux file system (e.g. ~/code, not /mnt/c) and run the command from a WSL terminal.

Installation

Configuration

config/dev-mesh.php:

Keep the HERD_ prefix when you use Laravel Herd: its PHP reads the ini that holds the certificate authority for .test TLS from those variables.

Usage

Set DEV_MESH_COMMAND (or command in the config) to use another name, e.g. dev.

Keys

Key Action
↑ ↓ / k j select a project
← → / h l select a service
r restart the selected service (starts it if it is down)
s stop the selected service, or start it again
q / Ctrl+C stop every service and quit

A restart is graceful: the service gets SIGTERM and is killed only if it is still running after 15 seconds, so Horizon finishes the jobs it is working on. A service stopped with s stays down (no crash restarts, no reloads) until you start it again.

Restart on code changes

Horizon and queue:work boot the application once and keep it in memory, so an edited job goes on running its old code. The dashboard polls every project once a second for changes in watch.paths and restarts the project's services once the files settle, so a branch checkout restarts them once, not per file. Directories are scanned for .php files only (a SQLite database or a log next to the code never triggers a restart); files listed by name, such as .env, are watched whatever they contain. A crashed service waiting for its next retry starts at once, so fixing the error brings it back immediately.

schedule:work starts a fresh schedule:run every minute, but it does keep the variables of the .env it booted with and hands them to every run, so it is restarted too. Put a service in watch.except to leave it running, and set watch.paths to [] to turn watching off.

Translations

The dashboard follows the application locale and ships with 19 languages: English, Turkish, German, French, Spanish, Portuguese (Brazil), Italian, Dutch, Polish, Russian, Ukrainian, Chinese (Simplified and Traditional), Japanese, Korean, Arabic, Hindi, Indonesian and Vietnamese. Publish the language files to change or add one:

Testing

Contributing

See CONTRIBUTING.md. Commits follow Conventional Commits; releases and the changelog are generated from them.

License

MIT. See LICENSE.


All versions of laravel-dev-mesh with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-pcntl Version *
ext-posix Version *
illuminate/console Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
symfony/console Version ^7.0|^8.0
symfony/process Version ^7.0|^8.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 aenzenith/laravel-dev-mesh contains the following files

Loading the files please wait ...