Download the PHP package srmilon/graph-composer without Composer

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

clue/graph-composer Build Status

Graph visualization for your project's composer.json and its dependencies:

dependency graph for graph-composer

Table of contents

Usage

Once clue/graph-composer is installed, you can use it via command line like this.

graph-composer show

The show command creates a dependency graph for the given project path and opens the default desktop image viewer for you:

graph-composer export

The export command works very much like the show command, but instead of opening your default image viewer, it will write the resulting graph to STDOUT or into an image file:

Install

You can grab a copy of clue/graph-composer in either of the following ways.

As a phar (recommended)

You can simply download a pre-compiled and ready-to-use version as a Phar to any directory. Simply download the latest graph-composer.phar file from our releases page:

Latest release

Additionally, you'll have to install GraphViz (dot executable). Users of Debian/Ubuntu-based distributions may simply invoke:

Windows users have to download GraphViZ for Windows and remaining users should install from GraphViz homepage.

That's it already. You can now verify everything works by running this:

If you prefer a global (system-wide) installation without having to type the .phar extension each time, you may simply invoke:

You can verify everything works by running:

Updating phar

There's no separate update procedure, simply download the latest release again and overwrite the existing phar.

Installation using Composer

Alternatively, you can also install graph-composer as part of your development dependencies. You will likely want to use the require-dev section to exclude graph-composer in your production environment.

This method also requires PHP 5.3+, GraphViz and, of course, Composer.

You can either modify your composer.json manually or run the following command to include the latest tagged release:

Now you should be able to invoke the following command in your project root:

Alternatively, you can install this globally for your user by running:

Now, assuming you have ~/.composer/vendor/bin in your path, you can invoke the following command:

Note: You should only invoke and rely on the main graph-composer bin file. Installing this project as a non-dev dependency in order to use its source code as a library is not supported.

Updating dependency

Just run composer update clue/graph-composer to update to the latest release.

If you installed it globally via composer you can run composer global update clue/graph-composer instead.

Manual Installation from Source

This project requires PHP 5.3+, Composer and GraphViz:

You can now verify everything works by running graph-composer like this:

If you want to build the above mentioned graph-composer.phar yourself, you have to install clue/phar-composer and can simply invoke:

Updating manually

License

MIT


All versions of graph-composer with dependencies

PHP Build Version
Package Version
Requires clue/graph Version ~0.9.0
jms/composer-deps-analyzer Version 0.1.*
symfony/console Version ~2.1
graphp/graphviz Version ~0.2.0
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 srmilon/graph-composer contains the following files

Loading the files please wait ....