josborne/phpspec-lumen

Test your Lumen applications with PhpSpec

Maintainers

Package info

github.com/pmartelletti/phpspec-lumen

Homepage

pkg:composer/josborne/phpspec-lumen

Statistics

Installs: 213

Dependents: 0

Suggesters: 0

Stars: 0

v2.0.0 2015-03-15 16:10 UTC

This package is auto-updated.

Last update: 2026-03-06 01:11:21 UTC


README

This simply takes all the awesome work done by Ben Constable with his phpspec-laravel repo and makes it work with Laravel's new micro-framework, Lumen.

For most details you'll want to check out the original repo readme: https://github.com/BenConstable/phpspec-laravel

What's different

Aside from obvious things like the different package name, you'll want to update your phpspec.yml like so:

extensions:
    - PhpSpec\Lumen\Extension\LumenExtension

And instead of extending your specs from LaravelObjectBehavior you'll do so instead from LumenObjectBehavior.