Download the PHP package faustoff/laravel-pm2-admin without Composer
On this page you can find all versions of the php package faustoff/laravel-pm2-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download faustoff/laravel-pm2-admin
More information about faustoff/laravel-pm2-admin
Files in faustoff/laravel-pm2-admin
Package laravel-pm2-admin
Short Description Provides dashboard to manage PM2 applications such as start/restart/stop/list
License MIT
Informations about the package laravel-pm2-admin
laravel-pm2-admin
Provides dashboard to manage PM2 applications such as start/restart/stop/list.
composer require faustoff/laravel-pm2-admin
Publish assets
:
php artisan vendor:publish --tag=pm2-admin-assets
To auto update assets
on package update add to composer.json
:
Publish config
:
php artisan vendor:publish --tag=pm2-admin-config
Authorization
The PM2 Admin dashboard may be accessed via the /pm2
route. By default, you will only be able to access this dashboard in the local environment. To access dashboard in the non-local environment you should define viewPm2Admin
authorization gate in you application service provider, for example:
API Server
You should run API server which will process API requests from PM2 Admin dashboard and forward directly to backend pm2 daemon. Example of ecosystem.config.js
:
By default, your application will assume that the API server is accessible by the address pm2:8000
. This setup corresponds to a situation where your application, API server, and the pm2 daemon are running inside a Docker environment. In this configuration, the pm2 daemon is running inside a Docker container named pm2
.
You can override API server address which is used by your application to access API server by using PM2_ADMIN_API_SERVER_ADDRESS
environment variable.
All versions of laravel-pm2-admin with dependencies
illuminate/routing Version ^9.0|^10.0|^11.0
illuminate/validation Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0