Download the PHP package elcreator/amount without Composer

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

aMount

Mount cloud and remote storage into the Evolution CMS 3.5+ manager and offload big files to it in the background: database backups, media, anything a manager can see in the file manager.

Install

The module appears in the manager menu as aMount. Run php artisan amount:drivers to see which drivers are installed; install a missing one with the command it prints. php artisan amount:demo --run seeds a demo on a local disk (no account needed).

Permissions

Permission Lets a manager
amount Use the module: connect their own accounts (a personal Google Drive, Dropbox...) and offload folders they can see in the file manager.
amount_manage Administer: site-wide mounts (shared credentials, optionally limited to chosen user groups), everybody's rules, the server configuration.

Administrators (role 1) get both. Nobody else gets anything by default: grant amount to a role in Users -> Roles. Holding amount never widens what a manager may see.

Queue

Uploads need a worker. Two are supported, chosen with queue.driver in core/custom/config/cms/settings/aMount.php (or AMOUNT_QUEUE):

Scheduled rules and housekeeping are started by amount:tick, which aMount adds to the Laravel scheduler every minute. That needs the usual one-line cron entry:

The Mounts tab shows which queue is active and whether it looks healthy. A run whose worker died is queued again automatically after limits.stale_after seconds; every step is safe to repeat.

Serving offloaded public files

When a public rule offloads assets/images and the local copy is removed (mode = move), the browser still asks for /assets/images/photo.jpg. aMount answers when the CMS is asked, so the web server must hand missing files to the CMS instead of answering 404 itself. The Server tab (and php artisan amount:server) generates exactly what is needed for the folders your public rules use; the Probe button checks that it works.

php artisan amount:server nginx --write writes the file; --probe tests it. Serving can be switched off with serve.enabled = false; serve.mode chooses redirect, proxy or auto (redirect when the mount has a public URL).

My computer (ai.artur.work)

The driver My computer (ai.artur.work) (ai-computer) mounts the folders a person shares from their own computer - Windows, macOS or Linux, behind any NAT - with the ai.artur.work program (mesh-daemon). An agent can then say "upload sqlbackups 2025/08 from my computer mypc to backups": amount.fetch with mount="mypc", remote="sqlbackups/2025/08", to="backups", recursive=true - a computer's name needs no prepared mount, the manager's own is made on first use. amount.computers lists the account's computers, their folders, quotas and this site's access, and this site's code.

Security model, in plain words

Configuration

Override any key in core/custom/config/cms/settings/aMount.php; defaults are in config/aMount.php (enable, queue, limits, serve, server, mounts).

Development

The suite borrows an Evolution CMS core's autoloader. Point EVO_CORE_PATH_TEST at a core with dev dependencies installed and run php $EVO_CORE_PATH_TEST/vendor/pestphp/pest/bin/pest --no-coverage from this directory. See AGENTS.md for the architecture and ci/README.md for building a full CMS with the plugin inside (Docker).

Licence: see LICENSE.


All versions of amount with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
evolution-cms/evolution Version ^3.5.2
league/flysystem Version ^3.10
league/flysystem-aws-s3-v3 Version ^3.10
league/flysystem-sftp-v3 Version ^3.0.14
league/flysystem-webdav Version ^3.6
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 elcreator/amount contains the following files

Loading the files please wait ...