Download the PHP package maniaba/asset-connect without Composer

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

AssetConnect for CodeIgniter 4

PHPUnit PHPStan Deptrac Psalm Docs Coverage Status

PHP CodeIgniter License

AssetConnect is a file management library for CodeIgniter 4 that allows you to associate files with any entity in your application. It provides a robust, flexible solution for handling file uploads, storage, retrieval, variants, public custom metadata, backend-only internal metadata, and secure access control.

Storage is backed by named Flysystem disks. Asset records store the disk name and relative storage path, not absolute filesystem paths, so moving the application directory does not invalidate stored assets.

Features

Requirements

Installation

Install the package:

Run the package migrations:

If you use the default local public disk, expose it from public/:

Example Usage

Storage Quick Start

AssetConnect stores only storage and a storage-relative path in the database. Configure physical roots, visibility, and public URL prefixes in Config\Asset:

Remote disks can be added through Flysystem adapters and storage-specific setup methods such as setupStorageS3(). Legacy driver-specific setup methods such as setupStorageAwsS3() are still supported as a fallback. Public remote disks should define an HTTP public_url; protected disks are served through AssetConnect routes and authorization.

For remote disks, local_path can be null. Use temporary-file helpers for processors that require a local filesystem path:

Move an existing asset and its variants to another configured disk:

Upgrade Guides

Version 2.1.0 resolves custom storage setup methods from the configured storage disk name first, with a legacy driver-based fallback.

Read the full guide when upgrading from 2.0.0: Upgrade from 2.0.0 to 2.1.0.

Version 2.0.0 changes storage from filesystem-root paths to named storage disks.

Read the full guide before migrating production data: Upgrade from 1.0.2 to 2.0.0.

Documentation

Comprehensive documentation is available at https://maniaba.github.io/asset-connect/.

Versioned documentation is published with mike. The Docs workflow validates docs on pull requests, publishes every push to develop as the develop docs version, and publishes release documentation from release tags such as v2.1.0. Stable releases move the latest alias and default redirect to the released docs version.

For local checks and manual publishing:

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the media library? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.

Testing

Run the test suite with:

For more detailed testing options:

Changelog

All notable changes to this project are documented in the CHANGELOG.md file.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details on how to contribute to this project.

Security

If you discover a security vulnerability, please send an email to [email protected] instead of using the issue tracker. All security vulnerabilities will be promptly addressed.

License

The MIT License (MIT). Please see License File for more information.


All versions of asset-connect with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
codeigniter4/framework Version ^4.6
codeigniter4/queue Version ^1.0
league/flysystem Version ^3.0
league/flysystem-local Version ^3.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 maniaba/asset-connect contains the following files

Loading the files please wait ...