Download the PHP package glueful/framework without Composer
On this page you can find all versions of the php package glueful/framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package framework
Glueful Framework
High‑performance PHP API framework components for building secure, scalable backends. This repository contains the framework runtime (router, DI, HTTP, caching, security, queues, etc.). For a ready‑to‑use application skeleton, see the API skeleton link below.
Requirements
- PHP 8.3+
- Composer 2+
Installation
Install as a library into your application:
If you want a pre‑scaffolded app, use the API skeleton instead (recommended to get started quickly).
Quick Start (framework usage)
Bootstrap and handle a request:
Getting Started
- Getting started guide: https://glueful.com/getting-started
- New to Glueful? Begin with:
- Prefer a pre‑scaffolded app? Use the API skeleton (see below).
Documentation
- Official docs website: https://glueful.com (mirror: https://glueful.dev)
- Logging bootstrap guide:
docs/LOGGING_BOOTSTRAP.md - Changelog:
CHANGELOG.md - Roadmap:
ROADMAP.md - Breaking changes process:
BREAKING_CHANGE_PROCESS.md
Highlights
- High-Performance Router: O(1) static route lookup, dynamic route bucketing, attribute-based routing, middleware pipeline
- Dependency Injection: Symfony Container with service providers, lazy services, ApplicationContext injection
- Authentication: JWT, LDAP, SAML SSO, API keys with session analytics; opt-in email-PIN 2FA
- Encryption: AES-256-GCM authenticated encryption with key rotation support
- File Uploads: Blob storage with visibility controls, signed URLs, thumbnail generation, media metadata
- Caching: Multi-driver support (Redis/Memcached/File) with distributed caching; tag-based invalidation on the Redis driver
- Queue System: Job processing with Redis/Database backends, auto-scaling workers
- Security: Enhanced rate limiting, CSRF protection, security headers, lockdown mode
- Database: Query builder, migrations, connection pooling (MySQL, PostgreSQL, SQLite)
- Extensions: Modular extension system with lifecycle management
- CLI Tools: Comprehensive scaffold commands, migrations, cache management
Email Two-Factor Authentication (2FA)
Baseline email-PIN 2FA ships in core and is off by default — a fresh install behaves exactly like a pre-2FA framework. To enable it (no source-code editing required):
- Run the
010_AddTwoFactorEnabledToUsersmigration (ships in api-skeleton). - Install
glueful/email-notification(provides the email channel +two-factor-pintemplate). - Set
TWO_FACTOR_ENABLED=truein.env. - Enroll users via
POST /2fa/enableorphp glueful 2fa:enable <user-uuid>.
Once enabled, POST /auth/login returns a challenge_token (and emails a 6-digit PIN) for enrolled users instead of tokens; the client completes login at POST /2fa/verify. Richer factors (TOTP, WebAuthn, recovery codes) ship separately as glueful/mfa.
Generating an SDK client
Glueful produces a high-quality openapi.json; client generation is delegated to best-of-breed tools per language. The generate:client command builds the right shell invocation for you:
By default the command prints the shell command so you can pin a specific generator version in CI. Add --execute to run the generator directly. See docs/WEBHOOKS.md for how to surface outbound webhooks in the spec for SDK consumers.
Deployment Notes
- For long-running servers (RoadRunner, Swoole, FrankenPHP), set
APP_LONG_RUNNING=trueto enable worker-safe lifecycle handling. - To capture a per-phase boot timing breakdown, set
BOOT_PROFILE_LOG=true(writes a per-user file under the system temp directory) orBOOT_PROFILE_LOG=/path/to/file.log. Off by default; a dump that cannot be written is skipped silently. - If your deploy process preserves file mtimes and you see stale routing, clear the route cache as part of deploy:
php glueful route:cache:clear
API Skeleton (recommended to start)
For a ready‑to‑run project scaffold, use the API skeleton and follow its README. It wires this framework, public entrypoints, config, and examples:
Quick start:
Contributing
Contributions are welcome. Please open issues or PRs. For larger proposals, consider starting with a discussion referencing the implementation plans in docs/implementation_plans/.
License
MIT — see LICENSE.
All versions of framework with dependencies
composer/semver Version ^3.4
dragonmantank/cron-expression Version ^3.4
league/flysystem Version ^3.30
league/flysystem-local Version ^3.30
monolog/monolog Version ^3.8
nyholm/psr7 Version ^1.8
nyholm/psr7-server Version ^1.1
phpdocumentor/reflection-docblock Version ^6.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.1
psr/http-server-middleware Version ^1.0
psr/simple-cache Version ^3.0
symfony/console Version ^7.4
symfony/event-dispatcher Version ^7.4
symfony/finder Version ^7.4
symfony/http-client Version ^7.4
symfony/http-foundation Version ^7.4
symfony/lock Version ^7.4
symfony/mailer Version ^7.4
symfony/mime Version ^7.4
symfony/process Version ^7.4
symfony/psr-http-message-bridge Version ^7.4
symfony/string Version ^7.4
vlucas/phpdotenv Version ^5.6