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();
The fundamental features and utilities offered by the Streams platform.
A full featured, universal, and extensible RESTful API.
Extensible, user-friendly, and performant control panel and user interface utilities and services.
CLI Tooling for Laravel Streams.