How karuhun-developer/template-laravel-livewire works
Project type and purpose
• This is a full-stack Laravel web application (named “Waduh”) that provides a CMS/admin interface built with Livewire and Blade.
• It implements user authentication, role-based access control (Spatie Permission), API key management, settings management, and media storage.
File structure
• Top level directories:
• app/ – PHP code: Controllers, Livewire components, Models, Middleware, Traits
• resources/ – Front-end Blade views, Livewire view templates, CSS/JS assets managed via Vite
• routes/ – Web, API, CMS, and auth route definitions
• database/ – Migrations, factories, seeders
• config/ – Laravel and package configuration (auth, permission, media-library, sanctum, etc.)
• public/ – Entry point (index.php), static assets
• .docs/ – Project documentation pages for basic usage and management features
• Key architectural patterns:
• MVC in Laravel controllers + models
• Component-based UI via Livewire (server-driven AJAX)
• Event→Listener for sending email verification
• Trait reuse for common behaviors (API request detection, CRUD actions, filtering)
• Provider-based bootstrapping for service registration
README for additional insights
• Quick-start steps confirm typical Laravel + Vite build and serve
• “Folder Yang Sering Kepake” highlights the core directories: app/Http, app/Livewire, app/Models, config/, database/, resources/views/, and routes/