Download the PHP package agence-adeliom/easy-media-bundle without Composer
On this page you can find all versions of the php package agence-adeliom/easy-media-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download agence-adeliom/easy-media-bundle
More information about agence-adeliom/easy-media-bundle
Files in agence-adeliom/easy-media-bundle
Download agence-adeliom/easy-media-bundle
More information about agence-adeliom/easy-media-bundle
Files in agence-adeliom/easy-media-bundle
Vendor agence-adeliom
Package easy-media-bundle
Short Description A Symfony Media manager bundle for EasyAdmin
License MIT
Homepage https://github.com/agence-adeliom/easy-media-bundle
Package easy-media-bundle
Short Description A Symfony Media manager bundle for EasyAdmin
License MIT
Homepage https://github.com/agence-adeliom/easy-media-bundle
Please rate this library. Is it a good library?
Informations about the package easy-media-bundle
Easy Media Bundle
A VueJS media-manager for Easyadmin.
Versions
Repository Branch | Version | Symfony Compatibility | PHP Compatibility | Status |
---|---|---|---|---|
2.x |
2.x |
5.4 , and 6.x |
8.0.2 or higher |
New features and bug fixes |
1.x |
1.x |
4.4 , and 5.x |
7.2.5 or higher |
No longer maintained |
Features
- Image editor
- Multi
- Upload
- Move
- Delete
- Upload by either
- Using the upload panel
- Drag&Drop anywhere
- Click&Hold on an empty area "items container"
- From a url "images only"
- From a url rich embed element like Youtube video
- Preview files before uploading
- Toggle between
random/original
names for uploaded files - Bulk selection
- Bookmark visited directories for quicker navigation
- Change item/s visibility
- Update the page url on navigation
- Show audio files info "artist, album, year, etc.."
- Dynamically hide files / folders
- Restrict access to path
- Download selected "including bulk selection"
- Directly copy selected file link
- Use the manager
- from modal
- with any wysiwyg editor
- Auto scroll to selected item using "left, up, right, down, home, end"
- Lock/Unlock item/s.
- Filter by
- Folder
- Image
- Audio
- Oembed
- Video
- text/pdf
- application/archive
- Locked items
- Selected items
- Sort by
- Name
- Size
- Last modified
- Items count for
- All
- Selected
- Search found
- File name sanitization for
- Upload
- Rename
- New folder
- Disable/Enable buttons depend on the usage to avoid noise & keep the user focused
- Shortcuts / Gestures
- If no more rows available, pressing
down
will go to the last item in the list "same as native file manager". - When viewing a
audio/video
file in the preview card, pressingspace
will play/pause the item instead of closing the modal. - Double click/tap
- any file of type
audio/video/oembed
will open it in the preview card "same as images". - any file of type
application/archive
will download it.
- any file of type
- All the left/right gestures have their counterparts available as well.
- Pressing
esc
while using the image editor wont close the modal but you can dbl click/tap themodal background
to do so. "to avoid accidentally canceling your changes".
- If no more rows available, pressing
To stop interfering with other
keydown
events you can toggle the manager listener throughEventHub.fire('disable-global-keys', true/false)
.
Installation with Symfony Flex
Add our recipes endpoint
Install with composer
Without Symfony Flex
Setup database
Using doctrine migrations
Without
Documentation
Manage medias in your Easyadmin dashboard
Go to your dashboard controller, example : src/Controller/Admin/DashboardController.php
Integrate with FOS CKEditor
Integrate with LiipImagineBundle
Field's usage
Usage
Twig usage
You can override media render with twig
- For images :
@EasyMedia/render/image.html.twig
- For oembed :
@EasyMedia/render/oembed.html.twig
- For video :
@EasyMedia/render/oembed.html.twig
Manage medias and folders programmatically
Use the Doctrine type (optional)
It automatically converts the stored path into a Media entity
In your entity
Configurations
Events
type | event-name | description |
---|---|---|
JS | ||
modal-show | when modal is shown | |
modal-hide | when modal is hidden | |
file_selected (when inside modal) | get selected file url | |
multi_file_selected (when inside modal) | get bulk selected files urls | |
folder_selected (when inside modal) | get selected folder path | |
Symfony | ||
em.file.uploaded($file_path, $mime_type, $options) | get uploaded file storage path, mime type | |
em.file.saved($file_path, $mime_type) | get saved (edited/link) image full storage path, mime type | |
em.file.deleted($file_path, $is_folder) | get deleted file/folder storage path, if removed item is a folder | |
em.file.renamed($old_path, $new_path) | get renamed file/folder "old & new" storage path | |
em.file.moved($old_path, $new_path) | get moved file/folder "old & new" storage path |
License
Authors
Thanks to
All versions of easy-media-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0.2
ext-json Version *
symfony/config Version ^5.4 || ^6.0
symfony/dependency-injection Version ^5.4 || ^6.0
symfony/deprecation-contracts Version ^2.2 || ^v3.0
symfony/event-dispatcher Version ^5.4 || ^6.0
symfony/form Version ^5.4 || ^6.0
symfony/framework-bundle Version ^5.4 || ^6.0
symfony/http-kernel Version ^5.4 || ^6.0
symfony/options-resolver Version ^5.4 || ^6.0
symfony/property-access Version ^5.4 || ^6.0
symfony/filesystem Version ^5.4 || ^6.0
easycorp/easyadmin-bundle Version ^3.4 || ^v4.0
agence-adeliom/easy-common-bundle Version ^2.0.122
league/flysystem-bundle Version ^3.0
liip/imagine-bundle Version ^2.8
maennchen/zipstream-php Version ^2.1.0
illuminate/support Version ^9.2
stof/doctrine-extensions-bundle Version ^1.6
symfony/psr-http-message-bridge Version ^2.0
nyholm/psr7 Version ^1.4
embed/embed Version ^4.2
james-heinrich/getid3 Version ^1.9
ext-json Version *
symfony/config Version ^5.4 || ^6.0
symfony/dependency-injection Version ^5.4 || ^6.0
symfony/deprecation-contracts Version ^2.2 || ^v3.0
symfony/event-dispatcher Version ^5.4 || ^6.0
symfony/form Version ^5.4 || ^6.0
symfony/framework-bundle Version ^5.4 || ^6.0
symfony/http-kernel Version ^5.4 || ^6.0
symfony/options-resolver Version ^5.4 || ^6.0
symfony/property-access Version ^5.4 || ^6.0
symfony/filesystem Version ^5.4 || ^6.0
easycorp/easyadmin-bundle Version ^3.4 || ^v4.0
agence-adeliom/easy-common-bundle Version ^2.0.122
league/flysystem-bundle Version ^3.0
liip/imagine-bundle Version ^2.8
maennchen/zipstream-php Version ^2.1.0
illuminate/support Version ^9.2
stof/doctrine-extensions-bundle Version ^1.6
symfony/psr-http-message-bridge Version ^2.0
nyholm/psr7 Version ^1.4
embed/embed Version ^4.2
james-heinrich/getid3 Version ^1.9
The package agence-adeliom/easy-media-bundle contains the following files
Loading the files please wait ....