⚛️ React
React is the world's most popular library for building user interfaces. When combined with Laravel, it provides a "Heavy-Industry" foundation for modern web applications.
🐘 Why Laravel + React?
- Vite Bridge: Laravel's native Vite integration makes React development instantaneous.
- Inertia.js: Build single-page apps without the complexity of a separate API layer. Keep your routing and controllers in PHP while using React for the UI.
- Authentication: Use Laravel Starter Kits to get professional, secure React-based auth in minutes.
🚀 Why LaraKube CLI?
Deploying React (especially with SSR) on Kubernetes is notoriously complex. LaraKube CLI solves this by:
- Dedicated Node Pods: Automatically scaffolds separate pods for the Vite dev server and Node.js SSR workers.
- Automated Networking: Pre-configures Traefik to route
vite.your-app.kubedirectly to the HMR server. - Production Parity: Your React build pipeline inside the cluster matches your production CI/CD exactly.
# Scaffold a React Masterpiece
larakube new my-app --react