Download the PHP package lotharthesavior/hot-reactor without Composer

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

Hot Reactor

Hot Reactor is Hot Reload mechanism for applications. It is built with OpenSwoole development in mind, but it reloads specific commands based on the file changes.

You can install it via composer install or download the project and arrange the .env file with the proper settings.

Setup

There are 2 ways to run the Hot Reactor:

Option 1: run other folders

To run services located in other directories:

Check the .env file for the settings you need to update. The following are the steps to follow:

Hot Reactor comes with a command line tool to run the Hot Reactor. You can run the following command to start the Hot Reactor:

As in the example, you can also overwrite the WORKING_DIR, COMMAND and OBJECTS settings via command options.

Option 2: install hot reloaded via composer

To install Hot Reactor via composer, you can run the following command:

After installing the package, you can run the following command to start the Hot Reactor:


Important: There is a bug related to when you want to restart an app running sub processes with OpenSwoole\Process. Then, you might need to wait for a SIGKILL at the end of the file so the app restarts gracefully. You do that by adding the following code:


Contributors

We welcome contributions from everyone! If you're interested in helping improve Hot Reactor, please follow these steps:

  1. Fork the repository on GitHub.
  2. Make your changes in a branch named for the feature or fix you're working on.
  3. Submit a pull request through GitHub for review.

Please make sure your contributions adhere to the following guidelines:

Thank you for considering contributing to Hot Reactor!

License

Hot Reactor is open-source software licensed under the MIT license. See the LICENSE file for more details.


All versions of hot-reactor with dependencies

PHP Build Version
Package Version
Requires ext-inotify Version *
ext-openswoole Version ^22.1
openswoole/ide-helper Version ^22.1
symfony/event-dispatcher Version ^7.0
vlucas/phpdotenv Version ^5.6
symfony/console Version ^7.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 lotharthesavior/hot-reactor contains the following files

Loading the files please wait ....