This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Component Usage | |
// Data for options | |
$users = \App\User::limit(6)->get()->transform(fn($user) => [ | |
'id' => $user->id, | |
'title' => $user->name, | |
'subtitle' => $user->email | |
]); | |
// Usage in view |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Portable UTF-8 | |
* Lightweight Library for Unicode Handling in PHP | |
* @details http://pageconfig.com/post/portable-utf8 | |
* @demo http://pageconfig.com/post/portable-utf-8-demo | |
* | |
* @version 1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
religious: | |
- :name: Christian | |
:id: en.christian#[email protected] | |
- :name: Islamic | |
:id: en.islamic#[email protected] | |
- :name: Jewish | |
:id: en.jewish#[email protected] | |
national: | |
- :name: Australian |