PHPackages                             ramizasoft/prism - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. ramizasoft/prism

ActiveLibrary[CLI &amp; Console](/categories/cli)

ramizasoft/prism
================

Prism core CLI engine built on Laravel Zero.

v1.1.0(4mo ago)00MITPHPPHP ^8.2

Since Dec 27Pushed 2mo agoCompare

[ Source](https://github.com/ramizasoft/prism)[ Packagist](https://packagist.org/packages/ramizasoft/prism)[ Docs](https://ramizasoft.com)[ RSS](/packages/ramizasoft-prism/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

Prism (Brand Factory Generator)
===============================

[](#prism-brand-factory-generator)

**A high-performance static site generator platform for Amazon sellers to achieve brand verification and own their audience.**

Built by RamizaSoft, Prism acts as a "factory" engine that powers 50+ client instances with a shared core, ensuring consistent compliance, performance (100/100 Lighthouse), and professional branding.

Key Features
------------

[](#key-features)

- **Multi-Niche Presets:** Instantly switch between "Clinical" (Vitamins), "Playful" (Pet Products), "Luxury", and "Organic" vibes via configuration.
- **Compliance Mode:** Built-in, automated injection of regulatory requirements (FDA disclaimers for supplements, AAFCO statements for pet food).
- **Thin Client Pattern:** Manage dozens of client sites from a single versioned core.
- **Fleet Management:** Batch update and build entire fleets of repositories with a single command.
- **Performance Optimized:** Architected for 100/100 Lighthouse scores out of the box.

---

Technology Stack
----------------

[](#technology-stack)

- **Core Engine:** Laravel Zero (v12.x)
- **SSG:** Jigsaw (v1.8.3) with Vite
- **Styling:** Tailwind CSS (JIT Mode)
- **Configuration:** Spatie Laravel Data (DTOs)
- **Language:** PHP 8.2+ (Strict Types)

---

Getting Started
---------------

[](#getting-started)

### Prerequisites

[](#prerequisites)

- PHP 8.2 or higher
- Composer
- Node.js &amp; NPM

### Installation

[](#installation)

**Option 1: Global Installation (Recommended for creating new projects)**

```
composer global require ramizasoft/prism
```

**Option 2: Local Installation (For existing projects)**

```
composer require ramizasoft/prism
```

### Creating a New Project

[](#creating-a-new-project)

The easiest way to start is using the `init` command.

1. **Create a directory:**

    ```
    mkdir my-brand
    cd my-brand
    ```
2. **Initialize the project:**

    ```
    prism init
    ```

    Follow the interactive prompts to set your Project Name, Theme Preset, Compliance Mode, and Brand Color.

    **This command automatically:**

    - Generates `config.php` with your settings.
    - Creates `bootstrap.php` to link the core engine.
    - Sets up `composer.json` with the correct dependencies.
    - Scaffolds a basic `source` directory.
3. **Install &amp; Build:**

    ```
    composer install
    npm install
    npm run dev
    npm run build
    ```

---

Configuration
-------------

[](#configuration)

### Client Repository Setup

[](#client-repository-setup)

Prism uses a **"Thin Client"** pattern. Client repositories depend on the `prism` core package and should not contain custom PHP logic.

**Core Events (`bootstrap.php`):**Add the build listeners to the client's `bootstrap.php` to enable validation and template loading:

```
