The boolean
field type stores true/false values.
// streams/users.json
"fields": {
"enabled": {
"type": "boolean"
}
}
{
"enabled": true
}
Basic value access displays the stored key value:
@verbatim// Basic access
{{ $entry->enabled }}@endverbatim
// streams/users.json
"fields": {
"enabled": {
"type": "boolean",
"config": {
"default": false
}
}
}
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.