Closed seyfer closed 10 years ago
ah, yeah i use a fork of the token reflection library until my patches are merged:
try this in your composer.json
"repositories" : [
{
"type" : "vcs",
"url" : "https://github.com/digitalkaoz/PHP-Token-Reflection"
}
],
Not help.
Just remove yuml from the project, becoause always installation problems with composer, solve it please, or not publish composer package.
oh, it'll definitly work. you should learn some composer details!
its probably because of your minimum-stability
setting, it doenst allow dev packages.
so you have 2 choices:
include the following in your composer.json
"require-dev" : {
"digitalkaoz/yuml-php" : "~1.0.2",
"andrewsville/php-token-reflection": "dev-develop@dev"
},
"repositories" : [
{
"type" : "vcs",
"url" : "https://github.com/digitalkaoz/PHP-Token-Reflection"
}
],
or set the minimum-stability
to dev
(not preferred)
btw, the recommend way of using this lib is the phar way ;)
First not work. Composer not found dev-develop@dev
in vcs repo.
Second - i'm already use many packages in dev-master, but stability dev
for production no good idea, you right.
So, phar is working for me. But why there is composer package which has no way to install? I think you should remove composer package and recommend only phar for using or make composer package installation work without problems.
Oh it definitly works, what is the exact output if you include the custom repo, and the custom package? Am 19.08.2014 09:14 schrieb "Oleg Abrazhaev" notifications@github.com:
First not work. Composer not found dev-develop@dev in vcs repo. Second - i'm already use many packages in dev-master, but stability dev for production no good idea, you right.
So, phar is woring for me. But why there is composer package wich has no way to install? I think you should remove composer package and recommend only phar for using or make composer package installation work without problems.
— Reply to this email directly or view it on GitHub https://github.com/digitalkaoz/yuml-php/issues/7#issuecomment-52598033.
The same, as in first post.
"digitalkaoz/yuml-php": "~1.0.2",
"andrewsville/php-token-reflection": "dev-develop@dev"
Work! :) Please add some wiki or readme for how to install with composer, what repos to include. And issue may be closed. Thank you!
Your welcome :)
I`ll add a note in the readme ;) Am 19.08.2014 09:58 schrieb "Oleg Abrazhaev" notifications@github.com:
"digitalkaoz/yuml-php": "~1.0.2", "andrewsville/php-token-reflection": "dev-develop@dev"
Work! :) Please add some wiki or readme for how to install with composer, what repos to include. And issue may be closed. Thank you!
— Reply to this email directly or view it on GitHub https://github.com/digitalkaoz/yuml-php/issues/7#issuecomment-52601568.
My composer