Download the PHP package wazum/php-dag without Composer

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

php-dag

Latest version CI

Draw directed graphs as text, in pure PHP.

Pipelines, workflows, dependency trees and state machines, drawn with box characters where you already look: the terminal, a CI log, a Markdown file.

PHP 8.2+ · MIT License

Install

Already have a DOT file from another tool? Render it straight to text:

A CI pipeline

For small graphs, Graph::fromEdges() and connect() save you the Node and Edge objects. See Building graphs.

How it works

  1. You build a graph of nodes and edges, by hand or from DOT.
  2. The layout puts the nodes into layers, orders each layer to avoid crossings, gives every box a position and routes every edge, in the way Graphviz dot does.
  3. The renderer draws boxes, edges and labels onto a grid of cells and turns it into plain text or ANSI-coloured text.

The layout is a chain of small processors, and you can add your own or replace one. How it works shows every step.

Guides

Guide What you learn
Building graphs Nodes, edges, the shortcuts, asking the graph about its structure, cycles and self-loops, reusing a layout
Styling boxes and edges Border and stroke styles, multi-line boxes, badges, highlighted paths, colours, ASCII output, spacing
Edge labels Labels and where they sit
Left-to-right flow Drawing a graph sideways
Groups Drawing a border around related nodes
DOT and the command line Reading and writing DOT, the php-dag command, Symfony workflows
Customising the layout Layout quality and your own layout processors
Performance What large graphs cost, with timings
How it works The three stages and every layout step, plus prior art

Support

Bug reports, questions, and feature ideas go to the issue tracker. See CONTRIBUTING.md to work on php-dag, and SECURITY.md to report a security problem.

License

MIT. Made by Wolfgang Klinger.


All versions of php-dag with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-mbstring Version *
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 wazum/php-dag contains the following files

Loading the files please wait ...