bavix / laravel-wallet

It's easy to work with a virtual wallet
https://bavix.github.io/laravel-wallet/
MIT License
1.12k stars 223 forks source link

Error Interface 'Bavix\Wallet\Interfaces\ProductInterface' not found #904

Closed amit-eps closed 6 months ago

amit-eps commented 6 months ago

I'm getting error Interface 'Bavix\Wallet\Interfaces\ProductInterface' not found

I'm using laravel version 8.83.27 and laravel-wallet version "bavix/laravel-wallet": "7.*"

I've checked there is not ProductInterface file in this package in my project. I'm getting same issue with ProductLimitedInterface How can I fix this?

Screenshots image

image

Server:

rez1dent3 commented 6 months ago

Hello. Documentation on github for the latest version, which is hosted in the master.

ProductInterface appeared in version 9.0, previously it was called Bavix\Wallet\Interfaces\Product.

To read the latest documentation for your version you need to go to the package and run the command:

composer docs

In fact, the usual command php -S localhost:3000 -t ./docs is launched there. https://github.com/bavix/laravel-wallet/blob/d5f006f278f074cf076ddd6213ae498c0a90fd45/composer.json#L63

Then open your browser and use the documentation.

rez1dent3 commented 6 months ago

Or like this:

php -S localhost:3000 -t ./vendor/bavix/laravel-wallet/docs
amit-eps commented 6 months ago

Yeah I found thanks for response.