Dropping a composite primary key on a pivot table

Funny story. If you have found yourself in the situation where you are trying to drop a composite primary key and keep receiving some invalid constraint error then this is the lesson for you.

Learn

MySQL ON DELETE CASCADE or SET NULL

Learn how to use referential actions for a foreign key to delete data from child tables when you delete data from a parent table and when is appropriate to set the value to null or leave default.

Learn

Understanding Pagination Presenters

Pagination presenters enable you to implement your own pagination component design. You can extend the default Bootstrap presenter and modify it to suit your needs or you can create a truly unique pagination component.

Learn

Configure Laravel 5 for Shared Hosting

There are a few things that you have to change in Laravel to make it work on shared hosting. The most important thing is to change the public path and correctly bootstrap the application.

Learn

Secure Nginx with Let's Encrypt on Ubuntu 14.04

Let's Encrypt enables you to obtain and install free TLS/SSL certificates on your web server by using a software client that automates most of the steps required.

Learn

Upgrade to PHP 7 on Ubuntu 14.04

If you are anything like me, then you have a bunch of servers still running PHP 5.6. The time has come for you and me to upgrade to PHP 7.

Learn

PHPUnit Code Coverage Analysis

In this lesson I will demonstrate on my existing Laravel package called Ekko how to configure code coverage on PHPUnit, analyze given results and improve tests to achieve maximum code coverage.

Learn

Laravel Forms & HTML

Everything you need to know about working with forms in Laravel. Based on Laravel Collective Forms & HTML package.

Learn

Handling Nested Resources

This lesson will help you understand and handle highly nested resources.

Learn

Bash Scripting Introduction

This is an introductory lesson to Bash scripting and the purpose of it is to encourage you to be more productive while using a shell.

Learn