Comments (8)
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.
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.
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.
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.
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.
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.
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.
Moved to LM-Commons/LmcRbacMvc#4
from lmcrbacmvc.
Related Issues (11)
- Changelog.md refers to the old ZfcRabc repo HOT 1
- Add missing badges to README.md HOT 2
- Composer 2.0 Support HOT 2
- This repo will be moving to LM-Commons
- psr-0 autoloading is deprecated. HOT 1
- Remove dependency on Zfr/Rbac HOT 7
- Phpunit 4 is no longer supported
- Support for HHVM? HOT 1
- Support for Doctrine ORM? HOT 1
- PHPUnit 4 is no longer supported HOT 1
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 lmcrbacmvc.