pmartelletti / phpspec-lumen by pmartelletti
forked from josborne/phpspec-lumen

Test your Lumen applications with PhpSpec
213
0
1
Package Data
Maintainer Username: pmartelletti
Maintainer Contact: josborne@rxsavingsllc.com (Jamie Osborne)
Package Create Date: 2016-02-10
Package Last Update: 2016-02-10
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-15 15:08:08
Package Statistics
Total Downloads: 213
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0

phpspec Lumen Extension

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.