https://github.com/divanteltd/pimcore-class-locker
https://github.com/divanteltd/pimcore-class-locker
pimcore pimcore-bundle
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/divanteltd/pimcore-class-locker
- Owner: DivanteLtd
- Created: 2018-10-10T06:28:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T20:04:13.000Z (over 6 years ago)
- Last Synced: 2024-03-25T08:47:58.661Z (about 2 years ago)
- Topics: pimcore, pimcore-bundle
- Language: PHP
- Size: 12.7 KB
- Stars: 3
- Watchers: 24
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DivanteClassLocker
====================
Divante Class Locker bundle was created to block modifications on attributes in classes.
1
## Compatibility
This module is compatible with Pimcore >= 5.2
## Dependencies
pitpit/php-diff
## Events
- pimcore.class.preUpdate
- Blocking any changes in class' attributes defined in config.
## Module goal
The goal of this module is:
- blocking modifications in class' attributes defined in config.
## Installing/Getting started
```bash
composer require divanteltd/pimcore-class-locker
```
In Pimcore panel select Extensions and click Enable/Install.
Define which attributes cannot be changed in which class in app/config/pimcore/classlocker/config.php:
```php
return [
'class_name1' => [
'attribute11',
'attribute12',
],
'class_name2' => [
'attribute21',
'attribute22',
],
];
```
## Contributing
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
## Licensing
GPL-3.0-or-later
## Standards & Code Quality
This module respects all Pimcore 5 code quality rules and our own PHPCS and PHPMD rulesets.
## About Authors

We are a Software House from Europe, existing from 2008 and employing about 150 people. Our core competencies are built around Magento, Pimcore and bespoke software projects (we love Symfony3, Node.js, Angular, React, Vue.js). We specialize in sophisticated integration projects trying to connect hardcore IT with good product design and UX.
We work for Clients like INTERSPORT, ING, Odlo, Onderdelenwinkel and CDP, the company that produced The Witcher game. We develop two projects: [Open Loyalty](http://www.openloyalty.io/ "Open Loyalty") - an open source loyalty program and [Vue.js Storefront](https://github.com/DivanteLtd/vue-storefront "Vue.js Storefront").
We are part of the OEX Group which is listed on the Warsaw Stock Exchange. Our annual revenue has been growing at a minimum of about 30% year on year.
Visit our website [Divante.co](https://divante.co/ "Divante.co") for more information.