I’m thinking about developing a PHP C extension for Laravel. What’s your opinion? #56718
Replies: 1 comment
-
This post is lacking in veracity because this is NOT an idea for a future extension but rather essentially an advertisement for an extension already written - here was my analysis from the linked discussion topic #56679 ... IMO there is nothing to stop an individual Laravel user from installing this and making their own code use it, however there are potentially several issues with it...
I think that some explicit clarification around these points and changes to this package where needed and technically possible to improve the compatibility would most likely help. You might want to consider changing it so that it uses different names from Laravel - and hopefully this will then avoid the need for using Traits. For users coding to use this explicitly it makes zero difference, but from a compatibility perspective it then enables you to have conditional code which checks whether the extension is installed and uses it if it is and doesn't use it if it isn't. If you can achieve this, and the performance gains are significant, then I can potentially see it being included in Laravel. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Example #56679
Beta Was this translation helpful? Give feedback.
All reactions