finds.dev← search

// the find

JeffreyWay/Laravel-Test-Helpers

★ 215 · PHP · updated Mar 2014

Easier testing in Laravel.

A Laravel testing utility library from 2013 that wraps PHPUnit with more expressive helpers for factories, model assertions, and controller testing. The author himself has abandoned it and recommends PHPSpec and Behat instead. It predates Laravel's built-in testing facilities, which have since made this entirely redundant.

The factory system was ahead of its time — auto-generating test data from Eloquent model properties before Laravel had anything similar. The PHPUnit wrappers did reduce boilerplate in an era when Laravel's testing story was thin. The docs are unusually complete for a side project of this age.

Abandoned since 2014 — last commit is twelve years old and the author explicitly says so in the README. Laravel 5+ shipped built-in factories, HTTP testing helpers, and model assertions that cover everything this library ever did, and covers it better. No compatibility with any Laravel version made in the last decade. Pulling this into a project would be pulling in dead code that fights the framework.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →