Download the PHP package jalallinux/php-pm2 without Composer

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

[![Latest Version on Packagist](https://img.shields.io/packagist/v/jalallinux/php-pm2.svg?style=flat-square)](https://packagist.org/packages/jalallinux/php-pm2) [![Tests](https://github.com/jalallinux/php-pm2/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/jalallinux/php-pm2/actions/workflows/run-tests.yml) [![Total Downloads](https://img.shields.io/packagist/dt/jalallinux/php-pm2.svg?style=flat-square)](https://packagist.org/packages/jalallinux/php-pm2) ## Use and Manage **PM2** in php

Installation

You can install the package via composer:

Usage

Pm2

list :question:

Fetch list all running applications

Parameters:

Parameter Type Description
sortField string Sort field: name, id, pid, memory, cpu, status, uptime
desc bool Sort order is descending

link [:question:]()

Connect your server to your dashboard and start collecting metrics

Parameters:

Parameter Type Description
publicKey string PM2 account PUBLIC_KEY
secretKey string PM2 account SECRET_KEY
machineName ?string Machine name on the dashboard

unlink [:question:]()

Disconnect your server from your metrics dashboard


start :question:

Start command with specifics options or start a ecosystem.config.js

Parameters:

Parameter Type Description
command ?string Command to run in pm2
options array Options to start pm2 command Guide like ['name' => 'process-1', 'no-autorestart']

findBy :question:

Find specific process

Parameters:

Parameter Type Description
key string Key of property to find process
value string Value of key

kill

kill daemon


pid

Fetch pid of specific process

Parameters:

Parameter Type Description
name string Name of process

flush :question:

Empty all log files


update :question:

Update in memory pm2


stopAll :question:

Stop all processes


restartAll :question:

Restart all processes


deleteAll :question:

Will stop and delete all processes from pm2 list


stop :question:

Stop specific process

Parameters:

Parameter Type Description
idOrName string Id or name of process

restart :question:

Restart specific process

Parameters:

Parameter Type Description
idOrName string Id or name of process

delete :question:

Delete specific process

Parameters:

Parameter Type Description
idOrName string Id or name of process

save :question:

Freeze a process list for automatic respawn

Parameters:

Parameter Type Description
force bool Force save list

logOut :question:

Display all processes output logs

Parameters:

Parameter Type Description
idOrName ?string Id or name of process
lines int To dig in older logs

logErr :question:

Display all processes error logs

Parameters:

Parameter Type Description
idOrName ?string Id or name of process
lines int To dig in older logs

startup :question:

Generate an active startup script


version [:question:]()

Fetch installed pm2 version


install :question:

Install PM2 (Requirements: node, npm)

Parameters:

Parameter Type Description
version string Specific version

isInstall

Check if the PM2 is installed

Parameters:

Parameter Type Description
forceInstall bool Install pm2 if is not installed
version string Specific version

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of php-pm2 with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0|^8.1|^8.2
ext-json Version *
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 jalallinux/php-pm2 contains the following files

Loading the files please wait ....