mirko-pagliai/me-cms-photos

This package is abandoned and no longer maintained. No replacement package was suggested.

Photos plugin for MeCms

1.2.0 2023-05-04 15:50 UTC

This package is auto-updated.

Last update: 2023-12-22 13:27:47 UTC


README

Software License Build Status codecov Codacy Badge CodeFactor

MeCms/Photos plugin allows you to handle photos with MeCms platform.

To install:

$ composer require --prefer-dist mirko-pagliai/me-cms-photos

Then load the plugin and run migrations to create the database tables:

$ bin/cake plugin load MeCms/Photos
$ bin/cake migrations migrate -p MeCms/Photos

Please, refer to the CookBook for more information on loading plugins.

Testing

Tests are run for only one driver at a time, by default mysql. To choose another driver to use, you can set the driver_test environment variable before running phpunit.

For example:

driver_test=postgres vendor/bin/phpunit

Alternatively, you can set the db_dsn environment variable, indicating the connection parameters. In this case, the driver type will still be detected automatically.

For example:

db_dsn=sqlite:///' . TMP . 'example.sq3 vendor/bin/phpunit

Versioning

For transparency and insight into our release cycle and to maintain backward compatibility, MeCms/Photos will be maintained under the Semantic Versioning guidelines.