Skip to main content

Code Examples of koel/koel

Discover how to use Laravel's koel/koel examples.

15 examples

Auth sanctum

Files in this example

  • composer.json
    • app/Models/User.php
      • app/Services/TokenManager.php
        • app/Http/Controllers/API/AuthController.php
          • config/auth.php
View all examples

Traits

Files in this example

  • app/Traits/CanFilterByUser.php
    • app/Repositories/PlaylistRepository.php
View all examples

Repositories

Files in this example

  • app/Repositories/ArtistRepository.php
    • app/Http/Controllers/API/SongController.php
View all examples

Service providers

Files in this example

  • app/Providers/YouTubeServiceProvider.php
View all examples

Policies

Files in this example

  • app/Policies/PlaylistPolicy.php
    • app/Providers/AuthServiceProvider.php
      • app/Http/Controllers/API/PlaylistController.php
View all examples

Observers

Files in this example

  • app/Observers/SongObserver.php
    • app/Providers/EventServiceProvider.php
View all examples

Collection Methods: Each

Files in this example

  • app/Services/SmartPlaylistService.php
View all examples

Events & listeners

Files in this example

  • app/Listeners/DownloadArtistImage.php
    • app/Providers/EventServiceProvider.php
View all examples

Youtube

Files in this example

  • app/Services/YouTubeService.php
    • app/Http/Controllers/API/YouTubeController.php
View all examples

Collection Methods: Tap

Files in this example

  • app/Services/InteractionService.php
View all examples