Our blog

junior developer

How to Test Junior Laravel Developer Skills: Sample Project

While expanding my team and working with potential junior developers, I’ve come up with a few tasks to test their practical knowledge. There’s not much value in quizzes or interviews – let them create one simple project. From start to finish. So here’s an example of such project, you can use it for your own needs.

Monday, February 19th, 2018

laravel emails

Laravel Mail Notifications: How to Customize the Templates

Laravel has a useful Notification system, where you can notify user about something via email, Slack etc. And there is a quite good default HTML template for emails. But what if you want to customize its design?

Wednesday, January 17th, 2018

ip-address

How to check access to Laravel project by IP address

From time to time I see a need of restricting the access to a website by IP address, whether it’s local network or a particular set of specific computers, like home/office. What’s the best way to do that in Laravel?

Wednesday, January 10th, 2018

Download

ThemeDownloader v0.1: apply Bootstrap theme with Artisan command

We’ve just released a first “alpha” version of a package called ThemeDownloader – need your opinion, feedback and requests for future improvements. Basically, you can get a Bootstrap-based front-end theme into your Laravel project, just by launching one Artisan command.

Tuesday, January 9th, 2018

logout

How to avoid TokenMismatchException on logout?

If you stay too long on one form or get away from your computer, and then go back to fill it in – you may get a TokenMismatchException, because the CSRF token won’t be the same. It kinda makes sense, but the problem I recently discovered that it does the same for logout (which is also a form). And that’s pretty silly, so how to avoid it?

Monday, January 8th, 2018

filtering data

Filter Eloquent relationships “on-the-fly”, when you need it

I find more and more Eloquent functions that are rarely used, so continue posting these short tips on the blog. Here’s the next one.

Tuesday, January 2nd, 2018

best-of-the-best

TOP 15 LaravelDaily Articles+Videos in 2017

Another year gone by, so it’s time to to some recap – what articles were the best in 2017? Gathered this statistics from three sources where we publish content: this blog, QuickAdminPanel blog and our YouTube channel. Enjoy!

Monday, January 1st, 2018

Crossroad

Redirect after Login or Register: Add your own Method

In Laravel’s Auth system you can customize a few most important things – one of them is a variable $redirectTo – where to take the user after login/registration. But there’s even more to customize.

Thursday, December 28th, 2017

new-record

Stop checking if record exists: Eloquent methods OrCreate and OrNew

Another “hidden gem” of Laravel which is surprisingly rarely used or even known, though it’s mentioned in the official Eloquent documentation. Imagine that you have a record, and you need to check if that record already exists in the database – to prevent duplicate, you wouldn’t save it second time. There’s an elegant way to perform it in Eloquent.

Wednesday, December 27th, 2017