News, Hints & Tips

Chris on Jan 10, 2019

How to redirect URLs using Laravel Forge Nginx

How to redirect URLs using Laravel Forge Nginx 301 redirects. So for example, login.php from an old PHP app to the new app built with Laravel.
Continue Reading...
Chris on Sep 28, 2018

Creating Helpers in Laravel 5

Laravel has many helpers in its arsenal, but sometimes you may need to create your own Helpers for any number of reasons. The last Laravel Helper I coded was a helper that can be called globally to send an sms message to an user.
Continue Reading...
Chris on Jul 24, 2018

Formatting Dates in Laravel using Carbon

For some time I have been struggling to get Carbon working in Laravel straight away without having to search Google for the answers constantly.
Continue Reading...
Chris on Jun 20, 2018

Using username column instead of email to login to Laravel

Want to use `username` column to login to Laravel instead of `email` column, then Laravel has you covered.
Continue Reading...
Chris on Apr 11, 2018

The page has expired due to inactivity

Recently an a few of my projects, I have come across "The page has expired due to inactivity. please refresh and try again". It was driving me up the wall. The issue is when you use the `@csrf` on a form and it is inactive for sometime, which means the CSRF Token expires and throws this error.
Continue Reading...
Chris on Feb 09, 2018

Laravel 5.6 Trusted Proxies Error

Recently I upgraded a project of mine upto Laravel 5.6 and came accross this error 'Type error: Argument 2 passed to Symfony\Component\HttpFoundation \Request::setTrustedProxies()'
Continue Reading...
Chris on Dec 25, 2017

Merry Christmas & Happy New Year From Cloud Wales

Merry Christmas and a Happy New Year from Cloud Wales Web Development. I hope this year has been as busy for you as it has been for me.
Continue Reading...
Chris on Dec 18, 2017

Wordpress vs October CMS

In this article I will be going through some of the pros and cons of Wordpress and OctoberCMS, which, hopefully will help you decide which is best
Continue Reading...
Chris on Dec 07, 2017

Server Upgrade Complete

Last night the serever was updated to a new higher specification. These upgrade should improve the performance of your website by: CPU: Up to 30% faster, RAM: Up to 50% increase + 30% faster speed, SSD: Up to 100% increase
Continue Reading...
Chris on Dec 05, 2017

Plant trees while you search the web

Did you know that you can help the plantet while you search the internet? There is a search engine called Ecosia, where they will plant trees with the advertising revinue that they recieve.
Continue Reading...