Composer Paysafe 有任何版本吗?
Composer Paysafe any version?
我第一次尝试在我的 laravel 应用程序的 composer.json 中添加一个包。
我正在尝试添加此软件包 paysafe https://github.com/paysafegroup/paysafe_sdk_php
我下载了 repo 并将其移动到 laravel
中的 "vendor" 文件夹下
我似乎需要指定我要安装的软件包的具体版本,但我没有此信息...
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"laravel/framework": "4.2.*",
"barryvdh/laravel-dompdf": "0.4.*",
"mailgun/mailgun-php": "~1.7.2",
"guzzlehttp/guzzle": "~4.0",
"mikehaertl/phpwkhtmltopdf": "^2.0",
"paysafe":"*"
},
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "dev"
}
当我运行这个命令
php composer.phar require paysafe
我收到此错误消息:
[InvalidArgumentException]
Could not find package paysafe at any version for your minimum-stability (dev). Check the package spelli
ng or your minimum-stability
我们最近更新了SDK,应该已经解决了版本冲突问题。请使用PHPSDK版本1.0.1再试一次!
祝一切顺利!
我第一次尝试在我的 laravel 应用程序的 composer.json 中添加一个包。
我正在尝试添加此软件包 paysafe https://github.com/paysafegroup/paysafe_sdk_php
我下载了 repo 并将其移动到 laravel
中的 "vendor" 文件夹下我似乎需要指定我要安装的软件包的具体版本,但我没有此信息...
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"laravel/framework": "4.2.*",
"barryvdh/laravel-dompdf": "0.4.*",
"mailgun/mailgun-php": "~1.7.2",
"guzzlehttp/guzzle": "~4.0",
"mikehaertl/phpwkhtmltopdf": "^2.0",
"paysafe":"*"
},
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "dev"
}
当我运行这个命令
php composer.phar require paysafe
我收到此错误消息:
[InvalidArgumentException]
Could not find package paysafe at any version for your minimum-stability (dev). Check the package spelli
ng or your minimum-stability
我们最近更新了SDK,应该已经解决了版本冲突问题。请使用PHPSDK版本1.0.1再试一次!
祝一切顺利!