Download the PHP package puth/laravel without Composer
On this page you can find all versions of the php package puth/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel
Puth integration for Laravel
Installation
After installing the Puth package, run the puth:install
Artisan command.
Configuration
You can find the configuration file for this package in config/puth.php
.
Example Browser Test
Transition from Dusk
The puth/laravel
package provides a full replacement for Dusk.
Another difference is that puth/laravel
does not start the browser process. For that you need to run puth
(e.g. in
Docker) and point the client to the puth
instance. puth/laravel
once contained code to launch the puth
process
but I don't think enough people would use this feature so I removed it.
Changes
$browser->keys()
: This method now uses the puppeteer keymap (instead of the php-webdriver keymap) is used (when using modifier keys you can only type/press american keyboard layout keys)$browser->typeInDialog(selector, value)
: Use the accept method instead which takes a value$browser->acceptDialog(value)
- console logs are different from Dusk console logs. They now contain more information but the underlying json structure changed.
Unsupported
$browser->moveMouse($xOffset, $yOffset)
: Puppeteer only simulates a mouse but doesn't expose the internal tracking state so we can't move the mouse by an offset
All versions of laravel with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0.2
ext-json Version *
illuminate/console Version ^9.0|^10.0|^11.0
illuminate/log Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0
phpunit/phpunit Version ^9.0|^10.0|^11.0
puth/php Version ^0.7.1
ext-json Version *
illuminate/console Version ^9.0|^10.0|^11.0
illuminate/log Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0
phpunit/phpunit Version ^9.0|^10.0|^11.0
puth/php Version ^0.7.1
The package puth/laravel contains the following files
Loading the files please wait ....