The Streams platform separates methods to retrieve and store entries from the entry objects themselves via repositories.
You can initialize an entry repository using the Streams::repository()
method and specifying the stream.
use Streams\Core\Support\Facades\Streams;
// Start using the repository.
Streams::repository('contacts');
// You can also access from the stream.
Streams::make('contacts')->repository();
New queries can be started from the repository.
// Start a new query.
Streams::entries('contacts');
// You can also start queries from the repository.
Streams::repository('contacts')->newQuery();
A blank TALL-stack Laravel project with Streams.
The fundamental features and utilities offered by the Streams platform.
A universal and extensible RESTful API for Streams.
Extensible, user-friendly, and performant control panel, components, and services.
Dev tooling for Laravel Streams.