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:
- PHP v. 5.6.3 or the most recent PHP version from: http://php.net/manual/en/install.php
- PHP Composer: https://getcomposer.org/doc/00-intro.md
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
$ export PATH="$PATH:$HOME/.config/composer/vendor/bin"
Want to learn more? Follow the full article here.
Hacker Noon is how hackers start their afternoons. We’re a part of the @AMI family. We are now accepting submissions and happy to discuss advertising & sponsorship opportunities.
If you enjoyed this story, we recommend reading our latest tech stories and trending tech stories. Until next time, don’t take the realities of the world for granted!