Develop an E-Commerce Website With Laravel 5.4 - Part 1

Published Mar 19, 2017Last updated Jun 21, 2017
Develop an E-Commerce Website With Laravel 5.4 - Part 1

All posts in this series:

I am starting a new series in which I will discuss the development process to create an e-commerce website in Laravel 5.4 where customers can register and buy items after login. For payment I will be using Stripe payment gateway.

Prerequisites

  • Good knowledge of PHP, If you know PHP7.x then awesome as Laravel 5.3+ rely on latest versions of PHP.
  • I assume you already have worked on some MVC framework like Rails, CakePHP, CI or even old Laravel version.

Environment Setup

As installation guide says, I will be using composer to install Laravel. You can install locally on your machine can start web server by doing php artisan serve but I am going to use Homestead as a development environment. Why, because by using Homestead which is actually a Vagrant box, I will not mess with my own machine while installing different packages and tools and I can always discard or move the box without any issue. I will not be covering details of Homestead installation as you can find an awesome tutorial here. In case you are not comfortable with Homestead, go to terminal and simply write following command:

composer create-project --prefer-dist laravel/laravel golmarket
and then launch server by running php artisan serve.

If All goes well you should see the following screen when visiting http://golmarket.dev/
Screen Shot 2017-03-17 at 3.22.49 PM.png

Discover and read more posts from Adnan Siddiqi
get started