🤹
🤹
🤹
🤹
TALL Stack Tips
Search…
🤹
🤹
🤹
🤹
TALL Stack Tips
What is TALL Stack
Tailwind
Tailwind Resources
Swinging Bell Notification Icon
Alpine
Alpine Resources
Tabbed Content Using Alpine JS
Checkbox component with SVG tick
Dropdown animation
Laravel
Tabler Icons Component
Password-less Login with Laravel 8
Password-less Login with Magic Link in Laravel 8
Laravel Resources
Laravel 8 Conditional Login Redirect
Simplify Laravel CRUD Controllers
CSRF and expired login forms
CSRF and expired logout forms
Specify a different mail theme for Notifications
Using a mutator to save currency
Using Spatie Valuestore to hold frequently accessed settings
Using the old() helper
Alternatives to using Eloquent Accessor
UpdateOrCreate may not update timestamp
Use of lockForUpdate()
Using S3
Super Simple User Based Feature Flags
Installing a Specific Version of Laravel
Versioning your Laravel Project
CSS Cache Busting with your Git Commit SHA
Adding column to Database Notifications table
Find nearby locations using the Haversine formula in Eloquent query
PHP DateTime formatting cribsheet
Livewire
Livewire Resources
Naming Livewire Components
Dynamic Cascading Dropdown with Livewire
Hiding a button after click
Working with Javascript Components
SweetAlert2 with Livewire
Clearing checkboxes in Livewire
Livewire File Uploads Using S3
Simple Log File Viewer
Related Resources
Testing resources
When Composer runs out of memory
Deployment
Security
Scheduler & Cron tips
LastPass tips
Using Git
VSCode Tips
Markdown
Cpanel resources
Powered By
GitBook
Naming Livewire Components
If you put your livewire component in a sub folder then its name will be lowercase foldername followed by a period; eg
Livewire model of App\Http\Livewire\Modals\Notifications.php
1
@livewire('modals.notifications')
2
​
3
onclick="Livewire.emit('openModal', 'modals.notifications')" />
Copied!
If your Component Class is Pascal Case, eg
DatabaseNotifications
then the class name called from the frontend will be lowercase and with a hyphen before any uppercase, eg
1
@livewire('modals.database-notifications')
2
​
3
onclick="Livewire.emit('openModal', 'modals.database-notifications')" />
Copied!
Livewire - Previous
Livewire Resources
Next - Livewire
Dynamic Cascading Dropdown with Livewire
Last modified
6mo ago
Copy link