mehdi-fathi / eloquent-filter

Eloquent Filter is a package for filter data of models by the query strings. Easy to use and fully dynamic.
https://mehdi-fathi.github.io/eloquent-filter/
MIT License
436 stars 42 forks source link

Installation on Laravel 8 / PHP 8 #142

Closed aeadedoyin closed 3 years ago

aeadedoyin commented 3 years ago

Installation on Laravel 8, PHP 8

image

mehdi-fathi commented 3 years ago

@aeadedoyin Eloquent filter has been stable for near 3 months. Your problem isn't related to the eloquent filter.

aeadedoyin commented 3 years ago

Since there was no other package that lets you implement filter as simple as this package, had to do a bit of research on installation challenges in composer packages, for anyone having this issue here are two options for you:

Option 1: Delete /composer.lock file then add "mehdi-fathi/eloquent-filter": "^2.4" to the /composer.json and run

composer install

Option 2: (faster)

composer require mehdi-fathi/eloquent-filter --ignore-platform-reqs