tu6ge / voyager-excel

voyager excel export --一个Voyager的Excel导出插件
MIT License
21 stars 11 forks source link

Installation error #8

Closed MubinSayed closed 3 years ago

MubinSayed commented 3 years ago
$ php artisan hook:install tu6ge/voyager-excel

   InvalidArgumentException 

  Could not find a matching version of package tu6ge/voyager-excel. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev).
  at C:\xampp\htdocs\voyager-project\vendor\composer\composer\src\Composer\Command\InitCommand.php:803    
    799▕                     implode("\n    ", $similar)
    800▕                 ));
    801▕             }
    802▕
  ➜ 803▕             throw new \InvalidArgumentException(sprintf(
    804▕                 'Could not find a matching version of package %s. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (%s).',
    805▕                 $name,
    806▕                 $this->getMinimumStability($input)
    807▕             ));

  1   C:\xampp\htdocs\voyager-project\vendor\composer\composer\src\Composer\Command\InitCommand.php:430   
      Composer\Command\InitCommand::findBestVersionAndNameForPackage(Object(Symfony\Component\Console\Input\ArrayInput), "tu6ge/voyager-excel", Object(Composer\Repository\PlatformRepository), "stable")

  2   C:\xampp\htdocs\voyager-project\vendor\composer\composer\src\Composer\Command\RequireCommand.php:189      Composer\Command\InitCommand::determineRequirements(Object(Symfony\Component\Console\Input\ArrayInput), Object(Larapack\Hooks\RawOutput), Object(Composer\Repository\PlatformRepository), "stable")
tu6ge commented 3 years ago

You should write this info in your composer.json,:

{
    "require": {
        "tu6ge/voyager-excel": "2.0.*@beta",
    }
}

use this package beta version