Download the PHP package quazardous/gramphp-bundle without Composer

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

gramphp-bundle

CI Packagist

The Symfony integration of gramphp — a small workflow graph for work queues that already live in your database. Graphs declared in configuration become journal services over your Doctrine connection; the tables join your migrations; the janitor runs as commands.

Symfony 6.4, 7 or 8; DoctrineBundle 2 or 3; MariaDB (or MySQL 8).

Configure

A graph file is gramphp's canonical form — grampy's format, the same file in Python and PHP — as Graph::toJson() writes it. definition: takes the same form inline.

gramphp's MariaDB driver needs READ COMMITTED. Set it when the connection opens:

Use

Each graph is a NodeJournal service, gramphp.journal.<name>, autowired by argument name — or by type when there is a single graph:

The journals run on your own connection: node rows and your writes can go in one transaction.

The tables

With the ORM, the gramphp tables join the schema it generates: doctrine:migrations:diff creates them, and never proposes to drop them. A test checks that a diff on tables gramphp's own DDL created proposes nothing.

Without the ORM, bin/console gramphp:schema --dump-sql prints the CREATE TABLE statements for your migration; --force runs them.

The janitor, the monitoring, the drawing

command does
gramphp:expire [graphs…] gives back the leases held longer than their node allows
gramphp:settle [graphs…] --limit=500 concludes waits, lets due arrivals through their lanes, skips optional nodes past their grace — on the graph's candidates, in passes of --limit
gramphp:prune-history --before='-30 days' deletes old history, except what a retry or loop bound counts
gramphp:snapshot [graphs…] --format=table\|json where each node stands: counts, oldest running, next retry due, ready and since when
gramphp:diagram <graph> --format=mermaid\|state\|dot --counts draws the graph, with live counts

Schedule the janitor with cron or Symfony Scheduler; feed snapshot to your monitoring.

Development

Everything runs in Docker:

License

MIT.


All versions of gramphp-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.11 || ^3.0
quazardous/gramphp Version ^0.1
symfony/config Version ^6.4 || ^7.0 || ^8.0
symfony/console Version ^6.4 || ^7.0 || ^8.0
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0
symfony/framework-bundle Version ^6.4 || ^7.0 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.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 quazardous/gramphp-bundle contains the following files

Loading the files please wait ...