Skip to content

backstagephp/media-field

Repository files navigation

Media Field component for the Backstage CMS

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Nice to meet you, we're Vormkracht10

Hi! We are a web development agency from Nijmegen in the Netherlands and we use Laravel for everything: advanced websites with a lot of bells and whitles and large web applications.

About this package

This package adds a powerful Media field component to the Backstage CMS. It allows you to:

  • Upload and manage media files (images, videos, audio, PDFs) directly in your forms
  • Configure accepted file types per field
  • Enable single or multiple file uploads
  • Easily integrate with Laravel's file storage system
  • Preview uploaded media files
  • Organize media assets with a built-in media library
  • Handle file validation and processing automatically

The Media field is built on top of Filament's form components and integrates seamlessly with the Backstage CMS interface.

Other custom fields

For a list of other custom fields, please see the Backstage CMS documentation.

Installation

You can install the package via composer:

composer require vormkracht10/backstage-media-field

Then you need to add the Uploadcare field to your backstage.php config file:

return [
    'fields' => [
        Vormkracht10\MediaField\Media::class,
    ],
];

Usage

After adding the Media field to your backstage.php config file, the field will automatically be available in the Backstage CMS.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

About

Backstage Media Field

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages