Skip to main content

Code Examples of bytefury/crater

Discover how to use Laravel's bytefury/crater examples.

11 examples

Invokable controllers

Files in this example

  • routes/web.php
    • app/Http/Controllers/V1/Invoice/InvoicePdfController.php
View all examples

Auth sanctum

Files in this example

  • composer.json
    • app/Models/User.php
      • routes/api.php
        • app/Http/Controllers/V1/Mobile/AuthController.php
View all examples

Local scopes

Files in this example

  • app/Models/PaymentMethod.php
    • app/Http/Controllers/V1/Payment/PaymentMethodsController.php
View all examples

Send email

Files in this example

  • app/Models/Payment.php
    • app/Http/Controllers/V1/Payment/SendPaymentController.php
      • app/Mail/SendPaymentMail.php
View all examples

Traits

Files in this example

  • app/Traits/HasCustomFieldsTrait.php
    • app/Models/Expense.php
View all examples

Queues

Files in this example

  • app/Jobs/GenerateInvoicePdfJob.php
    • app/Http/Controllers/V1/Invoice/InvoicesController.php
View all examples

Custom artisan commands

Files in this example

  • app/Console/Commands/CheckInvoiceStatus.php
    • app/Console/Kernel.php
View all examples

Helpers

Files in this example

  • app/Space/helpers.php
    • resources/views/app/pdf/invoice/partials/table.blade.php
View all examples

Accessors

Files in this example

  • app/Models/Payment.php
    • resources/views/app/pdf/payment/payment.blade.php
View all examples

Custom validation rules

Files in this example

  • app/Rules/Backup/PathToZip.php
    • app/Http/Controllers/V1/Backup/DownloadBackupController.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.