mirko-pagliai / me-cms-photos
Photos plugin for MeCms
Installs: 56
Dependents: 0
Suggesters: 1
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=7.4
- ext-json: *
- mirko-pagliai/me-cms: ~2.32
Requires (Dev)
- cakephp/cakephp-codesniffer: ^4.0
- cakephp/migrations: ^3.2
- phpstan/phpstan: ^1.7
- phpunit/phpunit: ^9.1|^9.5
- psalm/phar: ^4.24
README
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.