It appears that Laravel is nowadays one of the most frequently used PHP frameworks. The numbers confirm that: over 65k followers on Twitter, 30k stars and 10k forks on GitHub. With this article you will learn how to create a Continuous Delivery pipeline for an application built thanks to Laravel.
The first part of this article will guide you through the process of creating a demo project (a simple calculator will be used as an example) for which unit and feature tests will be created.
At first, make sure to install the following things locally:
With everything done, we can proceed to installing Laravel:
$ composer global require "laravel/installer"
The final thing that needs to be done is to add Laravel to PATH
environment variable so that our app could be executed with the laravel
command:
$ export PATH="$PATH:$HOME/.config/composer/vendor/bin"