Codementor Events

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
post commentsBe the first to share your opinion
Muhammad Azaz Qadir
5 years ago

I think it is better to use Laravel cms to create an ecommerce website, instead of developing a custom website.

Purnima Bocha
6 years ago

In One Day With An Ecommerce Store
I wanted to bring you another really valuable lesson from a multi-million store builder, JR Fisher. (remember, the guy who developed products that sell on Wal-Mart’s website?)
CASE STUDY: $27,334.07 In One Day With An Ecommerce Store
Utilizing a simple strategy called “Low-Cost, Quick Scaling Funnel” Strategy, J.R. was able to take a store that he had no audience, no initial products and quickly turn it into a huge success story using a simple little technique he developed.
<a href=http://www.digitalcashacademy.com?18498AS4G984BAFBAFDHBAD>Click here to find out how</a>

Lê Minh Tiến
6 years ago

I’m Laravel newbie, I study Laravel from https://tienleit.com and I feel Laravel very difficult, I can working it WordPress easy. With Homestead, to deploy it, I seen https://tienleit.com/chuyen-nghe-code/huong-dan-cai-dat-homestead-tren-vagrant-virtualbox/ but not good and impossible.

Show more replies