Download the PHP package dndark/laravel-logic-map without Composer

On this page you can find all versions of the php package dndark/laravel-logic-map. 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 laravel-logic-map

Laravel Logic Map 2.1

Laravel Logic Map builds an evidence-backed semantic graph of a Laravel application. It answers workflow and change-impact questions that a basic call graph cannot: which route reaches a service, where branches and transactions occur, which jobs/events/listeners continue the flow, which tables or external systems are affected, and which modules/tests should be reviewed after a change.

What 2.1 answers

The index is deterministic and stored in lm_* tables on the application's configured database connection. Runtime collection is optional and never replaces static evidence.

Requirements

Installation

logic-map-assets is the only public asset tag. The package does not register the broad laravel-assets alias, so Composer discovery never publishes files by itself.

The Composer package name remains lowercase (dndark/laravel-logic-map), as required by Composer. PHP namespaces use the case-sensitive PSR-4 prefix DNDark\LogicMap.

Indexing

Configuration is flat under logic-map.*; there is no logic-map.v2.* wrapper. The defaults scan app, routes, database, config, and tests, then store the active snapshot in lm_* tables on the application's database connection (created by the package migrations — run php artisan migrate; override the connection with logic-map.storage.connection / LOGIC_MAP_DB_CONNECTION). The tests root is required for impact reports to select related tests; remove it only when that trade-off is intentional.

Open the protected viewer at /logic-map after publishing assets and creating an index.

Automatic domain grouping

The index groups every eligible route, class, method, async symbol, persistence resource, process, and test into exactly one primary module. Results are classified as:

Configured explicit mappings and app/Modules / app/Domain directory roots remain authoritative. Semantic assignments are probable, deterministic, and explainable through bounded source/evidence IDs on the member_of_module relation. Query endpoints only read the persisted result; they never infer modules during a request.

After upgrading to 2.1, run php artisan logic-map:index --force. To temporarily restore legacy namespace/directory/fallback behavior, set modules.semantic.enabled to false and force a new index.

Workflow examples

Use a canonical node ID or an exact qualified name:

Workflow output includes ordered steps, decisions, terminal paths, transaction segments, sync/async boundaries, effects, gaps, truncation metadata, and evidence IDs.

Impact examples

Analyze one symbol or a Git range:

Impact is reason-grouped rather than a flat dependency list. Each affected symbol contains its ordered node/edge chain and evidence IDs. Categories include hard dependency, workflow, async, shared state, external contract, module, uncertainty, and test scope.

AI documentation export

Export the active V2 snapshot as module and workflow dossiers:

The command writes overview.md, modules/*.md, and workflows/*.md. Module dossiers use the module workflow projection rather than treating every module member as a changed symbol. Workflow dossiers embed Mermaid diagrams together with ordered steps, effects, gaps, and evidence.

Export a machine-readable, impact-weighted bundle for AI agents:

The command writes graph.json (full node/edge/module inventory), impact/<symbol-slug>.json (per-symbol affected-symbol list with an explainable score/band/factors weight), modules/<slug>.json (membership and entrypoints), llms.txt (agent preamble and weight legend), and index.md. The bundle is a pure function of the active snapshot — byte-identical across repeated exports — so it is safe to commit or serve as a build artifact.

HTTP API

Canonical IDs in URL path segments use base64url encoding. Complete envelopes and examples are published on the developer docs site.

Evidence and certainty

Every graph relation references evidence records with an origin (static_ast, laravel_boot, runtime, or git_diff), detector, certainty (certain, probable, or possible), source location when available, and bounded attributes. Missing evidence remains unknown; it is never reported as proof that code did not execute.

HTTP viewer protection

The viewer/API are enabled only in local and testing by default and run through the configured middleware:

If production access is required, explicitly add the environment and an authentication/authorization middleware owned by the consumer application.

Runtime evidence (opt-in)

Runtime collection is disabled by default. Enable it only in an environment where bounded observations are appropriate:

Only observations with stable source and target node IDs, a compatible relation kind, and the same snapshot ID can overlay static queries. Coverage uses only these phrases: Observed in N selected runtime sessions, Not observed in selected sessions, and No runtime data available.

Known static-analysis limits

Commands

V1 cache snapshots, routes, reports, and UI are intentionally removed. The export-docs name is reused by a V2-native implementation; no V1 graph/report compatibility layer is loaded. See UPGRADING.md.

License

MIT. See LICENSE.


All versions of laravel-logic-map with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-pdo Version *
illuminate/support Version ^10.0|^11.0|^12.0
nikic/php-parser Version ^5.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 dndark/laravel-logic-map contains the following files

Loading the files please wait ...