Download the PHP package neosidekick/media-ui-asset-ai-labeling without Composer

On this page you can find all versions of the php package neosidekick/media-ui-asset-ai-labeling. 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 media-ui-asset-ai-labeling

Media UI Asset AI Labeling

Beta: This package is under active development.

Adds an exclusive AI classification selector to the asset inspector in flowpack/media-ui.

Behaviour

The selector is available for every asset type and maps its options to regular Neos Media tags:

Option Assigned tags
Without AI Neither AI tag
AI-generated AI-generated only
AI-modified AI-modified only

Existing unrelated tags are preserved. Missing classification tags are created when first needed. The tag chips, tag tree, filtered asset grid, and result count update without reloading the module.

The field label and option labels follow the Neos backend interface language: German (de, de_AT, or de-DE) uses German labels, while English and all other languages use the English fallback. The persisted tag labels remain language-independent.

The integration is loaded in the Media UI module and in the Neos UI content module, where the same selector appears in the asset details screen that the inspector image and asset editors open when Flowpack Media UI's useNewMediaSelection feature is enabled. The legacy Neos asset selector is not affected.

Fusion EEL helpers

The package registers AiClassification in the default Fusion context. Use it with a single image, image variant, video, or other Neos media asset:

For responsive video sources or other asset collections, use:

Both methods return AI-generated, AI-modified, or null. Image variants inherit their original asset's classification. If a collection contains both classifications, AI-generated takes precedence.

When Sitegeist Kaleidoscope is installed, its image sources also expose the classification directly:

Asset-backed image sources resolve their original Neos media asset. Dummy, resource, and URI image sources return null.

Rendering an image with Schema.org microdata

This complete Fusion example renders a Neos image and discloses its digital source when it is AI-classified:

schemaOrgDigitalSourceType() also accepts an asset or asset collection directly when the classification value is not otherwise needed.

Zebra and Content API integration

If the website uses Zebra, add the optional neosidekick/content-api-asset-ai-labeling package. It adds the classification to Networkteam.Neos.ContentApi output while keeping the Media UI package free of Content API dependencies:

Requirements

Installation

Require the package from the Neos distribution and publish its resources:

For a local path repository, add the package directory to the distribution and require it from the site or root package as usual.

Implementation notes

The package registers the same JavaScript resource twice, once for the Media module through additionalResources.javaScripts and once for the Neos UI through Neos.Neos.Ui.resources.javascript, plus one EEL helper in the default Fusion context. The script uses the existing Media UI GraphQL endpoint and Apollo cache, so no fork or frontend build is required. In both host pages it installs a window.fetch interceptor for the /neos/graphql/media-assets endpoint to keep the selected asset and its tags up to date without extra queries. The control only renders for assets whose identifier is a UUID, which means external asset sources are not supported.

The classification tag labels are part of the data contract. If either tag is renamed or deleted, the package recreates the expected label on the next classification change.


All versions of media-ui-asset-ai-labeling with dependencies

PHP Build Version
Package Version
Requires php Version ~8.3.0
flowpack/media-ui Version ^1.4 || ^2.0
neos/neos Version ~8.4
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 neosidekick/media-ui-asset-ai-labeling contains the following files

Loading the files please wait ...