Free · open source · Oash Social Foundation

Free mini PHP framework for static websites.

A mini PHP framework for people shipping a startup page, a mini-business brochure, or a first client site — without WordPress, without a database, and without confusing the next developer.

Need help? Write to contact@oashsocial.in. If this saves you a weekend, a on GitHub means a lot. Coffee is optional

Who this is for

If the job is a mini site, you are in the right place.

Mini-site developers

You build 5–20 page sites for clients. You want one layout, one route file, and a format the next freelancer can open without a lecture.

Static requirements

Brochure, landing, portfolio, menu, clinic hours, NGO page. Content barely changes. A database would only add risk and hosting cost.

Startups & new business

You need a public face this week on cheap PHP hosting. Clean URLs, contact form, SEO tags — not a CMS login you will forget.

Mini business

Shop, tutor, studio, consultant. A site the owner can hand to a junior without WordPress plugins and surprise updates.

New PHP people

Friends who are new bees still write in a standard format: route, page view, layout. Clients stay calm. Security defaults are already there.

Teachers & agencies

Show juniors how the web actually serves a URL. No Composer, no Blade, no magic — then they can grow into Laravel later.

Aim, vision, and client–server diagrams →

Aim

Help new people understand the system, then ship.

New bees, students, new developers, startups, new businesses, and new players in the market get one honest picture of client and server — then a tiny PHP framework that does not fight them.

Vision

The world’s simplest free static PHP framework.

Anyone should use it with very minimum effort. MIT. Oash Social Foundation. Diagrams first. No database required for a brochure site.

See the flows

Why teams pick it

Standard format. Small attack surface. Easy hosting.

New developers, old clients

Juniors can still write pages the same way every time. The client gets a folder they can hand to the next person without panic.

Security by subtracting

No database means no SQL injection. Output is escaped. app/ and core/ stay private. Forms use a honeypot. You still patch PHP on the host.

Shared hosting is enough

Upload, enable mod_rewrite, set debug to false. Same model as a classic PHP site — just cleaner URLs.

The flow

Config. Route. Page. Render. SEO. Sitemap.

Every public URL follows the same path. That is the whole framework.

  1. Config

    Name, site_url, email, nav, UPI. This is the site identity.

  2. Route

    A switch in app/routes.php maps /about to a view.

  3. Page

    HTML body only in app/views/pages/. No header copy-paste.

  4. Render

    The engine wraps the page in the layout: one header, one footer.

  5. SEO

    Title, description, canonical, Open Graph from the route data.

  6. Sitemap

    List the URL, then php tools/generate-sitemap.php. Check links after.

Full walkthrough with commands →

Build with us

Want to make this more powerful?

If you are a developer and you care about simple static PHP, send your contact and email. The work stays ours as a community: free to use, MIT, Oash Social Foundation. No private fork of the core.

Support and pairing: contact@oashsocial.in · LinkedIn

Share your contact

What we welcome

  • Docs, examples, starter kits
  • Safer defaults, better forms
  • Tools (sitemap, link check, deploy notes)
  • Hosting guides for beginners

From the maintainer

Fourteen years in, this is the tool I wish juniors had.

I am Avinash Raut. I built Oash Mini-PHP in free time because too many friends were throwing together static pages with random .php files. Startups and mini businesses need something small, hosted easily, and written in a format the next developer (and the client) can live with.

If you want to work together: LinkedIn or contact@oashsocial.in.

People also ask

FAQ: static PHP sites without a database

What is a mini PHP framework for a static website?
Oash Mini-PHP is a free, open-source PHP 8 toolkit for brochure and startup sites. You map a clean URL such as /about to a page file. There is no database, no Composer, and no WordPress. It runs on ordinary shared hosting.
Is Oash Mini-PHP free to use?
Yes. It is MIT-licensed and published by Oash Social Foundation for the developer community. Download it from GitHub, use it on client sites, and keep it free. Coffee via UPI is optional.
Can a student or new developer build a site with it?
Yes. The pattern is always config → route → page → layout. Docs and Aim & Vision explain client–server with diagrams so new bees and students can follow without Laravel.
Is this good for a startup or new business website?
If you need a landing page, about, services, and contact on PHP hosting this week, yes. It is not an e-commerce or login app. For a first public site with static requirements, it is enough.
Do I need a database or Composer?
No. Lists can be PHP arrays in app/data/. Composer is not required. That is why the attack surface is small and cheap hosting works.

All frequently asked questions →

Clone it. Star it if you like it. Ship a site this week.