# PHP

Docker: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

This error has had a lot of people stumped by the looks of their issues on GitHub. I think the error stems from downloading Docker through their main landing page, I tried a lot to fix the issue and with no luck. This included switching the DNS over to 8.8.8.8 which has been suggested in the past and worked.

Link
Cover image

Laravel Development with Vessel (Docker)

Learn how to get started with Vessel

Link
Cover image

💪 Wodemocracy 💪

I have created a website that I hope can bring a bit more fun and community for all CrossFitters. You can submit a workout of your choice and others can vote on that workout. If yours is the most voted, then it will become the workout of the day, the very next day. If you haven't got a workout, then that's okay, you can vote on other's and encourage them to create more workouts.

Link
Cover image

5 of the best Laravel books

My personal top 5 Laravel books

Link

Laracon US - Laravel 5.3 overview

The last two days I have been keeping an eye on the Laracon US live stream shown on StreamACon and while the first day of the stream didn't go too well, the second days stream has been phenomenal (Review will be coming soon).

Link

Social Networking site - Starting point

In my last post, I said how I would create a new open sourced social networking website and I would start out on the API.

Link

The beginning of our Laravel social network

A long while back, I said I would love to create and document making a social networking website using the Laravel framework, well that hasn't happened, like at all.

Link

ReactPHP and Symfony

I started listening to a great Podcast series which talks a lot about different PHP and server technologies and on one of the later episodes, they talk about ReactPHP.

Link

Moltin API

I want to introduce you guys to an awesome e-commerce API called Moltin. It takes out so much hard work when it comes to creating an e-commerce platform and I have been working with the API to try and create an open source Laravel e-commerce platform which utilises the Moltin API as the core part of the app.

Link

How to containerize your PHP/NGINX docker project properly

This evening, I had myself a little challenge. I would turn my two containers (MariaDB and my own built container) into more containers, but using the power of Docker's official container repos. E.g. I would have 3 containers in total PHP7-FPM, NGINX and my already created MariaDB.

Link

Using View Composers in Laravel 5.2

I have started using Laravel's View Composers which come in handy when you have a navigation bar that constantly needs certain data. For example, you have an e-commerce store and you need to poll how many items a user has in their basket on pretty much every page they move onto, or you need a login/register button when a user isn't logged in and then a profile options button when they are.

Link

Oauth Tutorial - Part 1 - Setting up Facebook

Last week I promised that I will be creating some tutorials regarding Oauth and Laravel's Socialite plugin. Today, we will start with setting up each website and creating an app on these sites to accept our OAuth requests.

Link

Local OAUTH - Curl: (60) SSL certificate : Unable to get local issuer certificate

I've seen a couple of questions regarding the error Curl: (60) SSL certificate : Unable to get local issuer certificate and thought I would post some steps on the best way of setting it up locally.

Link

Unique slug for news articles using Laravel's unique valitation

Just recently at work, I had to change the way my news articles worked. We have a client who has Holiday Homes, and they have news articles per park. When I redeveloped the website in Laravel, I created a one to many relationship based on one park has many news articles.

Link

UTF-8 causing problems for Social and Email Websites Laravel

I've been developing a couple of projects which use UTF-8 encoding on my databases, but have found that this has been problematic recently. Mobile phones and tablets now use emoticons which can cause problems for us UTF-8 users.8

Link

Laravel 4: How To Use Jquery UI Sortable

I needed a way to change the sort order of my data inside of an admin interface which I have created. After a little

Link

Laravel AJAX Tutorial Using HTML5's FormData

For this tutorial, I will show you guys how I managed to create an image uploader for your profile image. This is very similar to how Facebook's/Twitter's functionality.

Link

Laravel user Registration and Login

This will be a fairly simple tutorial as I'm not re-creating the wheel here. I started by developing a login/registration system by myself until I start talking to people in Laravel's IRC. There is a package which did everything I needed it to do which was as follows...

Link

Nice little Laravel tip (Blade Ternary Operator)

Just today, I was looking at using a ternary operator in Laravel's Blade templating system and thought to myself... There must be a better way of doing this. After a quick Google aanndd... BEHOLD THE OR STATEMENT! Since version 4.1 they managed to sneak in this or statement and it's managed to bypass so many people (I figured this out by the lack of voices shouting about this on Google).

Link

Laravel Localhost removing /public/index.php

This little command is a lifesaver and will save you so much time when switching and merging previous branches in your GIT workflow.

Link
Cover image

Laravel Dynamic Navigation Package

I have managed to create a dynamic navigation package for Laravel which can be seen in my previous post. If you go to Packagist you will be able to find my package under checkeredmichael/navigation.

Link

Laravel Dynamic Menu Tutorial (Best for Admin packages)

Thanks to this very Laravel topic over at Laravel.io and Josh Benham I managed to find out how to make my very own

Link
Cover image

Composer Private Repository Problems

Recently I have been finding out the slight differences between Windows and Linux for use with Laravel and Composer. One difference is Windows isn't picky about the way you set out Composer's packages which can be a major problem. Here's the issue I had and what I had to do to get it going...

Link

Social Networking Website Based in Laravel

I've been wanting to make a social networking website for a long time, one which will rival the big guys. I also thought about maybe doing it following the footsteps of Mark Zuckerberg by recording my steps live on my Blog and get feedback to what others think. That way, I can create something which everyone wants and unleash something which almost everyone will love.

Link

First Laravel Tutorial - Controllers and Routes

Previously on a Laravel project, I had to have a slug within my routes which would point to two different tables within my database. I needed a controller which would do the thinking for me. And by this I mean, in my routes I would have...

Link