Download the PHP package byjg/rest-reference-architecture without Composer

On this page you can find all versions of the php package byjg/rest-reference-architecture. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rest-reference-architecture

Gluo — PHP REST API Starter

Sponsor Build Status Opensource ByJG GitHub source GitHub license GitHub release

Gluo (Esperanto for glue) is a production-ready PHP REST API starter: create a project you fully own, powered by an updatable framework core — so you focus on business logic, not infrastructure.

Why Use This?

Every new REST API needs the same boilerplate: authentication, migrations, an ORM, OpenAPI docs, a test harness, and a DI container. Setting all of that up correctly takes days — and it's not the work your users care about.

Gluo splits the problem the right way:

Quick Start

Commands like composer migrate, composer test, composer codegen, composer openapi, and composer psalm run from the repository root — there is a single composer.json, and the repository root is the PHP application root.

What you get

The create-project installer offers two toggles:

Install Examples: Yes Install Examples: No
Frontend: Yes Full-stack demo (auth + example CRUD) Auth-only app shell (login/profile)
Frontend: No Pure API with example endpoints Pure API, clean slate

When the frontend is enabled, docker compose up -d serves it at http://localhost:7080 (via byjg/static-httpserver) while the API answers on http://localhost:8080. See the Frontend guide →.

📚 Complete Getting Started Guide →

Architecture Overview

Key Features

Documentation

Getting Started

  1. Installation & Setup – Install the starter, configure environments, and review prerequisites.
  2. Coming from Laravel, Symfony or Drupal – Concept and command mapping, plus the four things that genuinely work differently.
  3. Create Your First Table – Define your first migration and schema.
  4. Add Fields – Safely evolve existing tables.
  5. Create REST Endpoints – Generate REST handlers from your tables.
  6. Windows Setup – WSL/Windows-specific checklist.
  7. Unattended Setup – Automate installs for CI/CD pipelines.

Guides

Concepts

Reference

Real-World Example

You just created a complete CRUD API with:

Requirements

Support & Community

Your Code vs. the Framework

The starter generates a project that is fully yours — src/, config/, db/, frontend/, docker/:

License

This project is open source. See LICENSE for details.

Dependencies

📚 Complete Component Dependency Graph →


Open source ByJG


All versions of rest-reference-architecture with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3 <8.6
ext-json Version *
ext-openssl Version *
ext-curl Version *
byjg/config Version ^6.0
byjg/anydataset-db Version ^6.0
byjg/micro-orm Version ^6.0
byjg/authuser Version ^6.0
byjg/mailwrapper Version ^6.0
byjg/restserver Version ^6.0
zircote/swagger-php Version ^4.7|^5.2
byjg/swagger-test Version ^6.0
byjg/migration Version ^6.0
byjg/scriptify Version ^6.0
byjg/shortid Version ^6.0
byjg/jinja-php Version ^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package byjg/rest-reference-architecture contains the following files

Loading the files please wait ...