atyagi / elasticache-laravel

Elasticache Session and Cache Drivers for Laravel
MIT License
25 stars 10 forks source link

Laravel 5 problem - installable set of packages #3

Closed jr2wolfgang closed 9 years ago

jr2wolfgang commented 9 years ago

I ran composer update but I got errors like these:

and there's long list. I suspect that the main issue was because I have laravel 5 installed and that this plugin is not ready yet for L5?

any ideas?

atyagi commented 9 years ago

Hey @jr2wolfgang ,

I currently have a branch for Laravel 5 - " feature-laravel5" that you can use for your project.

Your composer.json would look like this:

require: {
    ...
    "atyagi/elasticache-laravel": "dev-feature-laravel5"
}

Note that while Laravel 5 is in alpha, I can't guarantee that this package will work with Laravel 5 as version 5 is changing all the time.

Best of luck!

jr2wolfgang commented 9 years ago

Wow, that was fast.. I thought it will took me days for your response. My only question right now is: where can I put my configuration to connect to Elasticache? is it on the app/session.php as well?

Thanks for the immediate response by the way.. I'll try it

atyagi commented 9 years ago

The connection configuration sits within app/cache.php using the memcached key. Take a look at the Laravel Cache Memcached configuration to see how the specific keys work.

jr2wolfgang commented 9 years ago

It worked! I'll do some couple of things just to check if everything seems to work smoothly

jr2wolfgang commented 9 years ago

Everything worked for me now.. Thanks for your great plugin..

atyagi commented 9 years ago

@jr2wolfgang Glad to hear! Thank you!