atomphp/framework

Atomic Fullstack Framework for Modern PHP.

Maintainers

Package info

github.com/CodeWithSushil/atomphp

Type:project

pkg:composer/atomphp/framework

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2026-03-05 02:35 UTC

This package is auto-updated.

Last update: 2026-03-05 02:43:54 UTC


README

Atomic Fullstack Framework for Modern PHP.

AtomPHP is an experimental, developer-focused fullstack framework built to explore modern PHP architecture through simplicity, performance, and strict design principles.

It is inspired by the developer experience of Nuxt.js and Next.js, but built entirely in PHP.

AtomPHP is not trying to replace Laravel. It is not trying to be a corporate enterprise framework.

It is a laboratory for building modern fullstack applications using:

  • File-based routing
  • SSR + SPA hybrid rendering
  • Strict typing
  • Clean architecture
  • Reusable UI components
  • Simple API building and integration
  • Security-first design
  • Developer experience as a priority

๐ŸŽฏ Vision

AtomPHP aims to bring a modern fullstack workflow to PHP:

  • One framework
  • One language
  • One codebase
  • Backend + Frontend together

Like Nuxt.js for Vue or Next.js for React โ€” but purely in PHP.

The goal is to understand and experiment with:

  • Server-Side Rendering (SSR)
  • SPA-style hydration
  • File-based routing systems
  • Component-driven UI architecture
  • API-first design
  • Modern strict PHP architecture
  • Clean code and long-term maintainability

๐Ÿง  Why AtomPHP Exists

Modern frontend frameworks provide:

  • Automatic routing
  • Hybrid rendering
  • Component architecture
  • Clean DX

Traditional PHP frameworks focus heavily on backend structure but often separate frontend concerns.

AtomPHP explores the idea:

What if PHP handled both โ€” cleanly and atomically?

This framework is built to experiment with:

  • Hybrid SSR + SPA flow
  • Minimal JavaScript footprint
  • Strong typing and static analysis friendliness
  • Future-proof structure
  • Secure-by-default architecture
  • Reusable atomic UI components

โš› Core Philosophy

AtomPHP is built on atomic principles:

  1. Small, composable pieces
  2. Strict types everywhere
  3. Clear boundaries between layers
  4. Convention over configuration
  5. Minimal magic
  6. Security by design
  7. Performance-aware architecture
  8. Developer experience first

Every page, component, and API endpoint should feel like an independent atom โ€” small, reusable, predictable.

๐Ÿš€ What AtomPHP Wants to Build

AtomPHP aims to provide:

  • File-based routing (/pages/about.php โ†’ /about)
  • API auto-registration (/api/users.php โ†’ /api/users)
  • SSR rendering pipeline
  • SPA-style hydration layer
  • Typed request & response system
  • Component-based UI structure
  • Simple CLI tooling
  • Strict modern PHP (8.4+)
  • Clean internal kernel architecture

It is designed as:

  • A playground for architecture
  • A research project for modern PHP fullstack development
  • A learning tool for understanding how frameworks like Nuxt.js work internally

๐Ÿงช Experimental by Design

AtomPHP is intentionally:

  • Lightweight
  • Experimental
  • Educational
  • Architecture-focused

It values:

  • Code quality over feature bloat
  • Simplicity over complexity
  • Understanding over abstraction

๐Ÿ” Security & Code Quality

AtomPHP is built with:

  • Strict typing
  • Clear boundaries
  • Controlled data flow
  • Explicit rendering pipeline
  • Secure defaults

Security and maintainability are first-class concerns โ€” not afterthoughts.

๐ŸŒ Long-Term Aim

The long-term aim of AtomPHP is to explore:

  • Can PHP provide a true modern fullstack DX?
  • Can SSR + SPA coexist cleanly in PHP?
  • Can file-based routing feel natural in backend-first development?
  • Can a minimal, atomic architecture scale cleanly?

AtomPHP is an experiment in answering those questions.

โšก Status

Early-stage experimental framework. Built for exploration, learning, and modern architectural experimentation.

Build fullstack apps atomically.