PHP Classes

How to Implement a PHP CLI Progress Indicator by Animating the Cursors While a PHP Task in Running - PHP CLI Spinner package blog

Recommend this page to a friend!
  All package blogs All package blogs   PHP CLI Spinner PHP CLI Spinner   Blog PHP CLI Spinner package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement a PH...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Package: PHP CLI Spinner

Sometimes applications need to execute tasks that take a long time to finish. It is always good to provide feedback to the users to let them know what is happening, avoiding that the users become too anxious.

For console-based applications, usually, a cursor may appear blinking, but that does not give feedback on whether the current application is running well.

This package implements a better solution by showing the cursor changing its character, so it appears to be animated. This can give the users a better feeling by letting them know that the application is running.

The package implements a solution that uses a parallel process to animate the cursor character, so the application does not have to stop its main job to update the cursor animation.




Loaded Article

About the PHP CLI Spinner Package

The package PHP CLI Spinner is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Make the cursor spin in the command line shells

Here follows in more detail what it does:

This package can make the cursor spin in the command line shells.

It can start a parallel process that will change the character that appears in the current cursor position in the command-line shell to make it appear as an animated cursor.

The package provides theme classes that implement different styles of animations to be used as characters that appear spinning near the cursor.

Conclusion

The PHP CLI Spinner can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

1,614,673 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   PHP CLI Spinner PHP CLI Spinner   Blog PHP CLI Spinner package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement a PH...