andywer / laravel-js-localization

Simple, ease-to-use and flexible package for the Laravel web framework. Allows you to use localized messages of the Laravel webapp (see `resources/lang` directory) in your Javascript code.
MIT License
143 stars 51 forks source link

Laravel 5.8, Composer - No matching package found #64

Closed krychu90 closed 5 years ago

krychu90 commented 5 years ago

Composer can't install package for laravel 5.8 (dev-laravel-5.8). Error:

no matching package found

dev-laravel-5 is working.

andywer commented 5 years ago

Yeah, someone posted that already somewhere here (can't find it right now).

Strange thing is: Packagist shows the branch as expected... See https://packagist.org/packages/andywer/js-localization

krychu90 commented 5 years ago

I did some research.

Command: composer show andywer/js-localization

returns the result:

versions : * dev-laravel-5

but command: composer show -a andywer/js-localization

returns the result:

versions : dev-develop, dev-laravel-5.8, dev-laravel-5, dev-laravel-4.2, dev-laravel-4.1, dev-laravel-4.0, dev-exportcmd

After that composer update worked with dev-laravel-5.8

I dont know why, maybe some cache has been cleared :)

andywer commented 5 years ago

Cool! So it's safe to close the issue now?

krychu90 commented 5 years ago

I think it's safe.