Skip to main content

Code Examples of spatie/freek.dev

Discover how to use Laravel's spatie/freek.dev examples.

14 examples

Queues

Files in this example

  • app/Jobs/TweetPostJob.php
    • app/Actions/PublishPostAction.php
View all examples

Service classes

Files in this example

  • app/Services/Twitter/TwitterServiceProvider.php
    • app/Services/Twitter/Twitter.php
View all examples

Blade components

Files in this example

  • app/View/Components/SeriesNextPostComponent.php
    • resources/views/components/series-next-post-component.blade.php
View all examples

Traits

Files in this example

  • app/Models/Concerns/HasSlug.php
    • app/Models/Link.php
      • app/Models/Post.php
View all examples

View composers

Files in this example

  • app/Http/ViewComposers/LazyViewComposer.php
    • app/Providers/ViewServiceProvider.php
      • resources/views/front/components/lazy.blade.php
View all examples

Factories

Files in this example

  • database/factories/LinkFactory.php
    • database/seeders/LinkSeeder.php
View all examples

Stripe payments

Files in this example

  • composer.json
    • resources/views/front/payments/partials/stripePayment.blade.php
      • app/Http/Controllers/PaymentsController.php
        • config/services.php
View all examples

Service providers

Files in this example

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

Testing

Files in this example

  • tests/Feature/Controllers/CreateLinkControllerTest.php
View all examples

Algolia

Files in this example

  • composer.json
    • app/Models/Post.php
      • app/Http/Livewire/SearchComponent.php
View all examples

Pagination

Files in this example

  • app/Http/Controllers/HomeController.php
    • resources/views/front/home/index.blade.php
View all examples

GroupBy

Files in this example

  • app/Http/Controllers/SpeakingController.php
    • resources/views/front/speaking/index.blade.php
      • resources/views/front/speaking/partials/talk.blade.php
View all examples

Signed url

Files in this example

  • routes/web.php
    • app/Models/Link.php
      • resources/views/mails/links/submitted.blade.php
View all examples

Actions

Files in this example

  • app/Http/Controllers/Discovery/Community/LinkApproval.php
    • app/Actions/ApproveLinkAction.php
View all examples