Download the PHP package sendwavehub/flowdoc without Composer

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

flowdoc (PHP)

PHP FFI binding for FlowDoc — a fast serialization format: indent-delimited key: value records, parsed by a shared Rust core (flowdoc-core) linked over PHP's FFI extension.

Entry points

Licensing (soft gate)

NativeParser::parseFlow() (and every other parse/write method) works identically whether or not a license key is configured — there is no Pro-exclusive capability gated by this yet. If FLOWDOC_LICENSE_KEY is set, Flowdoc\License::status() validates it against FLOWDOC_LICENSE_SERVER + /api/licenses/validate (no default server — validation is skipped entirely if this isn't set too) and logs a warning (error_log('flowdoc: ...')) on an invalid key or an unreachable server.

Unlike bindings/python's license_status() and bindings/nodejs's licenseStatus(), this check does not fire automatically — PHP has no "on import" hook comparable to a Python module's top-level code or a Node require() call (Composer's PSR-4 autoloading only registers a namespace-to-directory mapping; it executes nothing until a caller actually calls something), and a typical PHP process is a single short-lived CLI script or php-fpm request that may never touch licensing at all. So License::status() is explicit-only: call it yourself when you want the check to run. Its result is still cached for the rest of the process, so a long-running worker (RoadRunner, Swoole, a queue consumer) that calls it repeatedly only pays the network cost once — call License::resetStatusCache() to force a fresh check.

valid is null when there was nothing to check (no key configured) or nothing could be checked (no server configured, or unreachable) — see src/License.php for the full behavior. Never throws.

In production, set FLOWDOC_LICENSE_SERVER=https://license-admin.sendwavehub.tech/api (the trailing /api is required — see RELEASING.md's "Production license server" section for why). There is no default; validation is skipped entirely without it.

Activation

License::activate(string $activatedBy, ?string $activationIp = null, ?array $metadata = null) is a separate, explicit call — like status(), it never runs automatically, and it's a mutating call (it flips the license to "Activated" server-side, unlike /validate's read-only check). Call it once, e.g. on first run/install:

Posts to FLOWDOC_LICENSE_SERVER + /licenses/<FLOWDOC_LICENSE_KEY>/activate (a single /api/ segment, since FLOWDOC_LICENSE_SERVER is expected to already carry one — see /validate's doubled /api/api/ above). Cache signedLicenseArtifact yourself if you need it later; this method doesn't persist anything. Never throws.

Requirements

Cutting a release (publishing a native library)

  1. Run .github/workflows/build-native-libs.yml (workflow_dispatch) — its php job builds and tests on all three platforms, and php-bundle downloads them and computes a checksums.json artifact.
  2. Attach each platform's file as a GitHub Release asset on the vX.Y.Z tag, named libflowdoc_core-<platform>.<ext> to match the url pattern in native-checksums.json.
  3. Copy the matching sha256 values from step 1's checksums.json into native-checksums.json under that version, and commit it.

Steps 2-3 are deliberately manual (or a separate, not-yet-written automation job) rather than CI writing back into the repo on its own — see build-native-libs.yml's php-bundle job comment for why.

Build & test

See the FlowDoc project for the format overview, benchmark numbers, and links to every other language binding (Rust, Go, Python, Node.js, C#, C++).


All versions of flowdoc with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-ffi Version *
rybakit/msgpack Version ^0.10.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 sendwavehub/flowdoc contains the following files

Loading the files please wait ...