Other

bazaar

PHP online shop with Stripe Checkout

An online shop written in PHP on a hand-rolled microframework, with no Laravel or Symfony. It has a catalogue, a cart, Stripe Checkout payments, customer accounts and an admin back office.

bazaar

About the project

bazaar is an e-commerce shop in PHP, built on a hand-rolled microframework instead of Laravel or Symfony. A customer browses the catalogue, collects products in a cart kept in the session and pays through Stripe Checkout (a payment page hosted by Stripe). The shop has customer accounts and a full admin back office, and database queries go only through prepared statements (parameterised queries that protect against SQL injection).

The challenge

A hand-rolled microframework instead of Laravel or Symfony is a deliberate descent to a level where you guard session and query safety yourself, because no ready-made framework does it for you. In a shop with payments there was no room for shortcuts here.

What we did

  1. 01

    A hand-rolled PHP microframework in place of Laravel and Symfony

  2. 02

    A product catalogue and a cart kept in the session

  3. 03

    Payments through Stripe Checkout

  4. 04

    Customer accounts and a full admin back office

  5. 05

    Hardened sessions, meaning extra protection against hijacking

  6. 06

    Database queries only through prepared statements

Related projects

Describe your project.

A free quote comes back within an hour during working hours.

Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.