Skip to main content

Code Examples of jcergolj/laravellte

Discover how to use Laravel's jcergolj/laravellte examples.

14 examples

Pivot tables Many-to-many BelongsToMany

Files in this example

  • app/Models/Permission.php
    • database/migrations/2023_03_26_110250_create_permission_role_table.php
      • app/Models/User.php
View all examples

Blade components

Files in this example

  • resources/views/components/profile/element.blade.php
    • resources/views/profile/users/index.blade.php
View all examples

Helpers

Files in this example

  • app/helpers.php
    • composer.json
      • app/Http/Controllers/ConfirmedEmailController.php
View all examples

Custom validation rules

Files in this example

  • app/Rules/PasswordCheckRule.php
    • app/Http/Livewire/Profile/UpdatePassword.php
View all examples

Global scopes

Files in this example

  • app/Scopes/VisibleToScope.php
    • app/Models/User.php
View all examples

Custom exceptions

Files in this example

  • app/Exceptions/MissingModel.php
    • app/Services/ForRouteGate.php
View all examples

Events & listeners

Files in this example

  • app/Events/ProfileImageUploaded.php
    • app/Listeners/ResizeImage.php
      • app/Providers/EventServiceProvider.php
        • app/Http/Livewire/Profile/UpdateImage.php
View all examples

Blade directive

Files in this example

  • app/Providers/AppServiceProvider.php
    • resources/views/components/inputs/text.blade.php
      • resources/views/components/inputs/dropdown.blade.php
View all examples

Livewire

Files in this example

  • app/Http/Livewire/CreateUserComponent.php
    • resources/views/users/create.blade.php
View all examples

Gates

Files in this example

  • app/Services/ForRouteGate.php
    • app/Providers/AuthServiceProvider.php
      • app/Http/Middleware/Authorization.php
View all examples

Alpine.js

Files in this example

  • package.json
    • resources/views/layouts/app.blade.php
      • resources/js/app.js
View all examples

User profile

Files in this example

  • resources/views/users/edit.blade.php
    • app/Http/Livewire/EditUserComponent.php
View all examples