A single relationship to a stream entry.
// streams/users.json
"fields": {
"user": {
"type": "relationship",
"config": {
"related": "users"
}
}
}
{
"user": "655de760-6ba0-3f4f-ad0c-8051588ad6e2"
}
Basic value access displays the entry instance:
@verbatim// Basic access
{{ $entry->user->email }}@endverbatim
The decorated value also provides the same instance.
@verbatim// Decorated value
{{ $entry->user()->email }}
{!! $entry->user()->email()->mailto() !!}@endverbatim
@todo Generate methods from @docs
@todo Generate config options from class::configuration
// streams/users.json
"fields": {
"user": {
"type": "relationship",
"config": {
"related": "users"
}
}
}
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.