Download the PHP package preee/php-dependency-analysis without Composer

On this page you can find all versions of the php package preee/php-dependency-analysis. 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 php-dependency-analysis

PhpDependencyAnalysis

Author Build Status Latest Stable Version Total Downloads License

PhpDependencyAnalysis is an extendable static code analysis for object-oriented PHP-Projects to generate dependency graphs from abstract datatypes (Classes, Interfaces and Traits) based on namespaces. Dependencies can be aggregated to build graphs for several levels, like Package-Level or Layer-Level. Each dependency can be verified to a defined architecture.

Read the Introduction-Chapter for further informations.

Example

See more examples.

Installation

For graph creation GraphViz is required on your machine, which is an open source graph visualization software and available for the most platforms.

After installing GraphViz the recommended way to install mamuz/php-dependency-analysis is..

As a Phar

The three lines above will, in order:

The phar file is securely signed with OpenSSL. To be able to execute the phar file, the public key must be named as the phar file, with .pubkey added, and must be placed in the same directory. That means don't change the name and location of the public key.

Update

Use the provided update command to get the latest version.

As a Composer Dependency

Features

Usage

Phpda can run out of the box by using a prepared configuration. As you can see configuration is defined by a YAML file.

To provide your own configuration create a yml file, e.g. located in ./myconfig.yml:

Perform an analysis with that configuration:

After that open the graph file ./phpda.svg with your prefered tool.

Read the Configuration-Chapter to get knowledge about all available options.

Wiki

  1. Introduction
  2. Requirements
  3. Configuration
  4. Examples
  5. Plugins

Code of Conduct

As contributors and maintainers of this project you have to respect the Code of Coduct

Changelog

See record of changes made to this project here

Contributing

Before opening up a pull-request please read the Contributing-Guideline

Alternatives

Check the resources in Code Analysis Section at Awesome PHP


All versions of php-dependency-analysis with dependencies

PHP Build Version
Package Version
Requires php Version ^5.6 || ^7.0
psr/log Version ~1.0
nikic/php-parser Version ^3.0
clue/graph Version ~0.8
graphp/algorithms Version ~0.8.1
graphp/graphviz Version ~0.2.0
doctrine/collections Version >=1.0
symfony/yaml Version >=3.0
padraic/phar-updater Version >=1.0
phpdocumentor/reflection-docblock Version ^3.0 || ^4.0
symfony/console Version ^3.0 || ^4.0
symfony/finder Version ^3.0 || ^4.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 preee/php-dependency-analysis contains the following files

Loading the files please wait ....