Skip to content

Media AI

This page is generated from public package documentation in capell-4/packages and the package manifest checked into the source repository.

FieldValue
Composer packagecapell-app/media-ai
Package slugmedia-ai
Product groupCapell Media
Tierpremium
Bundlemedia
Runtime contextsadmin, console
Capell version^4.0
Source repositorycapell-app/packages
Source pathpackages/media-ai
Docs sourcepackages/media-ai/docs
Manifestcapell.json

Optional AI-assisted media actions for Capell.

  • Package: capell-app/media-ai
  • Namespace: Capell\MediaAI\
  • Service providers: packages/media-ai/src/Providers/MediaAIServiceProvider.php
  • Capell dependencies: capell-app/admin, capell-app/core
  • Third-party dependencies: filament/filament, laravel/framework, spatie/laravel-package-tools
  • Adds optional AI-assisted media actions without forcing the media library to depend on an AI provider.
  • Helps editors speed up media tasks while developers keep AI execution behind package Actions and orchestration boundaries.
  • Fits sites that want AI support for media workflows but still need predictable fallbacks when AI is disabled.

Optional AI-assisted media actions for Capell.

  • Optional AI-assisted media edit actions.
  • ImageDoctor contract with a safe null implementation.
  • Filament media action extender for admin workflows.
  • No public frontend output and no required AI provider binding.

For developers: Keeps Media AI package responsibilities isolated behind providers, actions, data objects, and package-owned resources where the package needs them.

For teams: Makes the Capell Media capability easier to explain, install, and verify during package selection.

This package makes its Composer dependencies visible because they are part of the value proposition, not just plumbing. When an upstream package has a public repository, its linked preview card points readers back to the maintainers so their work gets proper credit.

Capell packages used here

Open-source packages used here

Linked package previews

Spatie Laravel Package Tools GitHub preview

Screenshots are generated from docs/screenshots.json during package deployment.

AreaPathPurpose
Datapackages/media-ai/src/DataStructured payloads, form state, view models, and integration data.
Filamentpackages/media-ai/src/FilamentAdmin resources, pages, widgets, and settings UI.
Providerspackages/media-ai/src/ProvidersRegistration, extension hooks, routes, migrations, and resources.
Resourcespackages/media-ai/resourcesViews, translations, assets, and package resources.
Configpackages/media-ai/configPackage configuration and publishable config.
Testspackages/media-ai/testsPackage-level Pest coverage.
  • Config: packages/media-ai/config/capell-media-ai.php.
  • Data objects live in src/Data/; use them for payloads, form state, and view models.
  • Contracts: ImageDoctor.
  • Register Capell extension points, routes, migrations, settings, render hooks, and resources from service providers.
  • Install with composer require capell-app/media-ai in the host Capell application.
  • In this repository, verify package changes with vendor/bin/pest; do not use php artisan.

Run package tests from the repository root:

Terminal window
vendor/bin/pest packages/media-ai/tests --configuration=phpunit.xml
  • Use package Data classes at boundaries instead of passing anonymous arrays between layers.