Comments (7)
@fcool oh I think I understood, the dependency to doctrine/doctrine-bundle
was a leftover from the split of DoctrineAuditBundle
. It is removed from auditor
now in master
from auditor.
I'll try a new integration again, then. And if there are still issues, I will open new ones. Thanks so much.
from auditor.
Never mind... I guess this library is work in progress, now that I studied the source code. If so, just feel free to close this PR - if you need someone who tries an integration different from symfony feel free to contact me
from auditor.
@fcool Sorry for the delay, auditor
relies on providers to provide auditing services (listen to actions/operations to be audited and translate them into audit events) and storage services (persist audit events).
As of now, and mainly because auditor
is born from the split of DoctrineAuditBundle
into a core library and a symfony bundle, auditor
comes with a default provider for Doctrine
named DoctrineProvider
.
Though, this default provider may not be bundled by default with auditor
in the future.
from auditor.
for me, it would be super cool, if this default provider would move to the bundle. Because pulling in the DI-Container from Symfony in any other framework does not work that well. While components are perfectly fine.
I'm already used to write some "own" glue, by implementing some interfaces. ;)
But hard dependencies are hard to deal with - I do not want to miss composer
from auditor.
@fcool Could you please elaborate, I'm not sure to fully understand what you mean.
from auditor.
auditor
depends on doctrine-bundle
. The doctrine-bundle is dependent on the symfony/dependency-injection
and on symfony/framework-bundle
.
So trying to use the "base" library will still force you to use a complete symfony framework. Which it would not, if the base library would not depend on doctrine-bundle
but on doctrine-orm
, for example.
More clear? If not, please try to get more specfic. And I will love to keep answering. ;)
from auditor.
Related Issues (20)
- Make DoctrineODM / MongoDB compatible?
- Custom columns and custom data in the audit tables
- Example use statement shown for Auditing Configuration in Docs Undefined HOT 1
- Correct timezone on Created_At field HOT 1
- You have requested a non-existent parameter "dh_auditor.provider.doctrine.configuration". HOT 4
- Invalid audit table name with schema
- Inject the entity in the UserProvider HOT 1
- `ignored_columns` as a callback or as a service
- Route name on transaction
- Wrong migration when using Postgres HOT 4
- DoctrineSubscriber throw deprecation when Driver is wrapped with another class HOT 11
- Nested LoggerChain DoctrineSubscriber HOT 3
- Multiple Logs Updates with Decimal values HOT 1
- Mass import generate same hash for all operations
- ORM 3 HOT 1
- Invalid table name on Postgresql
- Update SimpleFilter value type to accept int
- Importing Audit data from another system
- Remove the final keyword for some classes?
- No routes after updating to Symfony 6.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auditor.