API Why I Am Deprecating Eloquent-Ember If you follow me, you know that I am heavily involved in both the Ember and Laravel communities. Thus, I have taken it upon myself to help define the development story for working
AJAX Clean Transformed APIs In the past, when working with Javascript libraries that required diffrent JSON formatting, I have base models that extended Eloqent and changed the toArray function. It was super hacky and required a ton
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 Creating an Installer Script For Your Package In Laravel, one of the big questions is how best install packages. Traditionally, we would create a nasty bit of readme that included a script that looks like this: php artisan config:publish
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 A Look at the FAQ Package The FAQ package came as a direct need for a dynamic FAQ section for the marketing site for iOffertory. Over the next few posts, I will dive into production code and give you