Let’s imagine this scenario: You are working on a Laravel application, and you found a bug either in the framework itself or in one of the third party libraries...
So I initially thought there was more to this, but my team realized we could remove a bunch of unnecessary code from our spike. Thankfully, it’s much simpler an...
A new 2-minute video showing probably the quickest way to create a new user in Laravel users table.
If you want more videos like this, subscribe to our YouTube...
One of the major challenges in development is email testing on local development environments. This is why Mailtrap.io is a very essential service. Mailtrap is...
Prerequisites: Knowledge of Laravel, Laravel 5.5+ Installation, a Mailtrap.io account (Here’s an article on how to get one and set it up for Laravel)
Difficulty...
I’ve decided to write this short and (hopefully) helpful article after going through the struggles in trying to read, understand and refactor legacy unit tests...
When first starting my internship as a web developer, I was anxious to prove myself and my abilities. I wanted to make sure I could solve whatever problem was t...
Here’s how it looks in routes/web.php:Route::group(['prefix' => '{locale}'], function() { Route::get('/', function () { return view('welcome'); }); Auth::routes...
You may hear here and there than PHP date and time API is a bit of a mess and indeed everything is not perfect, but it’s not a reason to get your own code and a...
Eager loading is a concept in which when retrieving items, you get all the needed items together with all (or most) related items at the same time. This is in c...
Laravel is a really nice framework for building REST APIs and one of the most important parts of REST APIs is Authentication and Authorization. Most tutorials w...
As we saw in the previous post of this series, we want our tests to provide us with fast feedback about the correct behavior of our application. In this post, w...
Laravel is an open source PHP framework designed for the faster development of MVC web applications in PHP. Composer is required for installing Laravel dependen...