Skip to main content

Code Examples of tighten/novapackages

Discover how to use Laravel's tighten/novapackages examples.

24 examples

Events & listeners

Files in this example

  • app/Providers/EventServiceProvider.php
    • app/Http/Controllers/App/PackageController.php
      • app/Events/PackageCreated.php
        • app/Listeners/SendNewPackageNotification.php
View all examples

Queues

Files in this example

  • app/Jobs/CheckPackageUrlsForAvailability.php
    • app/Console/Commands/CheckPackageUrls.php
View all examples

Traits

Files in this example

  • app/Policies/HandlesPackageAuthorizationTrait.php
    • app/Policies/PackagePolicy.php
      • app/Policies/ScreenshotPolicy.php
View all examples

Accessors

Files in this example

  • app/Package.php
    • app/Http/Controllers/PackageController.php
      • resources/views/collaborators/package-card.blade.php
View all examples

Willvincent/laravel-rateable

Files in this example

  • composer.json
    • app/Package.php
      • app/User.php
        • app/Jobs/UserRatePackage.php
View all examples

Factories

Files in this example

  • database/factories/PackageFactory.php
    • database/seeders/DatabaseSeeder.php
View all examples

Collection Methods: Each

Files in this example

  • database/seeders/DatabaseSeeder.php
View all examples

Public API

Files in this example

  • routes/api.php
    • app/Http/Controllers/Api/RecentController.php
      • app/Http/Resources/PackageResource.php
View all examples

API resources

Files in this example

  • app/Http/Resources/PackageResource.php
    • app/Http/Controllers/Api/PackagesController.php
View all examples

Service providers

Files in this example

  • app/Providers/GitHubServiceProvider.php
    • config/app.php
View all examples

Laravel/socialite

Files in this example

  • composer.json
    • routes/web.php
      • app/Http/Controllers/Auth/LoginController.php
View all examples

Blade directive

Files in this example

  • app/Providers/AppServiceProvider.php
    • resources/views/packages/show.blade.php
View all examples

File upload

Files in this example

  • resources/assets/js/components/PackageScreenshotsDropzone.vue
    • app/Http/Controllers/App/ScreenshotUploadController.php
View all examples

Algolia

Files in this example

  • composer.json
    • app/Package.php
      • app/Http/Controllers/Api/SearchController.php
View all examples

Singleton

Files in this example

  • app/Providers/GitHubServiceProvider.php
    • app/Providers/AppServiceProvider.php
View all examples

Collection Methods: Tap

Files in this example

  • tests/Feature/CollaboratorCreateTest.php
View all examples

Casting

Files in this example

  • app/Package.php
    • app/Http/Controllers/DisablePackageController.php
      • resources/views/collaborators/package-card.blade.php
View all examples