I built an app using a single index.php file, here's how it went
Want to build an app but are too tired of the complicated mess that is modern web development? Try using just a single index.php file for your project! You certainly will not regret adding every shred of functionality into a single index.php file (okay maybe a little). In this video, I talk about Pieter Levels (levelsio) and his unorthodox and recently-criticized way of building, maintaining, and deploying his popular websites. That is, he builds everything in a single index.php file, sometimes tens of thousands of lines long, and pushes out deployments without a test suite directly to main. It's certainly unorthodox, but there's a kind of simplistic beauty to it that is truly alluring. In this day and age it's all about large frameworks that abstract out the gritty details of building a website (like routing, database connections, and caching). Starting this way almost feels like building a cabin in the woods with hand tools. The end result though isn't super terrible. At least in the example app I put together, after a while I'm able to easily hop to a place in my file that I know functionality lies, debugging is pretty straightforward, and adding new features is tedious but straightforward without fighting a framework. Would I do this for a full-fledged app of my own? Probably not. But it's an interesting experience nonetheless and definitely had me admired. Interested in learning how to build a real-world practical SaaS app with Laravel and Filament? Check out my latest full-fledged course at https://selfmadesaas.com. 0:00 Intro 1:30 Starting with a database 3:59 Creating an admin panel 8:32 Admin user logins 14:10 Finishing the admin panel 20:22 Building the main view 23:28 Showing individual pages 25:10 Displaying and saving comments 28:48 Final thoughts Send me new video ideas and vote on what's coming next: https://suggest.gg/aschmelyun Follow me on Twitter! / aschmelyun Join my newsletter, where I send out new information about twice a month in the PHP, JavaScript, and Docker realms: https://aschmelyun.substack.com

PHP Doesn't Suck Anymore? | Prime Reacts

Laravel + Livewire todo app (and so much more)

AI Bubble: How AI's push towards IPOs became a death drive | Ed Zitron

My own coding agent in 500 lines of PHP

Build a Full Stack To-Do App with PHP & MySQL (Beginner Friendly)

Cloudflare bought Vite to destroy Vercel

I Built the Same App in ALL Versions of PHP (1995-2025)

Why Tech CEOs Are Quietly Cancelling Their AI Plans

It finally happened

🚗 BYD : The biggest SCAM of the car industry ?

Backend web development - a complete overview

When to use Traits, Interfaces, and Abstract Classes in PHP

Your Life as Every Rank of Dark Web Hacker

Model Context Protocol (MCP), clearly explained (why it matters)

I Proved People Have NO Idea How Many Calories They Eat

Full Walkthrough: Workflow for AI Coding — Matt Pocock

You don't need a frontend framework

The AI obsession is backfiring

How To Handle Permissions Like A Senior Dev

