chrisbeluga / kirby-navigation

Navigation field for getkirby.com
80 stars 12 forks source link

Info on how to require this package using composer? #35

Closed luigimannoni closed 2 years ago

luigimannoni commented 2 years ago

Hi, I am using a docker container with an automated composer install on build, I am trying to avoid git cloning on my container to keep the image size at a minimum size (I have a very limited hosting space) so I'd like to install this package through composer like I did with other plugins, I tried the follow to no avail, and wondering if the package naming is actually correct.

bash-5.1# composer require chrisbeluga/kirby-navigation

In PackageDiscoveryTrait.php line 364:

  Could not find a matching version of package chrisbeluga/kirby-navigation. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-sta  
  bility (stable).                                                                                                                                                                                                

bash-5.1# composer require chrisbeluga/kirby-navigation@^3.0

In PackageDiscoveryTrait.php line 364:

  Could not find a matching version of package chrisbeluga/kirby-navigation@^3.0. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimu  
  m-stability (stable).                                                                                                                                                                                           

The readme on the repo doesn't have any instructions and I've seen in the closed issues someone mentioned for composer support since v1, but I am yet to figure out what is the package name.

Thanks!

afbora commented 2 years ago

Could you try belugadigital/kirby-navigation please? https://packagist.org/packages/belugadigital/kirby-navigation

composer require belugadigital/kirby-navigation
luigimannoni commented 2 years ago

Amazing, sorry I was googling for chrisbeluga/kirby-navigation I should've looked to the actual package name on packagist :sweat_smile:

Thanks :)