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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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