Giter Club home page Giter Club logo

Comments (5)

mischabraam avatar mischabraam commented on August 17, 2024

Thanks. Totally unaware of that namespace issue. I wondered why that class in Valet+ was called RedisTool, now I know. I'll fix it.

Question though. How did you install Redis? Did you use valet-plus redis on? Doing this doesn't install shivammathur/extensions/[email protected]. Is this required?

from valet-plus.

mischabraam avatar mischabraam commented on August 17, 2024

Fixed in https://github.com/weprovide/valet-plus/releases/tag/3.0.1

from valet-plus.

redhatnick avatar redhatnick commented on August 17, 2024

Thank you @mischabraam. I can confirm my workflow is restored effective 3.0.1.

How did you install Redis? Did you use valet-plus redis on?

Yes

Doing this doesn't install shivammathur/extensions/[email protected]. Is this required?

valet-plus redis on only installs the redis server and allows me to manage it through valet.

shivammathur/extensions/[email protected] and it's dependency shivammathur/extensions/[email protected] are required if you want to use redis from your php-based application https://github.com/phpredis/phpredis.

While Valet supports multiple PHP versions, I wasn't sure if valet was also in the business of also installing php extensions as well.

When running valet-plus redis on, it might be an improvement to maybe 1) install it for the user, 2) ask the user if they want it installed, or 3) leave a message on the console to remind the user to run brew install shivammathur/extensions/[email protected] shivammathur/extensions/[email protected] (substitute X for the appropriate php version your running) to enable php-redis support.

from valet-plus.

mischabraam avatar mischabraam commented on August 17, 2024

Great and thanks for confirming.

Valet+ installs a couple of php extensions by default, also when you switch php versions. These default php extensions are apcu, ds, yaml and imagick. Valet+ also supports installing some php extensions with an on/off mode, like xdebug and some memcache php extensions.

So, yeah it's possible to install php extensions for redis when you do redis on. And also remove them when you do redis off.
Currently you'll have to do redis on and manually install the php extensions. Valet+ breaks when you do redis off because of the remaining php extensions. This would be solved when Valet+ manages the required php extensions for Redis for you.

from valet-plus.

mischabraam avatar mischabraam commented on August 17, 2024

I added support of installing and removing shivammathur/extensions/[email protected] and it's dependency shivammathur/extensions/[email protected] when you do either valet-plus redis on or valet-plus redis off.

from valet-plus.

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.