Download the PHP package lucatume/wp-browser without Composer

On this page you can find all versions of the php package lucatume/wp-browser. 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 wp-browser

wp-browser

You can use wp-browser to test WordPress sites, plugins and themes.

An easy and quick setup, with a default configuration that will work for most projects, run end-to-end tests, integration tests and unit tests all wit the same tool.

This document refers to version 4 of the project. If you're using version 3 or version 3.5, and are looking for the migration and troubleshooting guide, you can find it here

Requirements

Depending on the nature of your project, there are different requirements it will need to satisfy before getting started.

Site

Plugin

Theme

If you decide to use the quick installation, then your PHP version should have the sqlite3 extensions installed and activated. You can check this using the php -m command and verifying the sqlite3 extension is among the active extensions.

Installation

Add wp-browser to your project as a development dependency using Composer

Initialize wp-browser to quickly configured to suite your project and setup:

The command will set up your project to run integration and end-to-end tests using:

If you're working on a plugin or theme project, the default configuration will add some extra steps:

For most projects this configuration will be enough to get started with testing.

You can run your tests immediately using the vendor/bin/codecept run command.

Read more about the commands provided by the library here.

Using a custom configuration

If you decide to skip the default configuration, you will be able to set up wp-browser to suit your needs and local setup by editing the tests/.env file. The inline documentation in the file will guide you through the configuration process.

Read more about using a custom configuration here.

Getting support for wp-browser configuration and usage

The best place to get support for wp-browser is the project documentation.
Since this project builds on top of PHPUnit and Codeception, you can also refer to their documentation.

If you can't find the answer to your question here you can ask on the "Issues" section of the wp-browser repository taking care to provide as much information as possible.

Finally, you can contact me directly to set up a call to discuss your project needs and how wp-browser can help you.

Sponsors

A thanks to my sponsors: you make maintaining this project easier.


All versions of wp-browser with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-pdo Version *
ext-mysqli Version *
ext-fileinfo Version *
ext-json Version *
ext-curl Version *
ext-zip Version *
composer-runtime-api Version ^2.2
codeception/codeception Version ^5.0
codeception/module-asserts Version ^2.0 || ^3.0
codeception/module-phpbrowser Version ^2.0 || ^3.0
codeception/module-webdriver Version ^2.0 || ^3.0
codeception/module-db Version ^2.0 || ^3.0
codeception/module-filesystem Version ^2.0 || ^3.0
codeception/module-cli Version ^2.0 || ^3.0
symfony/process Version >=4.4.24 <7.0
symfony/filesystem Version >=4.4.24 <7.0
vlucas/phpdotenv Version ^5.0
druidfi/mysqldump-php Version ^1.1
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 lucatume/wp-browser contains the following files

Loading the files please wait ....