Download the PHP package abdulkadiragoliya/asset-guardian without Composer

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

Asset Guardian for Craft CMS

Asset Health & Safe Cleanup for Craft CMS 5.x
Know what's safe to review before you clean your digital asset library.

Craft CMS 5.x PHP 8.2+ GitHub Repository


๐Ÿ“– Overview

Asset Guardian is an asset health, auditing, and safe-cleanup plugin tailored specifically for Craft CMS 5.x. Built for digital agencies, site administrators, and content teams, Asset Guardian provides complete visibility into your digital assets:


๐Ÿ›ก๏ธ Safety-First Architecture

Asset Guardian adheres strictly to non-destructive principles:

  1. Deterministic Risk Tiers: In dynamic environments (custom templates, Twig queries, headless frontends), no automated tool can definitively guarantee zero references. Asset Guardian classifies assets into explainable risk tiers:
    • ๐ŸŸข Low Risk: Unreferenced and older than the configured grace period (default: 180 days).
    • ๐ŸŸก Medium Risk: Unreferenced but recently uploaded within the grace period.
    • ๐Ÿ”ด High Risk: Actively referenced by entries, matrix blocks, or categories.
  2. Soft Delete by Default: Cleanup operations move assets to Craft CMS Trash (craft\services\Elements::deleteElement()). Files are never hard-deleted immediately and can be restored at any time within your retention window or directly from Asset Guardian's History view.
  3. High-Risk Safeguards: High-risk assets are locked and cannot be selected for bulk deletion.
  4. Dry-Run Simulation: Preview exactly which files will be affected and calculate reclaimable disk space before committing any action.
  5. Full Audit Trail: Every operation is logged with user attribution, affected asset IDs, reclaimed bytes, and one-click batch restore.

๐Ÿš€ Features

1. Unified Health Dashboard

2. Duplicate Detection & Safe Repointing

3. Missing Alt Text & Accessibility Center

4. Asset Explorer

5. Audit Reports & CSV Export

6. CLI Console Commands


๐Ÿ“‹ Requirements


๐Ÿ“ฆ Installation

From the Plugin Store

Open your project's Control Panel, go to Plugin Store, search for "Asset Guardian", and click Install.

With Composer

Run the following from the root of your Craft CMS project:

Then install the plugin:


โš™๏ธ Configuration

You can customize Asset Guardian settings via the Control Panel at Asset Guardian → Settings, or create a config/asset-guardian.php file:


๐Ÿ” Permissions

Asset Guardian provides granular Control Panel user permissions:


๐Ÿงช Testing

Asset Guardian includes unit tests for health scoring, risk calculation, and configuration defaults. From the plugin's root directory, run:


๐Ÿ’ฌ Support

If you encounter any issues, have feature suggestions, or need assistance:


๐Ÿ“„ License

This plugin is licensed under the Craft License.

Copyright © 2026 Abdulkadir Agoliya. All rights reserved.


All versions of asset-guardian with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2.0
craftcms/cms Version ^5.0.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 abdulkadiragoliya/asset-guardian contains the following files

Loading the files please wait ...