Download the PHP package protonemedia/laravel-dusk-fakes without Composer
On this page you can find all versions of the php package protonemedia/laravel-dusk-fakes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download protonemedia/laravel-dusk-fakes
More information about protonemedia/laravel-dusk-fakes
Files in protonemedia/laravel-dusk-fakes
Package laravel-dusk-fakes
Short Description Persistent Fakes for Laravel Dusk
License MIT
Homepage https://github.com/protonemedia/laravel-dusk-fakes
Informations about the package laravel-dusk-fakes
Laravel Dusk Fakes
Sponsor Us
❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this package saves you time or if you're relying on it professionally, please consider sponsoring the maintenance and development and check out our latest premium package: Inertia Table. Keeping track of issues and pull requests takes time, but we're happy to help!
Installation
You can install the package via composer:
Persist Bus (queued jobs)
Make sure you've set the DUSK_FAKE_BUS
environment variable to true
in the Dusk environment.
Finally, add the PersistentBus
trait to your test. You don't have to manually call the fake()
method on the Bus
facade.
If you only need to fake specific jobs while allowing your other jobs to execute normally, you may pass the class names of the jobs that should be faked to the jobsToFake()
method:
Persist Mails
Make sure you've set the DUSK_FAKE_MAILS
environment variable to true
in the Dusk environment.
Finally, add the PersistentMails
trait to your test. You don't have to manually call the fake()
method on the Mail
facade.
Persist Notifications
Make sure you've set the DUSK_FAKE_NOTIFICATIONS
environment variable to true
in the Dusk environment.
Finally, add the PersistentNotifications
trait to your test. You don't have to manually call the fake()
method on the Notification
facade.
Persist Queue
Make sure you've set the DUSK_FAKE_QUEUE
environment variable to true
in the Dusk environment.
Finally, add the PersistentQueue
trait to your test. You don't have to manually call the fake()
method on the Queue
facade.
If you only need to fake specific jobs while allowing your other jobs to execute normally, you may pass the class names of the jobs that should be faked to the jobsToFake()
method:
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Other Laravel packages
Inertia Table
: The Ultimate Table for Inertia.js with built-in Query Builder.Laravel Blade On Demand
: Laravel package to compile Blade templates in memory.Laravel Cross Eloquent Search
: Laravel package to search through multiple Eloquent models.Laravel Eloquent Scope as Select
: Stop duplicating your Eloquent query scopes and constraints in PHP. This package lets you re-use your query scopes and constraints by adding them as a subquery.Laravel FFMpeg
: This package provides an integration with FFmpeg for Laravel. The storage of the files is handled by Laravel's Filesystem.Laravel MinIO Testing Tools
: Run your tests against a MinIO S3 server.Laravel Mixins
: A collection of Laravel goodies.Laravel Paddle
: Paddle.com API integration for Laravel with support for webhooks/events.Laravel Task Runner
: Write Shell scripts like Blade Components and run them locally or on a remote server.Laravel Verify New Email
: This package adds support for verifying new email addresses: when a user updates its email address, it won't replace the old one until the new one is verified.Laravel XSS Protection
: Laravel Middleware to protect your app against Cross-site scripting (XSS). It sanitizes request input, and it can sanatize Blade echo statements.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Pascal Baljet
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-dusk-fakes with dependencies
illuminate/contracts Version ^10.0|^11.0
laravel/dusk Version ^7.0|^8.0
spatie/invade Version ^1.1