FAQ
Frequently asked questions about this mini PHP framework
Short answers for students, new developers, startups, and anyone searching for a free static PHP framework with clean URLs and no database. Full walkthrough: docs. Pictures of the system: aim & vision.
- 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.
- How do clean URLs work without about.php?
- Apache rewrites unknown paths internally to index.php. The router reads /about, finds case "about", and renders the view inside the layout. The browser never needs a .php suffix.
- How do I add a new page?
- Create app/views/pages/services.php, add a case in app/routes.php with title and description, optional nav in config, then add the path to app/data/sitemap.php and run php tools/generate-sitemap.php.
- Does it include SEO?
- Each route sets a unique title and description. The layout prints canonical, Open Graph, Twitter, and JSON-LD. You generate sitemap.xml, robots.txt, and llms.txt from one list. Broken-link checks catch 404s.
- Where can I download Oash Mini-PHP?
- Clone or ZIP from github.com/codingtodecoding/oash-mini-php. PHP 8+, then php -S localhost:8000 router.php locally, or upload to Apache with mod_rewrite.
- Who built it and how do I get support?
- Avinash Raut (14+ years) built it in free time. Support: contact@oashsocial.in. LinkedIn: linkedin.com/in/avinash-raut-19783075/.
Still stuck? contact@oashsocial.in or the contact form. Download: free on GitHub.