A simple measure of dependency freshness. Calculates the total number of years behind their respective newest versions for all dependencies listed in composer.json. Run composer global require ecoapm/libyear and make sure your global composer directory is in your $PATH. Alternatively, composer require --dev ecoapm/libyear will add libyear as a local dev dependency for your current directory's app. Download libyear.phar from the latest release, and put it in the current directory, or somewhere in your $PATH to be able to reference it from anywhere. There are obviously more nuanced ways to calculate dependency freshness. The advantage of this approach is its simplicity. You will be able to explain this calculation to your colleagues in about 30s. If your system has two dependencies, the first one year old, the second three, then your system is four libyears out-of-date.

Features

  • Requires PHP v7.4 or later
  • Requires Composer v2
  • At Singlebrook we try to keep our client’s apps below 10 libyears
  • We regularly rescue projects that are over 100 libyears behind
  • Rails 5.0.0 (June 30, 2016) is roughly 1 libyear behind 5.1.2 (June 26, 2017).

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow php-libyear

php-libyear Web Site

Other Useful Business Software
Supercharge Your Manufacturing with Easy MRP and MES Software Icon
Supercharge Your Manufacturing with Easy MRP and MES Software

Designed for SME manufacturers who want to reduce wasteful manual processing, save time and increase profits.

Flowlens eliminates stock-outs, shortage and overstocks, avoiding costly production delays. Stay in control of inventory levels and keep production running smoothly with real-time visibility and easy-to-use stock management. Import bulk data with ease.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of php-libyear!

Additional Project Details

Operating Systems

Windows

Programming Language

PHP

Related Categories

PHP Software Development Software, PHP Package Managers

Registered

2022-08-24