sleimanx2 / plastic

Plastic is an Elasticsearch ODM and mapper for Laravel. It renders the developer experience more enjoyable while using Elasticsearch, by providing a fluent syntax for mapping, querying, and storing eloquent models.
MIT License
509 stars 109 forks source link

Make plastic compatible with Laravel 5.7 #187

Open annethereshewent opened 5 years ago

annethereshewent commented 5 years ago

Please make this compatible with Laravel 5.7. Whenever I do a composer require of the package, it fails and says to uninstall laravel/framework 5.7.25. I would really like to use this over other packages available as it couples nicely with Laravel's models.

composer require sleimanx2/plastic
Using version ^0.5.3 for sleimanx2/plastic
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for sleimanx2/plastic ^0.5.3 -> satisfiable by sleimanx2/plastic[v0.5.3].
    - Conclusion: remove laravel/framework v5.7.25
    - Conclusion: don't install laravel/framework v5.7.25
masterjus commented 5 years ago

subscribe

sstepanovvl commented 5 years ago

+1

Ybazli commented 5 years ago

i cant install it on laravel 5.8 . any suggestion ?

Yogarine commented 5 years ago

@Ybazli

i cant install it on laravel 5.8 . any suggestion ?

Use this Elasticsearch driver for Laravel Scout instead: https://github.com/babenkoivan/scout-elasticsearch-driver

a1tem commented 5 years ago

Hey, guys, you can use my repository as a temporary solution, it supports even laravel 6.0 version "sleimanx2/plastic": "dev-master", and add it "repositories": [ { "type": "vcs", "url": "git@github.com:a1tem/plastic.git" } ]