oxid-esales / media-library-module
Media library for OXID eShop
Installs: 27 604
Dependents: 1
Suggesters: 1
Security: 0
Stars: 16
Watchers: 4
Forks: 1
Type:oxideshop-module
Requires
- php: >=8.2
- ext-fileinfo: *
- ext-gd: *
- intervention/image: ^3.3
- symfony/filesystem: *
Requires (Dev)
- codeception/codeception: ^5.0
- codeception/module-asserts: ^3.0
- codeception/module-db: ^3.0
- codeception/module-filesystem: ^3.0
- codeception/module-webdriver: ^4.0
- mikey179/vfsstream: ~1.6.8
- oxid-esales/codeception-modules: dev-b-7.2.x
- oxid-esales/codeception-page-objects: dev-b-7.2.x
- oxid-esales/oxideshop-ce: dev-b-7.2.x
- phpmd/phpmd: ^2.15
- phpstan/phpstan: ^1.8.11
- phpunit/phpunit: ^11.2
- squizlabs/php_codesniffer: 3.*
Conflicts
- oxid-esales/oxideshop-ce: <7.2
- dev-b-7.3.x
- dev-b-7.2.x
- v2.1.1
- v2.1.0
- v2.0.1
- v2.0.0
- v1.0.0
- dev-b-7.3.x-update-jquery-OXDEV-5071
- dev-dependabot/composer/phpstan/phpstan-tw-2.1.8
- dev-b-8.0.x-compatibility-OXDEV-7248
- dev-b-7.1.x
- dev-b-7.2.x-OXDEV-8840
- dev-b-7.1.x-OXDEV-8840
- dev-b-7.2.x-dialog_error_empty-OXDEV-8840
- dev-b-7.2.x-controller-as-service-OXDEV-4970
- dev-b-7.1.x-by-glob
- dev-b-7.1.x-OXDEV-7513
This package is auto-updated.
Last update: 2025-03-24 15:13:50 UTC
README
Module provides basic media files management.
Compatibility
Versions
- v2.1.x is compatible with eShop compilation 7.2.x and higher
- v2.0.x is compatible with eShop compilation 7.1.x and higher
- v1.0.x is compatible with eShop compilation 7.1.x and higher
Branches
- b-7.3.x is compatible with shop b-7.3.x branches
- b-7.2.x is compatible with shop b-7.2.x branches
- b-7.1.x is compatible with shop b-7.1.x branches
Development installation on OXID eShop SDK
The installation instructions below are shown for the current SDK for shop 7.3. Make sure your system meets the requirements of the SDK.
-
Ensure all docker containers are down to avoid port conflicts
-
Clone the SDK for the new project
echo MyProject && git clone https://github.com/OXID-eSales/docker-eshop-sdk.git $_ && cd $_
- Clone the repository to the source directory
git clone --recurse-submodules https://github.com/OXID-eSales/media-library-module.git --branch=b-7.3.x ./source
- Run the recipe to setup the development environment
./source/recipes/setup-development.sh
You should be able to access the shop via
- Frontend http://localhost.local
- Admin Panel: http://localhost.local/admin
- (credentials: noreply@oxid-esales.com / admin)
Running the tests and quality tools
Check the "scripts" section in the composer.json
file for the available commands. Those commands can be executed
by connecting to the php container and running the command from there, example:
make php composer tests-coverage
Commands can be also triggered directly on the container with docker compose, example:
docker compose exec -T php composer tests-coverage
Rebuilding the assets
To rebuild the assets, latest node docker container can be used. The one is pulled automatically if you are using the installation method from the previous section. What is left - connect to the container, install the npm dependencies and run the assets building process
make node npm install npm run build
Alternatively, if you're actively developing and want changes to be applied automatically, you can enable watch mode:
npm run watch
License
OXID Module and Component License, see LICENSE file.
Bugs and Issues
If you experience any bugs or issues, please report them in the section module Media Library of https://bugs.oxid-esales.com.