Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

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

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.