An update checker for your composer.lock

1.2.2 2016-10-14 15:13 UTC


The Update Checker is a command line tool that checks your applications dependencies for updates, regardless of the configured composer version constraints. It uses packagist behind the scenes.

$ php update-checker check /path/to/composer.lock

You can also integrate the checker in your own application/project

  • by using the UpdateCheckerCommand class in your Symfony Console application.

  • by using the UpdateChecker class directly in your own code:

     use Temp\Update\UpdateChecker;
     $checker = new UpdateChecker();
     $result = $checker->check('/path/to/composer.lock');

Create Phar File

To create a phar file you can use Box

$ php box.phar build