paint-brush
First steps with Laravel and Continuous Deliveryby@BuddyWorks
6,483 reads
6,483 reads

First steps with Laravel and Continuous Delivery

by BuddyApril 20th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

It appears that <a href="https://hackernoon.com/tagged/laravel" target="_blank">Laravel</a> is nowadays one of the most frequently used <a href="https://hackernoon.com/tagged/php" target="_blank">PHP</a> 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.

Company Mentioned

Mention Thumbnail
featured image - First steps with Laravel and Continuous Delivery
Buddy HackerNoon profile picture

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.

Laravel-based application

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.

Install Laravel

At first, make sure to install the following things locally:

  1. PHP v. 5.6.3 or the most recent PHP version from: http://php.net/manual/en/install.php
  2. 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 laravel command:

$ export PATH="$PATH:$HOME/.config/composer/vendor/bin"

Want to learn more? Follow the full article here.