Download the PHP package protonemedia/inertiajs-events-laravel-dusk without Composer

On this page you can find all versions of the php package protonemedia/inertiajs-events-laravel-dusk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package inertiajs-events-laravel-dusk

Warning: Like the Tables package, I've decided to archive this repository as I've moved away from Inertia.js to focus on Splade and Eddy 🔥

Inertia.js Events for Laravel Dusk

Latest Version on Packagist run-tests Total Downloads Buy us a tree

Requirements

Support this package!

❤️ 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. Keeping track of issues and pull requests takes time, but we're happy to help!

Laravel Splade

Did you hear about Laravel Splade? 🤩

It's the magic of Inertia.js with the simplicity of Blade. Splade provides a super easy way to build Single Page Applications using Blade templates. Besides that magic SPA-feeling, it comes with more than ten components to sparkle your app and make it interactive, all without ever leaving Blade.

Blogpost

If you want to know more about the background of this package, please read the blogpost: A package for Laravel Dusk to wait for Inertia.js events

Installation

You can install the package via composer:

Add the inertiaEventsCount object to your main JavaScript file, somewhere above the creation of the Vue application instance.

In the creation of the Vue application instance, use the mounted method to register the event listeners.

Usage

This package provides three helper methods for your Laravel Dusk tests.

Error

The waitForInertiaError() method may be used to wait until the Error event is fired. You can use it to assert against responses where validation errors are returned.

Navigate

The waitForInertiaNavigate() method may be used to wait until the Navigate event is fired. You can use it to assert a user is redirected, for example, after submitting a form.

Success

The waitForInertiaSuccess() method may be used to wait until the Success event is fired. This is great for testing forms that don't redirect after successfully submitting a form.

Example test

Testing

Changelog

Please see CHANGELOG for more information about what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Other Laravel packages

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

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

Treeware

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.


All versions of inertiajs-events-laravel-dusk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2
illuminate/support Version ^9.0|^10.0
laravel/dusk Version ^6.15|^7.0
nesbot/carbon Version ^2.66
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package protonemedia/inertiajs-events-laravel-dusk contains the following files

Loading the files please wait ....