Skip to content

Installation

TIP

Lightspeed works with PHP 7.4+


You can install Lightspeed through Composer. It is recommended you install it as a "dev" dependency in your project by running the following on your command line:

sh
composer require lightspeedphp/lightspeed --dev --with-all-dependencies
composer require lightspeedphp/lightspeed --dev --with-all-dependencies

You can now run your tests by executing the lightspeed command. Lightspeed will detect which test runner to use and proxy to that command for running the tests.

sh
php vendor/bin/lightspeed
php vendor/bin/lightspeed