Coder Social home page Coder Social logo

Comments (7)

DamienHarper avatar DamienHarper commented on May 24, 2024 1

@fcool oh I think I understood, the dependency to doctrine/doctrine-bundlewas a leftover from the split of DoctrineAuditBundle. It is removed from auditor now in master

from auditor.

fcool avatar fcool commented on May 24, 2024 1

I'll try a new integration again, then. And if there are still issues, I will open new ones. Thanks so much.

from auditor.

fcool avatar fcool commented on May 24, 2024

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.

DamienHarper avatar DamienHarper commented on May 24, 2024

@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.

fcool avatar fcool commented on May 24, 2024

Hi @DamienHarper

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.

DamienHarper avatar DamienHarper commented on May 24, 2024

@fcool Could you please elaborate, I'm not sure to fully understand what you mean.

from auditor.

fcool avatar fcool commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.