Download the PHP package eclipxe/engineworks-progress-status without Composer

On this page you can find all versions of the php package eclipxe/engineworks-progress-status. 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 engineworks-progress-status

eclipxe/engineworks-progress-status - PHP Progress Status Library (using Subject-Observer)

Source Code Packagist PHP Version Support Latest Version Software License Build Status Reliability Maintainability Code Coverage Violations Total Downloads

Use this library to track progress on long tasks. This library uses the SPL classes for Subject Observer pattern. The subject is the Progress object, the observers get notified when the status changes.

Installation

Use composer to install this library composer require eclipxe/engineworks-progress-status

Basic use

EngineWorks\ProgressStatus\Status

This is an immutable class that stores:

EngineWorks\ProgressStatus\ProgressInterface

This is the contract for a progress class. it contains a few methods to be implemented:

EngineWorks\ProgressStatus\Progress

This is a basic implementation of the ProgressInterface interface ready to use. It will notify to all the observer on any change.

You can use this class as a template to set different ways to notify, just override the shouldNotifyChange method according to your specific needs.

EngineWorks\ProgressStatus\ProgressByRatio

This is a specialized progress (extending Progress class) that notify only when the radio (value vs total) is modified. With a ratio of 0.01 it will not update more than 100 times. If you want to notify every 5%, set the ratio to 0.05.

PHP Support

This library is compatible with at least the oldest PHP Supported Version with active support. Please, try to use PHP full potential.

We adhere to Semantic Versioning. We will not introduce any compatibility backwards change on major versions.

Internal classes (using @internal annotation) are not part of this agreement as they must only exist inside this project. Do not use them in your project.

Library versions

Contributing

Contributions are welcome! Please read CONTRIBUTING for details and don't forget to take a look in the TODO and CHANGELOG files.

Copyright and License

The eclipxe/engineworks-progress-status library is copyright © Carlos C Soto and licensed for use under the MIT License (MIT). Please see LICENSE for more information.


All versions of engineworks-progress-status with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
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 eclipxe/engineworks-progress-status contains the following files

Loading the files please wait ....