🚨 Lighthouse PHP Framework Documentation
Welcome to the official documentation for Lighthouse - a minimal, predictable PHP micro-framework for building modern web applications.
🚀 Quick Navigation
📖 Getting Started
- Installation & Setup - Get Lighthouse running in minutes
- Your First Application - Build your first Lighthouse app
📚 Core Concepts
- Routing - URL routing and form handling (both approaches)
- Views & Templates - Rendering beautiful pages (coming soon)
- Database - Working with SQLite and data (coming soon)
- Authentication - User login and security (coming soon)
🛠️ Advanced Topics
- Validation - Input validation and sanitization (coming soon)
- Frontend - HTMX and modern CSS (coming soon)
- Deployment - Production deployment guide (coming soon)
✨ Features
- ⚡ Lightning Fast - Built for speed and performance with minimal overhead
- 🎯 Simple & Focused - Clean, predictable API that gets out of your way
- 🔒 Secure by Default - Built-in CSRF protection, input validation, and authentication
- 📱 Modern Stack - PHP 8+, HTMX, Pico.css, and SQLite
- 🚀 Deploy Anywhere - Simple deployment, works on any server with PHP 8+
- 🛠️ Developer Friendly - Type hints, modern PHP features, and comprehensive documentation
🎨 Brand Colors
Lighthouse comes with a beautiful, sea-inspired color palette:
| Color Name | Hex Code | Usage |
|---|---|---|
| Beacon Red | #E63946 |
Accent / Logo / Links |
| Sea Slate | #1D3557 |
Primary background or text |
| Fog White | #F1FAEE |
Page background |
| Sky Mist | #A8DADC |
Borders / secondary background |
| Signal Blue | #457B9D |
Buttons / code highlights |
🚀 Quick Start
# Install the Lighthouse CLI
bash -c "$(curl -fsSL https://raw.githubusercontent.com/max-yterb/Lighthouse/main/scripts/install.sh)"
# Create a new project
lighthouse new my-app
cd my-app
# Start development server
php -S localhost:8000 -t public/
🤝 Community
- 💬 GitHub Discussions - Ask questions and share ideas
- 🐛 Issues - Report bugs and request features
- 📖 Contributing Guide - Help improve Lighthouse
📄 License
Lighthouse is open-sourced software licensed under the MIT license.
Built with ❤️ by Massimiliano Bertinetti
Ready to start building? Check out the Getting Started Guide to begin your journey with Lighthouse! 🚨⚡