Download the PHP package glueful/archive without Composer

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

Archive Extension for Glueful

Overview

Archive adds data-lifecycle archiving to your Glueful application: move aged rows out of operational tables into compressed (optionally encrypted) archive files, keep a searchable index of what was archived, and restore archived rows back into a table when you need them again.

It is a self-contained product — there is no core seam to bind. Installing the extension ships its own schema (registry, search index, table-stats), a ArchiveService for programmatic use, and an archive:manage CLI for operational tasks. The schema is config-gated: migrations only register when you explicitly opt in via ARCHIVE_DATABASE_SCHEMA (→ archive.enabled).

Features

Installation

Installation (Recommended)

Install via Composer

Composer discovers packages of type glueful-extension, but installing does not auto-enable them — the provider must be added to config/extensions.php's enabled allow-list. The CLI does that for you:

In production, manage the enabled list in config and run php glueful extensions:cache in your deploy step.

This extension ships migrations, but the schema is config-gated. Set the opt-in flag, then run the migrations:

The migrations only register when archive.enabled (ARCHIVE_DATABASE_SCHEMA) is true, so nothing is created until you opt in.

Local Development Installation

To develop the extension locally, register it as a Composer path repository in your app's composer.json, then require and enable it:

Entries in config/extensions.php are plain string FQCNs (no ::class) — prefer extensions:enable over editing by hand.

Verify Installation

Post-install checklist:

Configuration

Configuration is loaded from the extension's config/archive.php and merged under the archive key by the service provider. It reads ARCHIVE_* environment variables. Key settings:

config/archive.php also defines retention_policies (per-table archive age / row thresholds for audit_logs, api_metrics, api_metrics_daily, api_rate_limits, and notifications), allowed_tables, denied_tables, monitoring (health-check and alerting thresholds), schedule, and backup sections — see the file for the full set of ARCHIVE_* overrides. Identity and system tables such as users, auth_sessions, api_keys, and archive metadata tables are denied by default.

Usage

CLI

The archive:manage command is the operational entry point. Its first argument is the action (default status):

Useful options: --uuid, --user, --endpoint, --start-date, --end-date, --limit, --format (table|json|csv), --dry-run, --force, and --show-sensitive. Search output redacts sensitive fields by default; use --show-sensitive only in a trusted operator session.

Archive files are compressed plaintext unless ARCHIVE_ENCRYPTION_KEY is set. Keep the archive storage path outside the web root, restrict filesystem access, and set a 32-byte key for tables that may contain PII or regulated data.

Programmatic (ArchiveService)

Resolve the service from the container via its interface:

Schema

When enabled, the extension creates three tables:

Requirements

License

MIT — licensed consistently with the Glueful framework.

Support

For issues, feature requests, or questions, please create an issue in the repository.


All versions of archive with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
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/archive contains the following files

Loading the files please wait ...