Download the PHP package lnkflow/laravel without Composer

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

LnkFlow Laravel

The official Laravel SDK for the LnkFlow /api/v1 contract: link management, CMS synchronization, consent-aware journeys, identity lifecycle, and conversion reporting.

Requires PHP 8.2+ and Laravel 12 or 13. The 0.x package line targets LnkFlow API v1.

What this package does

What this package does not do

Install

This package is currently in public beta. Pin the beta explicitly while the 0.1 API is validated in real applications:

Presets are client, links, content, journeys, conversions, and full. API client, link, journey, identity, and conversion integrations keep their LnkFlow records remotely and require no package-owned database tables. They should publish configuration only, as above. The host continues to use its existing session and queue infrastructure.

Content synchronization is the exception. It requires two local mapping tables, so content integrations should run:

In 0.1.0-beta.1, lnkflow:install publishes the content mapping migrations for every preset. This is installer behavior, not a database requirement. If you use the installer for a non-content integration, remove the newly published LnkFlow mapping migrations before running php artisan migrate.

Installation never writes a secret and never enables Cashier. client and links enable no feature flags at all — direct client calls never need one.

Configure the smallest token scope the application needs:

Find the numeric team id with GET /me, which lists every team the token can reach:

LNKFLOW_API_TOKEN is not optional in practice: identity(), search(), workspace(), and stats() use it and do not fall back to the link or conversion token. lnkflow:doctor calls identity()->me(), so a setup with only the two narrow tokens passes doctor's configuration checks and then fails its connectivity check. See Token scopes.

Typed client

connection('name') selects a named configuration; forTeam($id) sends an explicit X-LnkFlow-Team. The SDK never silently chooses another team. Every read model keeps the complete decoded payload in ->raw, so a field the server adds stays reachable without an SDK upgrade.

Preset quickstarts

Queues are required for content, journey, auth, and conversion automation. Workers must share the application database and cache. Observers dispatch after commit; nothing performs remote HTTP during a model save or a page request.

Manual conversions

Amounts are integer minor currency units. Stable invoice and refund identifiers are what make retries safe. Refunds carry no currency — the original sale's currency applies. Choose exactly one Stripe reporting owner: either LnkFlow's direct Stripe webhook or this package's Cashier adapter, never both. See Cashier.

Testing

The fake replaces the transport and performs no network calls. See Testing.

Operations and security

php artisan lnkflow:doctor is read-only. lnkflow:sync --dry-run writes nothing but still needs a write-ability token, because it validates through POST /links/preview. lnkflow:verify --test-conversion is deliberately mutating and requires confirmation or --force.

The transport retries only connection failures, 408, 429, 5xx, and the single retryable 409 (IDEMPOTENCY_IN_PROGRESS). POST retries require an Idempotency-Key or an endpoint stable business key. Never log bearer tokens or raw request bodies; the SDK's own diagnostics (LNKFLOW_LOGGING=true) carry endpoint, status, attempt, duration, team, and request id only. See Troubleshooting.

Documentation

Guide Contents
Tutorial composer require to a live short URL and a verified test conversion
API index every client, method, signature, return type, and required ability
Token scopes which token each call needs, and the traps
Client usage transport, responses, pagination, teams, connections
Links campaigns, links, slugs, previews, idempotency
CMS sync Eloquent adapters, mappings, reconciliation
Journeys and consent capture, identity, revocation
Browser bridge <x-lnkflow-script />, storage modes, CMP wiring
Conversions events, leads, sales, refunds, mappers
Cashier the optional Stripe adapter
Errors exception reference and retry semantics
Testing the fake, assertions, transport tests
Troubleshooting doctor, symptoms, production hardening
Upgrading compatibility policy

Upstream API contract

This SDK is a client of a contract it does not own. When the two disagree, the server wins. In the LnkFlow SaaS repository (AppitStudio/lnkflow.io):

A live, token-personalized copy of the reference is in the dashboard under API Docs (https://app.lnkflow.io/docs/api).

Versioning

The SDK follows SemVer. Additive API fields are tolerated. Breaking public PHP or API-contract changes require a package major version or a documented deprecation window. See Upgrading.

Contributing and security

See SECURITY.md, and CHANGELOG.md.

LnkFlow Laravel is licensed under the MIT License.


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/console Version ^12.0 || ^13.0
illuminate/contracts Version ^12.0 || ^13.0
illuminate/database Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/queue Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.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 lnkflow/laravel contains the following files

Loading the files please wait ...