Aim & Vision
Simple enough for a first website. Free enough for the whole world.
Oash Mini-PHP exists so new bees, students, new developers, startups, and new businesses can understand how a website actually works — then ship one with very little effort. No maze of tools. One small, free framework.
Aim
Help people who are new to the market understand the system easily, then give them a standard way to build a static PHP site that a client will not hate later.
New bees, students, new developers
See the pieces with names: browser, server, URL, route, page, layout. Copy one pattern. You are not expected to know Laravel on day one.
Startups & new business
A first public website: about, services, contact. Cheap PHP hosting. Clean URLs. You can explain the folder to the next person you hire.
New player in the market
If you are just starting freelance or an agency, Mini-PHP is a teaching stack and a delivery stack. Same files. Minimum moving parts.
Vision
Make this the simplest framework in the world for static PHP sites — so anyone on Earth can use it freely, with very minimum effort, under MIT, from Oash Social Foundation.
- Free forever for the developer community. The extra work we invite stays public.
- Minimum files to learn: config, route, page, layout.
- Minimum hosting pain: PHP 8, upload, rewrite. No Composer required.
- Minimum fear: no database, escaped output, private engine folders.
- Maximum clarity: diagrams first, jargon second.
If a student in any city can open the repo on a Sunday and have /about live before dinner, the vision is working.
Who this is written for
If you are new, start here. “Client” means the visitor’s browser. “Server” means the computer that stores your PHP files (your laptop now, the host later). You do not need a database for a brochure site.
Client–server architecture
Every website is a conversation. The client asks. The server answers. Oash Mini-PHP is the small program on the server that decides which HTML to send.
Please give me /about
https://yoursite.com/about
index.php runs the route
The address bar never needs about.php. The server still uses PHP; the visitor only sees a clean URL.
What happens on the server (one request)
When /about arrives, Mini-PHP does not guess. It follows one line:
/aboutindex.phproutes.phpIf the route has no case, the client gets a 404 page. Extra bits like /about/hack should also 404.
How you add a page (developer flow)
This is the only loop you memorise. Same for students and for a new business site.
case '…'Commands and file names are in the docs →
Contact form (still client–server)
A page like /contact is HTML. When someone presses Send, the browser posts to a real file on the server, not a fake route. That keeps the public URL clean and mail in one place.
includes/send-form.php
contact@oashsocial.in
Support: contact@oashsocial.in. If you want to help make this even simpler for the next student, share your contact — the work stays free to use.