Download the PHP package elcreator/aimage without Composer

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

AIMage

An AI image workbench for the Evolution CMS 3.5+ manager.

Describe a batch of image work; it runs in the background. A text model asks about anything genuinely ambiguous, plans the work, and a background worker carries it out against the ai.artur.work gateway, a slice at a time, for as long as it takes.

The result of a job is always changed image files. Text, voice and previews are intermediate; a job that ends in a nice paragraph has failed at its purpose.


What it does

Before you commit, the model picker shows what it will cost and how long it will take, with the provenance of both: a fixed tariff reads differently from a median of past runs, and a seeded latency prior is labelled an estimate rather than dressed up as a measurement.

Requirements

Install

Then open AIMage in the manager's Modules menu.

Keys

Three tiers, in order:

  1. The manager's own key — set on the page, stored encrypted in user_settings.
  2. The site-wide key — AIMAGE_API_KEY in the environment, or a settings row an administrator sets. Configuration wins over the row.
  3. Nothing — the page asks for a key instead of failing.

Keys are encrypted at rest with AES-256-GCM (Support\Crypt), because Evolution CMS registers no Laravel encrypter and a database dump is a routine artefact. The secret comes from AIMAGE_SECRET, or from a generated core/custom/aimage.secret — never from the database beside the ciphertext. A stored key is never sent back to the browser in full.

Permissions

Two separate questions, and neither substitutes for the other:

A manager confined to a folder by filemanager_path stays confined here. The worker has no session, so Support\ImageScope rebuilds the same facts from the database for a given user id and then defers to the core's own FileManagerAccess for every verdict — it is not a second permission model.

Where results are written

Every result lands under the write root, which is the narrower of two things:

So a manager confined to assets/clients/acme gets their results there, not in the site-wide folder they cannot open; and an unconfined manager, whose file root is the whole site, cannot have images written to core/ or manager/ where nothing could use them.

Inside that ceiling, the base is assets/images — Evolution's own images directory, the one the installer refuses to finish without. That is where results go by default and what the folder picker lists, so nobody is offered core, views or assets/plugins as a place to put a picture. Naming a real folder elsewhere under the ceiling still works: ask for assets/products and you get assets/products. The CMS's own directories — assets/plugins, assets/cache, assets/modules, assets/backup, import, export, templates, snippets, the manager directory — are refused outright, whatever the manager's permissions say.

The results folder is a path you can type and a tree you can browse. Browse… opens a file browser over the same scoped listing everything else uses: folders, image thumbnails, click an image for its URL, resolution, size and date. It climbs to the ceiling and stops — so assets/products, a sibling of the base, is one step up rather than unreachable — and it never shows the CMS's own directories.

Clicking a result in a task opens the same browser where that file landed, with it selected and its metadata showing. That view has no Put results here button: looking for a file must not quietly re-point a task's output at whatever folder you stopped in. Everything else — navigating, the preview, Close — behaves identically.

It is deliberately not the manager's KCFinder browser. KCFinder is rooted at rb_base_dir alone and ignores filemanager_path, so it shows a manager confined to assets/clients/456 the whole assets/ tree — everyone's files. Reusing it here would undo the confinement this package exists to respect.

A destination folder need not exist. "Put them in 123/45" means a folder 45 inside a folder 123, both created under the base when the first result is written — the same for edits, variations and upscales. A name that is not a path under the ceiling is placed under the base rather than refused; one that tries to climb out with .. is refused outright, not quietly rewritten.

Configuration

config/aIMage.php, overridable from core/custom/config/cms/settings.php. The values worth knowing:

Key Default Meaning
limits.slice_seconds 45 How much of each worker minute a batch may own
limits.parallelism 3 Batches in flight at once, across all managers
limits.max_images_per_job 200 Hard ceiling, whatever the plan says
limits.approval_threshold_eur 5.0 Above this, a plan waits for a signature
features.voice false The microphone and read-aloud buttons. Off unless a site opts in
files.output_folder aimage Where results land, under assets/images (see above)
files.allow_overwrite false Off means results are written beside originals

Secrets belong in the environment, never in this file.

Voice is opt-in. Dictation and reading answers back both send audio to the gateway and both cost money per use, so neither is inherited by installing the package. AIMAGE_VOICE=1 in the environment turns them on, as does features.voice in the site's settings. Off, the buttons are not rendered and /voice/transcribe and /voice/speak refuse — a flag that only hides a button while its endpoint still answers is a decoration, not a switch.

Design notes

See AGENTS.md for the full picture. The three things most likely to be misunderstood:

  1. The dialect is chosen by model family, never by preference. The gateway serves every model on both /chat/completions and /messages, but its translation drops tool calls in both directions. The planner is a tool-calling loop, so claude-* goes to /messages and everything else to /chat/completions.
  2. A model with variants must be priced per variant. Quoting price.amount for gpt-image-1 quotes the dearest tier — a 22.7× error against the cheapest.
  3. The model plans; the worker acts. No tool the planner can call touches an image model. That is what makes a plan priceable before anything is spent, and what lets execution survive the conversation ending.

Known limits

Licence

GPL-3.0-or-later.


All versions of aimage with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
evolution-cms/evolution Version ^3.5.2
guzzlehttp/guzzle Version ^7.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 elcreator/aimage contains the following files

Loading the files please wait ...