Download the PHP package glueful/api-skeleton without Composer

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

Glueful API Skeleton

A minimal API application starter powered by the Glueful framework.

Quick Start

Default Routes

Route Method Description
/v1/welcome GET Welcome JSON payload
/v1/status GET Lightweight status check
/health GET Framework health endpoint

Identity, Accounts & RBAC

The skeleton enables two extensions by default — glueful/users (identity store + account lifecycle) and glueful/email-notification (the email channel). Authorization (RBAC) is opt-in.

1. Default skeleton — no RBAC required

2. Optional user lookup / list — needs RBAC

These are off by default and permission-gated (users.read):

Because they require users.read, they only work once an RBAC provider is enabled and the permission is granted — without one, the framework gate fails closed (403).

3. Enabling RBAC (glueful/aegis)

aegis:bootstrap-admin is the one-command first-admin path: it syncs the declared permission catalog, creates/reuses a role (default admin), grants it users.read, and assigns that role to your user — enough to unlock the lookup/list endpoints. Useful flags:

Manual equivalent (if you prefer): php glueful permissions:sync, then assign a seeded role (superuser/administrator) to the user via the roles API (POST /{user_uuid}/roles).

Modern-framework norm: the user store is a sensible default; full RBAC stays opt-in so a fresh skeleton boots lean and secure (fail-closed) without imposing roles/permissions setup until you need it.

Project Structure

This skeleton uses a minimal starter structure. As your application grows, see docs/APPLICATION_ARCHITECTURE.md for guidance on scaling to standard and enterprise structures.

Architecture Guide

The skeleton follows a progressive complexity model:

Project Size Structure
Starter (< 10 endpoints) Controllers, Models, Providers
Standard (10-50 endpoints) + Actions, DTO, Events, Jobs, Policies
Enterprise (50+ endpoints) + Repositories, Services, Validators

Start minimal. Add complexity only when needed.

See the full guide: docs/APPLICATION_ARCHITECTURE.md

Controllers & Routing

Routes are defined explicitly in routes/api.php:

The framework also supports attribute-based routing:

Configuration

Key configuration files in config/:

File Purpose
app.php Application settings, paths, URLs
database.php Database connections (SQLite default)
security.php CORS, CSRF, headers, rate limiting
api.php API versioning, field selection

Environment variables in .env override config values.

CLI Commands

Deploying To Production

Before deploying a generated app, review this checklist:

Testing

Base test case at tests/TestCase.php provides framework integration.

Notes


All versions of api-skeleton with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
glueful/email-notification Version ^1.12.0
glueful/framework Version ^1.72.1
glueful/media Version ^1.1.0
glueful/users Version ^2.3.2
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 glueful/api-skeleton contains the following files

Loading the files please wait ...