Category Archives: Laravel

Using Swoole PHP 7.2 Docker image

We all read about Swoole in Laravel-news article, and the results they provided looks nice, this pushed me to create a new Docker image which has PHP 7.2 CLI and Swoole complied with it directly. In this article am going to show you how you can use it with a simple lumen application, and show […]

Installing PHP7.2 with brew on Mac, The new way

Now that homebrew has fully deprecated the old PHP channel and merged everything within the code, things have changed. Before you were able to install anything using a command like brew install php-<package> but now it won’t work anymore. The new way is simple and easy (not), so follow me: * First, you will need to […]

New Chatbot project for fun

In the past few days, I decided to try something new so I started to play with bots and created this nice little guy here. The idea of the project is simple, you ask him about the price of any crypto currency and he will reply back, you can even specify the equivalent currency that […]

Running Laravel Dusk tests on Bitbucket, the easy way

So today I was trying to run and see if I can manage to get Laravel dusk to run on Bitbucket pipelines, and after too many tests, I was able to do so \(^ ^)/. In this post I’ll explain the minimum requirements you need to do that, to make things simple, I created a […]

[Tip] Connect to multiple databases on the Fly with Lumen

Its not always an easy way to connect to different database if the configuration files does not include any information about it, in older version it was even a tricky one, especially if you have a bit of relationship that you want to use. Don’t understand from my words that you cant do that, but […]

How to test your Laravel application with Bitbucket Pipelines

Bitbucket Pipelines is a CI service that you can use to test your application, yes it has its own limitation, but remember it is still new and hopefully it will get better. Today I had the chance to work with it, and trust me I was not planning to do so, am a happy Gitlab-ci […]

How to test and auto deploy your laravel code from Gitlab

Few days ago, I was playing with the new Laravel 5.4 and Gitlab CI, and got to the point where I wanted the CI to test my code once I push it. Using google lead me to this post on Laracasts, and it was the starting point for me, there you can get important files […]

Books I need to finish this month or so

This is just a small list of all the books which I was reading and planing to finish them ASAP, they are hanging and I cant figure out a correct time to finish them so hopefully listing them here will help me do it. Laravel Code Smart ( https://leanpub.com/codesmart/ ) Easy E-Commerce Using Laravel and Stripe […]

Fix “HTTP Error 413 Request entity too large” problem

Yesterday Jeff Madsen has sent a small Laravel tip which address how you can validate the post size for your uploaded data via Laravel middleware called VerifyPostSize. Even though the solution is valid when you have no control over your server, but when you do, you should fix the base of the problem which is your […]

How I setup Vagrant + Homestead on Windows 10

Ok, I will try to make it simple and fast, I might not have all the links right now ready but I will try hard to give as much info as I can. For the past few month I had tried to setup my windows laptop as a development machine, and trust me I always […]