Security Add Variables to Your Password Reset Emails Laravel ships with a fairly nice default password broker. It creates an auto-expiring reset token, associates that with the user, and sends an email to the user all in one nice fairly
Laravel Make Laravel 4 Feel Like New After creating an API with Laravel 5 about a month ago, I was really liking the new directory structure and some of the features that were available. Today, I tried to replicate this
Laravel Proxies, Service Locators, Alias, Facades, and War There has been a recent resurgence of trolling the use of "Facades" in Laravel and in other PHP projects as well. The recent storm comes on the heels of a massive trolling of
Code Literate Programming Today, I finally read Jeremy Ashkenas's blog post on [Literate Coffeescript]() and really have to say, I agree with the point that he is trying to make. In essence, we as programmers
Code The Mindset Behind App Toolkit After a while of working with Laravel and various MVC frameworks, I have found that there is a good bit of standard coding that goes into scaffolding applications. I'm not the first
Code Getting Inheritance Straight In the world of PHP, it seems like there has been a flurry of different inheritance and contract patterns being used. Unfortunately, a lot of developers seem to be running around like headless
Code Juggling Larger Laravel Applications When working with larger Laravel projects, one question always seems to come up: "How do I organize all of this code?" Many people have begun to suggest new ways to go about this.
Code I'm a Professional Developer and So Can You Today in @PHPDrama land there was a divergent schism in the Drupal world. This isn't the first time that a simliar argument has been brought up in the PHP community or the
Code Per Your Request - Starting Eloquent There is a lot going on with Laravel's Eloquent ORM, but to start things off in this series, we will actually start things off and look at how Eloquent Models boot up
Code Eloquent Expertise Preview Eloquent ORM is probably one of features that draws the most users to Laravel. However, I find that after a bit of working with Laravel, many users don't quite get what is
Code Flexible Views For Laravel Packages Today we'll go over an easy topic, we will look at how to give your users the ability to swap out views in your Laravel Packages. Traditionally, you may develop a Package
Code The Repository Pattern in Action Two weeks ago, I discussed Two Design Patterns That Will Make Your Applications Better. Since then, there has been high demand for a demonstration of the Repository Pattern in action. Today, we'll
Code Laravel Package Database Flexibility - Eloquent Models As I begin to create more full featured Laravel packages, I find that I want to offer the ability for users to specify different database credentials for my package than the ones used
Code Next Week's Posts The last two weeks, I have tried to look at Routing a bit more indepth and have tried to suggest conventions that can help your code perform better and be easier to modify
Code Creating Customizable Packages With Routing Today we will look at starting to create Laravel 4 Packages with routing options. In conventional Package development in the past, you would have to create Bundle routes or ask your users to
Code Reusable Routes Finishing off the week of advanced routing in Laravel, I am going to mix the techniques while also covering a few more things and giving practical examples. In the last posts on routing:
Code The Wonder of The Config Folder Laravel is incredible for beginners, yet I find that a ton of developers posting comments on how "Laravel doesn't do XXX by default" so it can't be done and there is
Code Two Design Patterns That Will Make Your Applications Better Getting into design patterns can be a bit of a tricky subject. An analogy would be like having a kid interested in engineering go from playing with box cars to telling them to
Code Why Method Overloading Can Signal Bad Design Coming from Java and C++ and moving into PHP and Javascript, one of the problems that I ran into was the fact that PHP and Javascript don't have traditional ways to overload
Code A Wardrobe Overhaul Make your choice, adventurous Stranger, Strike the bell and bide the danger, Or wonder, till it drives you mad, What would have followed if you had C.S. Lewis Things today have been
Code Organizing Routes in Laravel 4 One of the big learning curves for creating Laravel projects is working with routes and how to organize everything in your project. Today's post is going to look at just this problem.
Code Multi-TLD Routing in Laravel While working with more advanced Laravel applications, you come to question how to work with more advanced routing circumstances. Laravel 4 gave a ton of features with the more advanced features in route
Code An Easy Way To Test Eloquent Model Attributes When testing Models, it can be a bit confusing where to start. But a great way to start is to test the attributes available in your Model. For this, I suggest the following.
Code Creating Apps in Packages The idea of creating more sustainable code seems to be a topic of war in development communities these days. To one side, hackathon regulars throw together spagetified code that takes days to debug