duncan3dc / dusk
Use Laravel Dusk without the full Laravel framework
Installs: 8 124
Dependents: 7
Suggesters: 0
Security: 0
Stars: 80
Watchers: 5
Forks: 12
Open Issues: 2
Requires
- php: ^7.3 || ^8.0
- laravel/dusk: ^6.0
- php-webdriver/webdriver: ^1.0
- phpunit/phpunit: ^9.5.13 || ^10.0 || ^11.0
- symfony/process: ^5.4 || ^6.0
Requires (Dev)
- duncan3dc/object-intruder: ^0.3 || ^1.0
- maglnet/composer-require-checker: ^2.1 || ^3.0 || ^4.0
- mockery/mockery: ^1.5
- phpstan/phpstan: ^1.12
- phpstan/phpstan-mockery: ^1.1
- squizlabs/php_codesniffer: ^3.6.2
README
Use Dusk browser automation as a standalone component without the full Laravel framework
Full documentation is available at http://duncan3dc.github.io/dusk/
PHPDoc API documentation is also available at http://duncan3dc.github.io/dusk/api/
Installation
The recommended method of installing this library is via Composer.
Run the following command from your project root:
$ composer require duncan3dc/dusk
Getting Started
use duncan3dc\Laravel\Dusk; require __DIR__ . "/vendor/autoload.php"; $dusk = new Dusk; $dusk->visit("http://example.com"); echo $dusk->element("h1")->getText() . "\n";
Read more at http://duncan3dc.github.io/dusk/
Changelog
A Changelog has been available since the beginning of time
Where to get help
Found a bug? Got a question? Just not sure how something works?
Please create an issue and I'll do my best to help out.
Alternatively you can catch me on Twitter