There are times it’s useful to be able to access the auth system in a construct method. You can’t use Auth::user or auth()->user() as its not yet been made available. This is where middleware comes in.....Continue Reading
Last night I attended the 2nd CodePenHull meetup for web developers and designers, along with my team from The One Point.
The format is different to the meetup's I've been to in the past in that usually there are talks a little bit of chat afterwards and you leave.
CodePenHull's format instead had speakers who have volunteered beforehand questions can be asked at any point but what's different is anyone can get up and give a talk, show a demo or share a useful tool they may have come across.Continue Reading
I’ve recently subscribed to php[architect] I’ve been blown away by the quality of the magazine what’s more as soon as your a paid subscriber you get access to their full back catalog that goes back to 2002!Continue Reading
Carbon is an amazing date library that is included with Nova. One of it’s features is being able to convert ‘2017-03-09 08:01:00’ into a readable format of ‘2 Hours ago‘Continue Reading
Recently many browsers will start flagging sites that do not use the HTTPS protocol as unsafe. A2hosting have partnered with Let’s Encrypt to provide free SSL certificates that will allow you to use the HTTPS platform and avoid these potential issues. Best of all, Let’s Encrypt is now live on all new servers and automatically applied to existing accounts.Continue Reading
There are times when you need to bulk update a database. Such as changing all references of domain.com to domain.blog in a table of hundreds of records. Doing this manually would be very tedious a better way is to do a find and replace in MySQL directly.Continue Reading