Download the PHP package fapost/foundation without Composer

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

FaPost Foundation

fapost/foundation is the public contract layer of the FaPost platform. It holds the interfaces, DTOs, enums and value objects that Core, Solutions and Plugins agree on. It is the only package a Solution or Plugin is allowed to depend on to integrate with the platform.

Design rules

Requirements

Namespace

What's inside

Area Namespace Purpose
Extension lifecycle Contracts, Lifecycle, Manifest, Support Register and validate Solutions/Plugins against the platform
Flow engine Flow\*, Contracts\NodeHandlerInterface, Contracts\DataAccessorInterface Node handlers, expression engine, triggers, contact writes, scoped state
Messaging Messaging\* Outbound message senders, delivery results, typing/processing indicators
Channels Channel\* Channel adapters and webhook registration
Media Media\* Channel media upload/download contracts and DTOs
RAG Contracts\RagAdapterInterface, DTO\*Rag* Retrieval-augmented generation adapters
Analytics Analytics\* Analytics event DTO, writer contract, event types
Inbound/outbound DTOs DTO\* Incoming/outgoing messages, media, webhook payloads, execution results

Extension entry point

An extension never touches Route, Schedule or Migrations directly. It declares intent through CoreRegistrarInterface, whose implementation lives in Core:

Both declare a Manifest\SolutionManifest used for boot-time validation, capability compatibility checks and degraded-state detection:

Flow node handlers

NodeHandlerInterface is the contract for flow-engine nodes. The engine resolves a handler by (type, version) from an in-memory registry — no DB queries. Versioning rules:

Handlers must be graph-unaware (return a sourceHandle, not the next node id) and safe to retry. Flow\Handlers\AbstractVersionedHandler provides a base for versioned handlers.

Testing

License

Licensed under the Apache License 2.0.


All versions of foundation with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/support Version ^11.0 || ^12.0
psr/http-message Version ^1.1 || ^2.0
spatie/laravel-data Version ^4.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 fapost/foundation contains the following files

Loading the files please wait ...