The url
field type stores a url string.
// streams/example.json
"fields": {
"website": {
"type": "url"
}
}
{
"website": "https://website.com"
}
Basic value access displays the stored value:
@verbatim// Basic access
{{ $entry->website }}@endverbatim
Strings also provide decorated values.
@verbatim// Decorated value
@if ($entry->website)
{!! $entry->website()->to('Visit Website') !!}
@endif@endverbatim
@todo Generate methods from @docs
@todo Generate config options from class::configuration
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.