Expand description
Modules§
- ai
- cli
- config
- core
- database
- hardware
- http
- openapi
- prelude
- support
- testing
- tinker
- tower_
sessions - Overview
- validator
- Example:
Macros§
- belongs_
to - Macro deklarasi relasi Belongs To (N to 1) bergaya Laravel.
- belongs_
to_ many - Macro deklarasi relasi Belongs To Many (Many to Many / Pivot Table) bergaya Laravel.
- dd
- Macro untuk Dump and Die (Mencetak variabel ke browser HTML dan menghentikan request). Ini bekerja dengan cara memicu Panic khusus yang akan ditangkap oleh Router Lumina lalu di-render menjadi halaman HTML bergaya Dark Mode.
- dump
- Macro untuk mencetak variabel ke console (Terminal) secara terstruktur. Berguna untuk debugging tanpa menghentikan eksekusi program.
- has_
many - Macro deklarasi relasi Has Many (1 to N) bergaya Laravel.
- has_one
- Macro deklarasi relasi Has One (1 to 1) bergaya Laravel.
- resource
- Macro untuk mempermudah implementasi JsonResource secara cepat.
Attribute Macros§
- lumina_
form - pakem_
form - Attribute macro untuk mendeklarasikan Validasi Form dengan gaya yang lebih manusiawi. Contoh:
Derive Macros§
- Lumina
Model - Derive macro untuk mengimplementasikan trait Model secara otomatis (Lumina alias).
- Pakem
Model - Derive macro untuk mengimplementasikan trait Model secara otomatis di Pakem Framework.