LARAVEL SOLUTIONS FOR YOUR BUSINESS

You need a custom web-project done? We’re here to help. We’re looking at the business goals of the client, and only then turn it into Laravel code.

We write about Laravel. A lot.

last login time

How to Save User’s Last Login Time and IP Address

Quick tip of the day. Default Laravel Auth comes with User table and model, but without logging capability, so we need to build it ourselves. Fortunately, it’s very easy, I will show you one method.

Sunday, May 6th, 2018

error handling laravel

Laravel Exceptions: How to Catch, Handle and Create Your Own

Quite often web-developers don’t care enough about errors. If something goes wrong, you often see default Laravel texts like “Whoops, something went wrong” or, even worse, the exception code, which is not helpful at all to the visitor. So I decided to write a step-by-step article of how to handle errors in elegant way and present proper error information to the visitor.

Monday, April 23rd, 2018

translate

Laravel JSON-based Translations with Underscores __() Function

Not sure if you’ve noticed, but Laravel 5.6 make:auth is generating Blade files with translation-ready texts, so instead of just “Login” you will see {{ __(‘Login’) }}. How does it work and what’s the reason?

Tuesday, April 10th, 2018