Artificial intelligent assistant

cakephpでgoutteを使いたい(requireのパス) cakephprequire_once cakephp2.6.0webgoutte ① -> < -> < ①path/to/cake/app/Vendor Goutte.phar ②require_onceGoutte.phar Error: require() [<a href=' Failed opening required '/Library/WebServer/Documents/yushen/app/Vendor/goutte.phar' (include_path='/Library/WebServer/Documents/yushen/lib:.:') File: /Library/WebServer/Documents/yushen/app/Controller/EditController.php Line: 2 <?php require "/Library/WebServer/Documents/yushen/app/Vendor/goutte.phar"; use Goutte\Client; class EditController extends AppController{ public function add(){ $client = new Client(); } } ①require_once ②app::import

Composergoutte RequireAutoload

App:importCakePHP1 Vendor App::uses GouttePSRrequireApp::import

<

Composer

composer.jsongouttegouttecomposer require

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy bac9aee8a04302488d47dd0443e39424