Download the PHP package artisan-build/sink-server without Composer

On this page you can find all versions of the php package artisan-build/sink-server. 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 sink-server

sink-server

Read-only mirror. This repository is a read-only split of the artisan-build/sink monorepo. Issues and pull requests are disabled here — please open them on the monorepo.

The receive side of Sink. It is consumed by the Sink app and provides the ingest path, metadata parsing, object storage, and retention pruning. The inbox UI and body-blind MCP server land in later build steps.

Installation

This package is consumed by the Sink app. See the Sink app README for environment setup.

Ingest

POST /ingest accepts a sink-contracts envelope authenticated with Authorization: Bearer <token>. Tokens are resolved through artisan-build/built-for-cloud. Valid envelopes are upserted by idempotency_key, raw MIME is written to object storage, and a queued parse job extracts searchable metadata.

GET /capabilities is unauthenticated and reports the supported envelope major versions.

Storage

Raw MIME is stored on SINK_DISK at raw/{app}/{idempotency_key}.eml. Attachments are extracted by the parse worker and stored at attachments/{app}/{idempotency_key}/{n}-{filename}. Body text is not persisted in database columns; bodies remain only in the raw MIME object.

Configuration

Publish the config with:

Useful environment variables:

Retention

sink:maintain runs sink:prune. The service provider schedules it hourly. Pruning deletes expired messages and object-storage blobs, then enforces optional message-count and byte caps oldest-first.

License

MIT. See LICENSE.


All versions of sink-server with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
artisan-build/built-for-cloud Version ^0.6
artisan-build/sink-contracts Version ^1.0
illuminate/bus Version ^13.17
illuminate/contracts Version ^13.17
illuminate/database Version ^13.17
illuminate/filesystem Version ^13.17
illuminate/http Version ^13.17
illuminate/queue Version ^13.17
illuminate/support Version ^13.17
laravel/mcp Version ^0.7 || ^0.8
livewire/livewire Version ^4.1
zbateson/mail-mime-parser Version ^3.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 artisan-build/sink-server contains the following files

Loading the files please wait ...