Laravel Cashier PDF corrupt

Laravel Cashier lets you have these fancy-shmancy PDF downloads of invoices. This is awesome, except it seems that in some cases the permissions are not correct… or fall out of correctness. Chmod’ing will fix this. https://github.com/laravel/cashier/issues/74 (Link no longer working since Taylor took down the issues  *sheds tear*)

Note: That path above may not necessarily be…


Sourcetree’s new AppIcon

I just updated SourceTree, and what did I find? They updated their logo! But the funny thing about it is their striking similarity to the icon I designed in March, 6 months before they released theirs.   Their icon in March My icon designed in March Their icon, released yesterday     The similarity is…






Laravel: Custom Validation

Laravel form validation is simple enough, but what if you want to extend the validation and do your own? It’s easy enough to do if you are doing everything in the routing, but that is going to get out of control really quickly. You can even abstract it another level into the controller, and even…




Organizing routes in Laravel 4

Laravel 4 is centered almost completely around routing. So organizing it is a must. There is no default organization for routes, but we can easily fix this. Add the following to your bootstrap/start.php file:

Then you can create a routes directory inside the app folder and save your routes in there. You can name…


CakePHP 3 – Defining the Core Outside Webroot

One thing that CakePHP 3 documentation has you do when you install is put the CakePHP Core inside the vendor directory of the app. If you want to share the CakePHP core between multiple apps you can follow these simple steps. Step 1: Install the CakePHP 3 App

Step 2: Move the CakePHP 3…


Facebook Boo

Why storing your credit card with Facebook is a bad idea!

I read an article that just upon hearing the title sent shivers down my spine. “Facebook … To Autofill Billing Info In Mobile Commerce Apps“. What it is: Essentially, if you choose to use this service, you would be adding some very sensitive data to your Facebook account. This way you can purchase crap on your…