Download the PHP package byjg/gluo without Composer

On this page you can find all versions of the php package byjg/gluo. 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 gluo


sidebar_key: gluo sidebar_category: gluo tags: [php, http, openapi]

Gluo: PHP REST API Starter

Gluo logo

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.

Sponsor Build Status Opensource ByJG Install MCP Server GitHub source GitHub license GitHub release

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:

And the API contract is never out of date: the OpenAPI attributes on your controllers generate openapi.json, which is at the same time the routing table and the contract every test checks responses against. An endpoint that is not documented does not exist, and a response that drifts from the documentation fails the test suite.

Quick Start

Commands like php gluo migrate:update, php gluo codegen:all, php gluo openapi, php gluo test, 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 and, with a self-signed certificate, at https://localhost:7443 (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 another PHP framework (Laravel, Symfony, Drupal, CakePHP, CodeIgniter) – 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

AI coding agents

gluo-developer is an Agent Skill that teaches a coding agent how a Gluo project is built: the two model patterns, codegen, the OpenAPI attributes, tests, migrations and the DI config. It is published at opensource.byjg.com/docs/ai/agent-skills/gluo-developer.

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 →

Running Tests

In this repository, docker-compose.yml, docker-compose.database.yml, db/base.sql and db/migrations/ are not versioned: they are written from .db-dialects/ for one database. A created project gets them as its own files.

See the testing guide for writing tests for your own endpoints.


Open source ByJG


All versions of gluo 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/gluo contains the following files

Loading the files please wait ...