8th Feb 2018 • David Carr Laravel storing mailables Laravel's Mailable emails are perfect for sending rich HTML emails, there are times when you nee... Read more
25th Jan 2018 • David Carr Laravel retrieving records in a random order Retrieving records in a random order is simple with MySQL using the RAND() function but it's not... Read more
25th Jan 2018 • David Carr Laravel show zeros when using zerofill in Eloquent When using Eloquent leading zeros are removed from integers data types. This is a problem when you w... Read more
4th Jan 2018 • David Carr Laravel login as user without their password There are times you want to log in as another user to test their user permissions, you'll want t... Read more
3rd Jan 2018 • David Carr Laravel add custom exception handling Laravel comes with support for many types of exceptions, some are handled to load a 404 page others... Read more
3rd Jan 2018 • David Carr Laravel add login throttling with custom login controller When using a custom login controller by default it won't have the login throttling applied. Read more
2nd Jan 2018 • David Carr Create an XML sitemap Creating xml sitemaps are great for Google to inform their search bots of all your pages and th... Read more
2nd Jan 2018 • David Carr Laravel create an RSS reed In this post, I'll explain how to create an RSS feed, In your controller query a model, in this... Read more
1st Jan 2018 • David Carr Laravel get previous and next record A really common task is to display links for the previous and next record typically you find these o... Read more
1st Jan 2018 • David Carr Laravel force https with url helper using the url() helper is great for creating full http links, I use this for all links, when wo... Read more
24th Dec 2017 • David Carr Laravel blade - Remove the last comma from array Using the $loop variable inside of a loop it’s easy to check when you're at the start or t... Read more
19th Dec 2017 • David Carr jQuery autocomplete on new element jQuery’s autocomplete plugin is perfect for filling in forms with suggestions as you type in a... Read more
10th Nov 2017 • David Carr Laravel 5.5 change public to public_html When moving Laravel onto a production server I like to place all Laravel files in their own director... Read more
25th Oct 2017 • David Carr Use TPL syntax highlighting in Atom with Nova Framework Using Atom editor is great visually the only issue is out the box .tpl is not recognized or is recog... Read more
21st Oct 2017 • David Carr Github deploy to server This tutorial will show you how to deploy from GitHub to your server using GIT. Deploying with GIT m... Read more