Single command deploying Laravel 5.x to Ubuntu VPS with Envoy

In case you are not familiar with Laravel Envoy, this is a short description from Laravel doc: Laravel Envoy provides a clean, minimal syntax for defining common tasks you run on your remote servers. Using Blade style syntax, you can easily setup tasks for deployment, Artisan commands, and more. Currently, Envoy only supports the Mac and…

Existing PHP catches and bugs

I will keep updating this post as part of note whenever I find another catch and bug in PHP. I hope it can help beginner PHP developers (like me) out there to escape hours of confusion and stress .. 😅 PUT multipart/data bug As explained by this open bug (since 2011), when you submit a multipart/data…

Deploying Laravel 5.4 project in shared-hosting with no SSH

Despite lack of compact guides in the internet, deploying Laravel 5.4 project in cheap shared hosting (with no SSH support) is actually quite simple. The steps are: 1.  Import database to the shared hosting’s database using available tool such as phpMyAdmin 2. Upload the content of public directory in your Laravel project to public area…