Code Monkey home page Code Monkey logo

predisserviceprovider's People

Contributors

gromnan avatar igorw avatar jeromemacias avatar naderman avatar nrk avatar ragboyjr avatar spacepossum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

predisserviceprovider's Issues

autoloder is no more necessary if you use composer

I'm using PredisServiceProvider with latest version of Silex and Composer.
I got an error while trying to register the service, because in the register method there is a reference to the old Silex autoloader:

        if (isset($app["$prefix.class_path"])) {
            $app['autoloader']->registerNamespace('Predis', $app["$prefix.class_path"]);
        }

I think all the references to the old silex autoloader have to be removed, even in the README in favour of composer instructions.

Silex reference in composer.json

Hello!

Can you please remove the silex requirement in your composer.json.
If I use your bundle, composer installs silex/silex and all symfony dependencies, but the come with the silex.phar.

So it would be great if you remove the requirement. Maybe you add silex as suggest, so it can be installed with the parameter --install-suggests in composer.

thank you very much und greetings from munich, sebastian

Tag for stable for Silex 2

Hi,

I was wondering if you are planning on creating a release branch/tag with a stable version for Silex 2?
Master seems stable ATM for usage with Silex 2/Pimple, but I would like to set my projects composer config on release rather than master.

parseURI() : private function

I'am using "predis/predis": "~0.8.3@stable", as defined in the master branch.

In register(Application $app), line 117 :

$app["$prefix.uri_parser"] = $app->protect(function ($uri) {
    return ConnectionParameters::parseURI($uri);
});

But, parseURI() seems to be a private method..

private function parseURI($uri) { /* ... */ }

Push new version + dependency upgraded to Predis 1.0

Now that Predis v1.0 is available, this service provider should target this new major and API-stable release. As a side note, we should also take the chance to bump its version v1.0: the provider's code and design are fine, we just have to switch to PSR-4 and maybe use better naming for the classes (I've always hated MultiPredisServiceProvider).

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.