web-id-fr/
laravel-playwright
g4t.io

Laravel Playwright - Start testing with Playwright quickly

by Paul Redmond

The Laravel Playwright package provides the boilerplate needed to begin testing your Laravel applications with Playwright quickly. This package will help you in…

README from web-id-fr/laravel-playwright Open on GitHub →

Laravel + Playwright Integration

This package provides the necessary boilerplate to quickly begin testing your Laravel applications using Playwright.

Installation

If you haven't already installed Playwright; that's your first step.

yarn create playwright

Now you're ready to install this package through Composer. Pull it in as a development-only dependency.

composer require web-id/laravel-playwright --dev

Finally, run the playwright:boilerplate command to copy over the initial boilerplate files for your Playwright tests.

php artisan playwright:boilerplate

That's it! You're ready to go. We've provided an laravel-examples.spec.ts spec for you to play around with it. Let's run it now:

yarn playwright test

Credits

License

The MIT License (MIT). Please see License File for more information.

More from the ecosystem

marcreichel/
laya-php
g4t.io
3 53

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Classify text in PHP without an LLM bill: typed decisions in 100+ languages, self-hosted. Laravel-ready SDK for Laya, a Jev AI alternative.

ai classification decision-engine
marcreichel/laya-php via Laravel News
Josh-Dovey/
postcodes-laravel
g4t.io
5 9

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Postcodes for Laravel adds typed GB postcode lookups, validation, geography data, distance searches, and test fakes through the GB Postcodes API.

Josh-Dovey/postcodes-laravel via Laravel News
RedberryProducts/
mailbox-for-laravel
g4t.io
4 115

Mailbox for Laravel: Preview and Test Rendered Email

Mailbox for Laravel captures outgoing mail in a local dashboard and lets you test rendered HTML, recipients, and attachments with fluent assertions.

RedberryProducts/mailbox-for-laravel via Laravel News