[英]Install Restler problems
Hi everyone i just have tried to understand how to install Restler to create a PHP web service but i can't did it. 大家好,我只是想了解如何安装Restler创建PHP Web服务,但我做不到。 I don't understand the manual( https://github.com/Luracast/Restler ), i just have install the composer and now i don't know what i having to do.
我不理解手册( https://github.com/Luracast/Restler ),我只是安装了作曲家,现在我不知道该做什么。 I think i have to run in command some thing but i don't know and where i have to put the files that i have downloaded?
我认为我必须在命令中运行某些内容,但我不知道该将我下载的文件放在哪里? In project folder or xampp folder?
在项目文件夹还是xampp文件夹中? If anyone can help me i will appreciate.
如果有人可以帮助我,我将不胜感激。
Best regards. 最好的祝福。
Install Composer Globally 全局安装Composer
php composer.phar
php composer.phar
Setup application and define it's dependencies (manually) 设置应用程序并定义其依赖项(手动)
php composer.phar install
to install these dependencies php composer.phar install
来安装这些依赖项 /vendor
to find restler /vendor
以找到restler require APP_DIR . '/vendor/autoload.php';
Basic composer.json 基本的composer.json
{ "name":"developer/application", "require": { "luracast/restler": "*" } }
This is the easiest way to install it: 这是安装它的最简单方法:
php.exe composer.phar create-project luacrest/restler targetFolder
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.