---
title: "bazaar: PHP online shop with Stripe Checkout | VulCode"
description: "bazaar is an e-commerce shop in PHP, built on a hand-rolled microframework instead of Laravel or Symfony."
url: "https://vulcode.com/en/portfolio/other/bazaar"
lang: "en"
---

[Other](https://vulcode.com/en/portfolio/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.

## 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

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

- A product catalogue and a cart kept in the session

- Payments through Stripe Checkout

- Customer accounts and a full admin back office

- Hardened sessions, meaning extra protection against hijacking

- Database queries only through prepared statements

## Related projects

- [**slotline** A booking system for rooms, courts and equipment built on Spring Boot. It makes sure the same slot does not go to two people, even when they book at the same moment.](https://vulcode.com/en/portfolio/other/slotline)

- [**cellar** A spreadsheet engine written in pure Dart, with its own formula language. It reads formulas, tracks the links between cells and recalculates only what is needed.](https://vulcode.com/en/portfolio/other/cellar)

- [**cobalt** An embedded LSM key-value store written in Zig: a small database that ships inside a program as a library. It writes fast, protects data in a crash and reclaims disk space by itself.](https://vulcode.com/en/portfolio/other/cobalt)

## Describe your project.

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

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## 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.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
