Tag: Laravel

Laravel: How To Create A Favourite or Short List Feature

So we’re going to assume you have a web app, something like RightMove. You can browse properties and if you like them, you can click a little heart icon which will add a particular property to your favourites list. But we’re not going to refresh the search page every time the user clicks the heart.…

continue reading

How To Write Tests For Laravel Apps in PHP

There’s surprisingly little out there (that I could find) about writing tests for Laravel applications. Of course, there’s the Laravel documentation, but in many cases I have found it to be either not detailed enough, or in a very counter-intuitive order. I would have really liked more examples. So here are some of my own.…

continue reading