The ultimate production-ready boilerplate: 100% Native PHP & 0 dependencies. Built with strict Clean Architecture, it includes a dual-engine mailer (native + custom socket SMTP), a custom CSS-animated Dark Mode toggle (no white flash), bulletproof security (CSRF, Honeypot), and sleek UI components. Perfect for indie hackers and freelancers who want to ship fast, clean, and secure web projects without the bloat of massive frameworks.
No reviews yetBe the first to leave a review for Ultra-Light PHP Starter Ki
Maker
📌
Hey hunters! 👋
Tired of installing massive 50MB frameworks just to build a simple landing page, a micro-SaaS, or a fast client website?
We built the Ultra-Light PHP Starter Kit to solve exactly that. It's a production-ready boilerplate with 100% Native PHP and 0 external dependencies, strictly organized under Clean Architecture.
🔥 What's inside: - Strict Clean Architecture decoupling your Domain & Use Cases from Infrastructure - Dual-Engine Mailer (Switch instantly between native mail() and raw socket SMTP) - Flawless Animated Dark Mode with system preference detection & ZERO white flash - Bulletproof security (CSRF with TTL, anti-spam Honeypot, HTML sanitization) - Premium "Luxury" CSS component library (Buttons, grids, cards) - Essential developer workflow (Automated deploy.sh & server check.php tools)
Stop wasting hours setting up your base code. Build clean, ship fast, and save your time!
Would love to hear your feedback! 🚀
Report
💎 Pixel perfection
Spent an hour poking around the structure and really liked how the no-flash dark mode toggle is handled with pure CSS, such a small thing but so easy to get wrong otherwise.
Report
Maker
@yeliz950491 Thanks a lot for taking the time to look! Really glad you noticed the CSS dark mode toggle. Getting rid of that annoying white flash without adding layout shifts or heavy JS execution was exactly the goal. Appreciate the feedback, it means a lot coming from someone who pays attention to those details!
Report
Genuinely curious about something: how does the custom socket SMTP engine actually compare to something like PHPMailer or Symfony Mailer in terms of reliability with bigger providers like Gmail or Outlook?
Report
Maker
@dvorria61198 Great question!
To be completely transparent: PHPMailer and Symfony Mailer are fantastic, heavy-duty libraries with years of edge-case handling. However, they carry a lot of abstraction and overhead that a lightweight starter kit doesn't always need.
Here is how the custom socket SMTP engine compares regarding reliability with major providers (Gmail, Outlook):
1. Pure RFC 5321 Compliance: The engine speaks the raw SMTP protocol directly over secure TLS sockets (`stream_socket_client`). Since major providers strictly adhere to standard SMTP commands (EHLO, MAIL FROM, RCPT TO, DATA, QUIT), the core transport layer is just as reliable as any library.
2. Network & Timeout Handling: The engine includes explicit stream timeouts and reads multi-line server responses correctly. If Gmail or Outlook throttles the connection or returns a 4xx/5xx error, the engine catches it instantly instead of freezing the PHP process.
3. Deliverability (The real key): Reliability with Gmail/Outlook doesn't actually depend on the PHP code you use to send the bytes—it depends on your infrastructure. Whether you use Symfony Mailer or this custom socket engine, if your SPF, DKIM, and DMARC records aren't set up properly on your domain, or if your IP reputation is bad, major providers will reject the email.
4. Main Difference: This engine is built for synchronous, lightweight transactional transactional emails (e.g., password resets, welcome emails). It doesn't handle complex features out-of-the-box like heavy attachment chunking, built-in queue spools, or multi-part alternative bodies natively—which is exactly why it keeps the codebase ultra-light and lightning fast!
Hey hunters! 👋
Tired of installing massive 50MB frameworks just to build a simple landing page, a micro-SaaS, or a fast client website?
We built the Ultra-Light PHP Starter Kit to solve exactly that. It's a production-ready boilerplate with 100% Native PHP and 0 external dependencies, strictly organized under Clean Architecture.
🔥 What's inside:
- Strict Clean Architecture decoupling your Domain & Use Cases from Infrastructure
- Dual-Engine Mailer (Switch instantly between native mail() and raw socket SMTP)
- Flawless Animated Dark Mode with system preference detection & ZERO white flash
- Bulletproof security (CSRF with TTL, anti-spam Honeypot, HTML sanitization)
- Premium "Luxury" CSS component library (Buttons, grids, cards)
- Essential developer workflow (Automated deploy.sh & server check.php tools)
Stop wasting hours setting up your base code. Build clean, ship fast, and save your time!
Would love to hear your feedback! 🚀
Spent an hour poking around the structure and really liked how the no-flash dark mode toggle is handled with pure CSS, such a small thing but so easy to get wrong otherwise.
@yeliz950491 Thanks a lot for taking the time to look! Really glad you noticed the CSS dark mode toggle. Getting rid of that annoying white flash without adding layout shifts or heavy JS execution was exactly the goal. Appreciate the feedback, it means a lot coming from someone who pays attention to those details!
Genuinely curious about something: how does the custom socket SMTP engine actually compare to something like PHPMailer or Symfony Mailer in terms of reliability with bigger providers like Gmail or Outlook?