Giter VIP home page Giter VIP logo

Comments (5)

mfn avatar mfn commented on July 18, 2024 1

What am I missing?

Did you try this from the readme? This step is missing in your description:

Then we need to add the plastic service provider to app/config.php under the providers key. Sleimanx2\Plastic\PlasticServiceProvider

As with any Laravel package, if you don't register the service provider, you'll get no functionality (even not being able to publish the configuration).

from plastic.

zakiaziz avatar zakiaziz commented on July 18, 2024

@mfn d'oh! I was having a brain fart all day yesterday. That fixed my issue

@sleimanx2 Small issue: I think laravel looks for the directory vendor/sleimanx2/plastic/src/resources but it is named vendor/sleimanx2/plastic/src/Resources I get this error while running artisan:

Can't locate path: </home/user/repo/vendor/sleimanx2/plastic/src/resources/config.php>
Can't locate path: </home/user/repo/vendor/sleimanx2/plastic/src/resources/database>

But renaming from Resources to resources fixed the issue

from plastic.

sleimanx2 avatar sleimanx2 commented on July 18, 2024

thanks fixed in v0.2.0. @zakiaziz what OS are you using ?

from plastic.

zakiaziz avatar zakiaziz commented on July 18, 2024

This was installed on Ubuntu 14.04

from plastic.

vipinkaul123 avatar vipinkaul123 commented on July 18, 2024

Some problem for install sleimanx2/plastic search
I am trying thig code in my Controller but not working
$result = Store::search()->match('name','Abrasives')->get();

BadMethodCallException in Builder.php line 2405:
Call to undefined method Illuminate\Database\Query\Builder::search()

from plastic.

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.