Hey! Looking for a more SEO Friendly way to manage a multilingual application with Laravel5 ? Check this tutorial! Edit: This article have been updated to match Laravel 5.2 architecture. If you ever have worked already with Laravel 5 (if n...
Posted by mydnic on Mar 18 2015

Alongside Laravel 5.4 update, a new tool came up : Laravel Dusk. If you were used to run tests on your Laravel application, and particularly "Feature tests", you are most likely used to write test cases in which you can actually fill forms, click b...
Posted by mydnic on Mar 08 2017

As it may seem an easy thing to do, and to be honnest : it is, creating environment variables in your Homestead Virtual Machine is something you cannot find in the documentation. While it is missing from the official Laravel Documentation, you can...
Posted by mydnic on Apr 12 2017

Update: A new and better way to build a Like System in Laravel is described in this article Yo yo guys ! Today I'll be giving you a new tutorial on how to build a quite simple "Like" system onto your Laravel 5 application. This "Like" system c...
Posted by mydnic on Sep 04 2015

Several months ago I wrote an article on How to create a Simple Like System For Laravel . In the comment of this article, a cool guy asked me about using a "Many to Many Polymorphic Relationship" for this "Like" logic. I found the idea very appeal...
Posted by mydnic on Jun 04 2016

While working on a new project at work I had to create a custom form input. The goal was to have a select list of the days of the week. If there is already a form method to do so with the Months of the year, there's no default method for the weekday...
Posted by mydnic on Oct 30 2015

I know it's been only a few weeks that L5 is out, but still. Even with Laravel 4, I couldn't find any good package that made search queries easier. I'm showing this package to you and I didn't even installed it yet on this Website. Lol. Don't judg...
Posted by mydnic on Mar 18 2015

TDD is cool right ? PHPUnit implementation in Laravel is so great that it makes TDD even cooler. When building your application you may wonder : did I test everything ?? And how can I make sure that everything is tested ? That's where PHPUnit Code...
Posted by mydnic on Sep 04 2017

Hi folks ! New quick tutorial today on how to retrieve your user's google contacts with Google API in Laravel 5 . Ok, to explain a bit how I did it, I first need to set everything in context. If you want to skip and get into it right now, just...
Posted by mydnic on Mar 30 2015

Every developer, when working on a project, start at some point wandering about the performances of his application. In the Laravel world, the most frequent question you may have is "are my sql queries fast enough ?". If Eloquent is doing a great jo...
Posted by mydnic on Jun 19 2017

Did you ever feel anxious about deploying a large application in production for the first time ? You are afraid that there are still some bugs somewhere, because you don't have a full testing team to report everything to you ? And you wonder : "If a...
Posted by mydnic on Oct 23 2015

This article was updated to match Laravel 5.4 One day I wrote an article on this blog about solving an issue with the non-persitent App SetLocale of Laravel 5 . To my big surprise this article became quite popular and received more or less 1.000...
Posted by mydnic on Oct 27 2016

Several weeks ago, I started to use vagrant in order to work on my Laravel Projects. The purpose was to avoid wamp bugs , and mostly avoid having to run Server Side technologies on a windows OS... Now, if the setup of the Vagrant software is str...
Posted by mydnic on Nov 26 2015

It's been several months that PHP 7 was released, and the latests frameworks already upgraded to be compatible with this version. Laravel Homestead, the OOTB server environment is now up to date as well, so all your new projects will run on a PHP 7...
Posted by mydnic on Apr 06 2016

In this article I'll explain what I think is the easiest and cleanest way to bind events to your models in Laravel 5. In fact, I am working on a new project right now and I needed to implement a notification feature to the platform. I was thinking...
Posted by mydnic on Jul 28 2015