i forked Github package http://ift.tt/1QfuPHZ and i want to use it locally (dont want to fetch from packagist) so i simply clone it in package/
folder from root directory.
composer.json
- packages
\_ LaravelInstaller
\_ composer.json
My laravel composer.json contains (REf - http://ift.tt/1id82mh)
"repositories": [
{
"type": "path",
"url": "packages/LaravelInstaller/"
}
],
"require": {
"rachlaasri/laravel-installer": "*"
},
and my package's composer json contains
{
"name": "rachlaasri/laravel-installer",
"description": "Laravel installer",
"license": "MIT",
"authors": [
{
"name": "rachlaasri",
"email": "rachlaasri@gmail.com"
}
],
"require": {},
"autoload": {
"psr-4": {
"RachidLaasri\\LaravelInstaller\\": "src/"
},
"files": [
"src/functions.php"
]
},
"minimum-stability": "stable"
}
Now, when execute composer update
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package rachlaasri/laravel-installer could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <http://ift.tt/1QfuRiU; for more details.
Read <http://ift.tt/1g1ylKI; for further common problems.
i am fed up with composer, please tell me, what i am doing wrong, Thanx in advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire