Download the PHP package dcousineau/phorever without Composer

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

Phorever

Role-based long-running process daemon for PHP projects!

Overview & Goals

Phorever provides an easy way to launch and manage background processes based on configuration defined in a phorever.json file in your project's root directory.

Phorever will automatically keep track of all running processes, respawning them based on configured behavior, and fire notifications on aberrant behavior.

Phorever is installable via Composer and automatically drops a binary to interact with.

Phorever's ultimate goal is to make provisioning servers and monitoring long-running processes more idiot proof. For example, a simple phorever start scheduler will ensure all background processes required for a scheduler server are running.

Installation

Phorever is provided as a composer package and requires PHP 5.4 and up. To use Phorever, simply add:

Composer will attempt to symlink the Phorever executable into your own bin folder. It is advisable that you make sure your own composer.json file is updated to define where that bin directory is located:

Configuration

Phorever by default reads from a configuration file found in your project root named phorever.json.

This configuration file defines the individual processes that should be launched and tracked, what roles they belong to, where log files should be dumped, among other things.

An example configuration file would look like:

Running the command bin/phorever start rolea roleb will launch both the "Short Lived" and "Long Lived" processes given they both belong to at least one of the roles we've requested to start.

Passing the --daemon parameter to Phorever will cause it to fork into the background.

Project Status

The project is currently in an MVP state after some exploratory coding. Currently it launches processes based on requested role and respawns processes after a resurrection wait time.

Currently not supported, but desperately needed before BETA1:

Features to come:


All versions of phorever with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
ext-pcntl Version *
symfony/console Version 2.2.*
symfony/config Version 2.2.*
monolog/monolog Version 1.2.*
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 dcousineau/phorever contains the following files

Loading the files please wait ...