Download the PHP package lmn/composer-update-manager without Composer

On this page you can find all versions of the php package lmn/composer-update-manager. 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 composer-update-manager

Composer Update Manager

Build Status

Check if your composer.lock is up to date. This class will produce a file of outdated packeges and provide number of outdated packages. You can also update specific packages

I do not recomment updating packages in production

Create Manager

This package comes with predefined factory for ComposerUpdateManager. This factory will create manager with file storage. Default settings are set for linux users.

Get outdated packages for updates

Default file storage acts as a form of cache, so you can always ask for packages that are outdated. This list is not automaticaly refreshed. To refresh this list call checkAvailableUpdates method. Method getAvailableUpdates returns list of Lmn\ComposerUpdateManager\Package.

Check for updates

To run packages check you have to call ->checkAvailableUpdates() method. This will actually run composer outdated --direct if You use Composer as ApplicationInterface. This proces is a little bit time consuing, it can run for several minutes, so we recommend to run it in some kind of queue / background process.

Also worth to note, you may need to increase your memory_limit to 256M

Get outdated count

Create ComposerUpdateManager

To create the instance you have to provide a way of storing information about outdated packages.

  1. StorageInterface - We provide FileStorage that accepts config array with a file_path. This file_path is a file that will be used to store output of outdated packages.
  2. ApplicationInterface - the application that will chcek for outdated packages. We have Composer class as only option. This class requires 2 config values home, that is a variable for coposer command and root_path, that is a path to composer.json file.

home is usualy set to __DIR__ . '/vendor/bin/composer'

Example


All versions of composer-update-manager with dependencies

PHP Build Version
Package Version
Requires php Version 5.6.* || 7.*
composer/composer Version 1.10.*
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 lmn/composer-update-manager contains the following files

Loading the files please wait ....