Tech Stack
Pyxis CMS v2.0 is built on a carefully selected tech stack that ensures modularity, high performance, and full separation of the data layer (Headless) from the presentation layer.
Core Pillars
Section titled “Core Pillars”1. Backend: Laravel (Headless Core)
Section titled “1. Backend: Laravel (Headless Core)”The logical core of the system operating in Headless mode, utilizing Service Providers for a modular architecture.
- UUID v7: Native support for chronologically sortable identifiers, enhancing both security and database performance.
- JSON API: Structured, strongly-typed responses via
JsonResourcefor external consumers.
2. Admin Panel: FilamentPHP
Section titled “2. Admin Panel: FilamentPHP”A robust content management interface powered by the TALL stack (Tailwind, Alpine, Laravel, Livewire).
- Dynamic Block Builder: Flexible page layouts using the Builder component.
- Real-time Preview: Custom HMAC signature verification mechanism for secure draft content previewing.
3. Frontend: Astro (Primary Starter)
Section titled “3. Frontend: Astro (Primary Starter)”The rendering engine for the presentation layer, chosen for its extreme performance and Islands architecture.
- Zero JS: Ships pure HTML by default without unnecessary JavaScript overhead.
- Hybrid Rendering: Seamlessly mix static (SSG) and dynamic (SSR) pages.
- Multi-framework: Use React/Next.js components within Astro wherever interaction is needed.
4. Database: PostgreSQL
Section titled “4. Database: PostgreSQL”Leveraging the JSONB type to store flexible block structures while maintaining full indexing performance.
5. Quality & Testing: Pest
Section titled “5. Quality & Testing: Pest”A modern PHP testing framework ensuring logical and architectural stability of the system.
6. Infrastructure: Docker (Multi-container)
Section titled “6. Infrastructure: Docker (Multi-container)”Full containerization of the technology stack.
- Isolation: Dedicated containers for the Admin (
pyxis-admin) and Frontend (pyxis-view). - Internal Networking: Direct server-to-server communication within the Docker network.