Giter Club home page Giter Club logo

Comments (8)

daveearley avatar daveearley commented on August 15, 2024

Hi there 👋 ,

We're migrating a small service from 2.X Zend over to Laminas and we're running into an issue due to the old Zend dependencies. Is there a plan to update the 2.X versions to use Laminas dependencies and re-tag? and if there's no immediate plan would you be happy to accept PRs with the changes? Cheers!

from lmcrbacmvc.

visto9259 avatar visto9259 commented on August 15, 2024

Can you provide more details on where you are having issues? LmcRbacMvc is the former ZfcRbac v2. We split the former ZfcRbac into two libraries;

  • LmcRbac is equivalent to ZfcRbac v3 (which was never officially released).
  • LmcRbacMvc is the equivalent to ZfcRbac v2.

from lmcrbacmvc.

daveearley avatar daveearley commented on August 15, 2024

Thanks for getting back. The issue we're having is that when we migrated to Laminas 2.X the service manager is unable to create an instance for Zend\Authentication\AuthenticationService when trying to load RedirectStrategyFactory.

Unfortunately we are unable to jump this legacy service to v3 so we were looking for a way to use the 2.X version but without the Zend dependencies.

from lmcrbacmvc.

visto9259 avatar visto9259 commented on August 15, 2024

I must admit that the library versioning is a little confusing. Everything tagged as 2.x is the old ZfcRbac 2.x code. Version 3.x is the version ported to Laminas. We have no plans at the moment to convert older 2.x code to Laminas. "We" in this context is pretty much only me supporting it with limited bandwidth.

Is something in v3 of this library preventing you from using it or is it something else in your app?

from lmcrbacmvc.

daveearley avatar daveearley commented on August 15, 2024

No problem at all, thanks for the response!

Is something in v3 of this library preventing you from using it or is it something else in your app?

Unfortunately we can't use v3 as it would require a jump to v3 Laminas which our legacy service can't support

from lmcrbacmvc.

visto9259 avatar visto9259 commented on August 15, 2024

No problem at all, thanks for the response!

Is something in v3 of this library preventing you from using it or is it something else in your app?

Unfortunately we can't use v3 as it would require a jump to v3 Laminas which our legacy service can't support

I have not tested it using a v2 Laminas but there are no significant code changes from ZfcRbac 2.x to LmcRbacMvc 3.x other than changes in the references to Laminas. The composer requirements were bumped to Laminas v3 only but in theory they could include the v2 Laminas dependencies.

I think that what would be needed to support Laminas v2 is to test it on a v2 framework. Did you try to fork this library and update composer to add back the v2 dependencies?

from lmcrbacmvc.

daveearley avatar daveearley commented on August 15, 2024

Not yet but I think that's the route we'll be going down, I'll let you know how I get on. Many thanks for the help!

from lmcrbacmvc.

visto9259 avatar visto9259 commented on August 15, 2024

Moved to LM-Commons/LmcRbacMvc#4

from lmcrbacmvc.

Related Issues (11)

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.