Skip to content

Stellify transforms Laravel applications by storing business logic (code) and configuration in a database rather than static files. This architectural shift enables centralized code sharing, version control, and real-time collaboration across multiple projects while leveraging Laravel's framework capabilities.

Notifications You must be signed in to change notification settings

Stellify-Software-Ltd/stellify

Repository files navigation

Stellify Logo

Stellify

AI-Native Code Composition Platform

Stellify is a platform where code exists as structured JSON in a database rather than text files. This enables AI to compose and control and even stream applications using a combination of APIs and database queries.

How Stellify Works

Code as Structured Data

Traditional development stores code as text files. Stellify stores code as structured JSON in PostgreSQL/MySQL, enabling:

  • Granular editing - Change individual statements without parsing entire files
  • Deduplication - Detect identical code via content hashing
  • AI-friendly - Structured data is easier for AI to understand and modify
  • Visual editing - UI can directly edit JSON representation
Traditional Development:
Write code -> Store in .php files -> Version control -> Deploy

Stellify Development:
Design/code -> Store as JSON -> Assemble to PHP/JS -> Deploy
                    |
              Reuse proven components across projects

Data Model Hierarchy

Stellify organizes code into a clear hierarchy:

Project (Application Container)
├── Routes (Pages & API Endpoints)
│   ├── Elements (UI Components)
│   │   └── Elements (Nested children)
│   └── Controller binding -> Method
│
├── Directories (File Organization)
│   └── Files (Classes/Controllers)
│       └── Methods (Functions)
│           └── Statements (Code Lines)
│               └── Clauses (Code Fragments)

Elements System (Frontend)

Elements are hierarchical UI components stored as JSON. They represent HTML structure and can be assembled into Blade templates.

Type Purpose Example HTML
s-wrapper Generic container <div>, <span>, <section>
s-input Form inputs <input>, <textarea>, <select>
s-form Form element <form>
s-media Images/video <img>, <video>, <audio>
s-loop Iteration @foreach
s-directive Blade directives @auth, @if

Methods System (Backend)

Methods are PHP functions stored as structured JSON:

Statements = Individual lines of code
Clauses = Pieces of a statement

// Code: $user = User::create($data);

Statement {
  type: "assignment",
  clauses: [
    { value: "$user", type: "variable" },
    { value: "=", type: "operator" },
    { value: "User::create($data)", type: "method_call" },
    { value: ";", type: "terminator" }
  ]
}

MCP Integration

Stellify integrates with AI assistants via the Model Context Protocol (MCP). The MCP server allows Claude Desktop and Claude Code CLI to build applications through natural language.

Example:

User: "Create a contact form on my homepage"

Claude uses MCP to:
1. Create route (/contact)
2. Convert HTML to elements (form, inputs, button)
3. Link to backend controller

Result: Complete contact form built in Stellify

Resources

Documentation

GitHub Repositories

Visit our GitHub organization for related tools:

Getting Started with MCP

# Install MCP server
npm install -g @stellisoft/stellify-mcp

# Configure Claude Desktop (~/.config/claude/claude_desktop_config.json)
{
  "mcpServers": {
    "stellify": {
      "command": "stellify-mcp",
      "env": {
        "STELLIFY_API_URL": "https://stellisoft.com/api/v1",
        "STELLIFY_API_TOKEN": "your-token-here"
      }
    }
  }
}

Current Capabilities

  • Build full-stack web applications (Laravel backend, Vue/Alpine frontend)
  • Visual interface builder with 15+ element types
  • Code editor for PHP methods and statements
  • MCP server for AI assistants (Claude Desktop, Claude Code CLI)
  • HTML to Elements conversion in single API call
  • Method deduplication via content hashing
  • Export to production-ready PHP/JavaScript
  • Database migrations, models, seeding
  • Vue 3 SFC bundling via esbuild (~50ms dev builds)

Contributing

Thank you for considering contributing to Stellify! The contribution guide can be found in the Stellify documentation.

Security Vulnerabilities

If you discover a security vulnerability within Stellify, please send an e-mail to Matthew Anderson via matthew.anderson@stellisoft.com. All security vulnerabilities will be promptly addressed.

License

Stellify is open-sourced software licensed under the MIT license.

Learn More

About

Stellify transforms Laravel applications by storing business logic (code) and configuration in a database rather than static files. This architectural shift enables centralized code sharing, version control, and real-time collaboration across multiple projects while leveraging Laravel's framework capabilities.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project