Posts in category: Tutorials

Laravel Framework | PHP & MySQL | Tutorials

Laravel add custom exception handling

Laravel comes with support for many types of exceptions, some are handled to load a 404 page others...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel add login throttling with custom login controller

When using a custom login controller by default it won't have the login throttling applied.

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Create an XML sitemap

Creating xml sitemaps are great for Google to inform their search bots of all your pages and th...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

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...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

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...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

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...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

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...

David Carr


Javascript | Tutorials

jQuery autocomplete on new element

jQuery’s autocomplete plugin is perfect for filling in forms with suggestions as you type in a...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

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...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel 5.5 use a prefix on database tables

I like to prefix my database tables to avoid any conflicts if using different applications within th...

David Carr


Stripe API | Nova Framework | Tutorials

Stripe API pass custom variables

When sending charges to Stripe you’ll often want to send additional information such as an ord...

David Carr


Stripe API | Nova Framework | Tutorials

Stripe API save and process incoming web hooks

Webhooks are Stripe’s way of informing your application of an event such as a payment has fail...

David Carr


Stripe API | Nova Framework | Tutorials

Stripe API format invoices totals

Currency comes out of Stripe with pence / cents on it’s own can be problematic to format.

David Carr


Stripe API | Nova Framework | Tutorials

Stripe API display invoices and line items

Invoices are created automatically, using Stripe’s API it’s possible to pull the invoice...

David Carr


Stripe API | Nova Framework | Tutorials

Stripe API change subscription plan

Changing a user’s subscription plan is a simple process, this post will cover the steps needed...

David Carr


Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.