Laravel Routing Tutorial

Laravel Routing Tutorial

Routing is a core concept in Laravel, and it works a little differently than some of the frameworks of the past. The Laravel Route system is very flexible, and although a little tricky at first, once you get a good grasp of the fundamentals, you’ll find yourself asking how you lived without it all along. Without further ado, let’s dig into Laravel Routes!


Set Up a Custom Development Domain

Way back when, during the Install Laravel on Windows tutorial, we created an application named blog by running a command such as: composer create-project laravel/laravel blog --prefer-dist

What that did for us was create our project in C:wampwwwblog and in order to view our application in a browser, we had to visit something like http://localhost/blog/public/ Now this is probably not ideal, you just installed the most technically advanced PHP programming framework available and you’re loading up http://localhost/blog/public/ in the browser to view it?!…

Enter The Facade

Enter The Facade

Young Laraveler, do you believe in fate? Why not? Because you are not in control? You are here because you know something. It is not easy for you to explain, however you feel it. You have felt it since you began programming in PHP. There is something wrong with PHP and it’s frameworks. You are not sure what it is, but it is there. Like a memory leak you can not find, driving you mad.…

Many to Many Relationships in Laravel

Many-to-Many-Relationships-in-Laravel

Many to many relationships use the belongsToMany paradigm and can be a little tricky at first as they are a bit more advanced than the hasMany and belongsTo relationships, but once you spend some time digging into them, they are not as bad as they first seem. Many to Many relationships are everywhere out in the wild. They can be implemented by hand or in a variety of different languages and frameworks.…

What is a Laravel Interface?

What Is A Laravel Interface

In Laravel, an interface is a contract for what methods will be used in a specific class. Actually, interfaces are not specific to Laravel, or even native PHP for that matter. Since we’ve been on a roll with Laravel, we’ll talk about interfaces in Laravel. Let’s investigate what interfaces are and why we might want to use them, let’s jump in!


When would I want to use an Inteface?

What is the IoC Container in Laravel?

Laravel IoC Container

So you’re learning Laravel you say? Well what is this IoC Container you speak of?! For a lot of us PHP programmers, we may not be familiar with this concept, but thanks to Laravel, proper software engineering is being brought into the PHP world. By getting a handle on what and how the IoC Container works in Laravel, we’ll have a better understanding of how Laravel provides the magic that it does when coding.…