vilshub/zionlight-api-server

An MRC (Model Route Controller) PHP framework, for API server

v1.0.0 2024-12-20 10:13 UTC

This package is auto-updated.

Last update: 2025-02-20 21:58:22 UTC


README

An MRC (Model Route Controller) PHP framework, for API server

Installation

It supports composer installation, with link:

composer create-project --prefer-dist vilshub/zionlight-api-server yourProjectName dev-master

Quick guide

  • After installation, you can start server from CLI with (CD into the project root directory):

    php zlight shine:@3000
    
  • For more of CLI command, execute:

    php zlight
    

    Zion light commands

Features

Aside from the conventional features which backend frameworks have, zlight-api-server has the following features:

  • Plain SQL Schema builder, and plain SQL query executor. (No ORM, only SQL skills required)
  • Queries Bank. All queries for a particular model gets stored in a single bank file for easy management
  • Table data export and import, via CLI
  • Project initialization wizard (Via CLI). Used when creating project, or when setting up a cloned project
  • And more....

Documentation

The documentation for this framework will be provided soon, you may Watch, this repo for further updates.