Blog / Building

Building a small business website

How I actually build the sites, from the stack and the folder structure to the forms, booking and chat that owners ask for.

Most of the sites I build are plain PHP with MySQL, with a small admin panel so the owner can change prices, photos and posts without calling me. Bigger projects with user accounts and lots of rules go on Laravel. This page collects the posts where I explain how I build them, from the folder structure to the contact form.

If you are a business owner, you do not need to read all of it. The main guide on building websites with PHP and MySQL in 2026 explains why I still choose this stack and what it means for your hosting bill and for the next developer. The posts on admin panels, client logins, online booking, WhatsApp and chatbots are written for owners deciding what their site should do.

If you are a developer, the more technical posts are here too: how I organize CSS on small PHP sites, how I use Git and GitHub on client work, why every change goes through a staging copy first, and the small layout problems that only show up on phones.

A lot of this comes straight from projects in my portfolio. The Foodly restaurant site has an online menu with a cart and a table reservation form. CinemaPointer, a movie review site, runs on Laravel with member picks, film suggestions and a bottom menu bar on phones. The iLoveView web app, also Laravel, lets people record a private video and choose the day it is delivered. The same habits run through all of them: keep the code simple enough that someone else can maintain it, test every screen on a real phone, and make sure every form actually reaches a person.

If your project is closer to an app than a website, the free app development cost calculator gives a rough range. If you are stuck on a build decision, send me a message and I will tell you what I would do.

Start here

Stack and workflow

  • Laravel or Plain PHP: How I Choose for Each Project

    I build with both Laravel and plain PHP. Here's how I decide which one fits a project, the questions I ask first, and the mistakes I see when people pick the wrong one.

  • How I Organize CSS on Small PHP Sites

    The simple CSS setup I use on small PHP websites: a few plain files in a clear order, CSS variables for colors and fonts, low-specificity classes, and no structure that is bigger than the site itself.

  • Using Git and GitHub for Client Websites as a Freelancer

    How I use Git and GitHub on everyday client websites: one private repository per site, keeping passwords and uploads out of it, a simple branch and commit routine, preview links, and handing the code over to the client.

  • Why I Prefer Staging Sites Before Going Live

    What a staging site is, how I used one to rebuild usamify.com, what broke the one time I updated the live site directly, and the small PHP guard I test on every staging copy.

  • Should Your Business Use a Subdomain or a Subfolder?

    When I put a blog, shop or app on a small business site I usually choose a subfolder such as example.com/blog, and I reserve a subdomain for a truly separate product or a service on different hosting.

Features owners ask for

Design details that matter

  • Choosing Fonts and Colors for a Business Website

    How I choose fonts and a website color scheme for small business sites: start from the brand, stick to two typefaces, keep a short palette with real contrast, and test on phones before launch.

  • Mobile-First Layouts: Fixing Horizontal Scroll and Cramped Forms

    The mobile problems I fix most often on small business websites: pages that slide sideways, forms that are hard to fill in, oversized headers and floating buttons, plus how I test on real phones.

  • Image Formats I Use on Client Websites

    Which image formats I use on the websites I build and why: WebP for photos, AVIF for large hero images, SVG for logos, PNG for screenshots, JPEG as a fallback, plus the resizing and lazy loading that matter just as much.

  • Do You Need a Custom 404 Page?

    What I put on a custom 404 page, why it must return a real 404 status, how I set it up on PHP and Apache, and how I track 404 hits afterwards.

Forms that reach you

  • Protecting Contact Forms From Spam Bots

    The layered setup I use to stop bots filling in contact forms on PHP sites: a honeypot field, a signed time check, server-side validation and rate limiting, with Cloudflare Turnstile or reCAPTCHA only when they are really needed.

  • Making a Contact Form That Actually Lands in the Inbox

    Why contact form emails end up in spam and how I fix it: sending through SMTP instead of PHP mail(), using Reply-To, checking SPF, DKIM and DMARC, blocking bots, saving every enquiry and testing in real inboxes.

Free tools for this stage

More guides: Planning a small business website and Launching and looking after a website. Or browse every post on the blog.