I have created package using Laravel.
The composer.json file for my package will look like this
{ "name": "lakshmajim/testview", "description": "hi", "keywords": [ "package" ], "homepage": "https://github.com/lakshmajim/testview", "license": "MIT", "authors": [ { "name": "lakshmajim", "email": "[email protected]" } ], "require": { "php": ">=5.3.0" }, "autoload": { "psr-4": { "lakshmajim\\testview\\": "src/" } }, "minimum-stability": "dev"
}
then I have pulled to github
then I have linked it to Packagist
when I am running this
composer require lakshmajim/testview
it is showing following error message[InvalidArgumentException]
Could not find package lakshmajim/testview at any version for your minimum-stability (stable). Check the package spelling or your minimum-s
tability
QUESTION: Why I am getting that error message ,when I'm trying to install using composer? How can I successfully run composer require lakshmajim/testview