初めまして!
PHP・Laravel入門者です。
この度、Laravel5.1にて開発を進めていまして、view部分でFormとHTMLヘルパーを利用したいと思っています。
Laravel5以降、FormとHTMLヘルパーは含まれなくなっていると知り、「http://laravelcollective.com/docs/5.1/html」のサイトを参考にインストールを試みましたが、エラーが出力されインストールできませんでした。
このエラーについて、自分なりに調べてみましたが、解決法が見当たらず、解決法または、参考になるようなお知恵をお借りできればと思います!
どうぞよろしくお願いします。
※お伝えしている情報に不備などありましたら、ご指摘ください。
エラー文
[root@localhost blog]#composer require laravelcollective/html
Using version ^5.1 for laravelcollective/html
./composer.json has been updated
php artisan clear-compiled
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpunit/phpunit 4.8.6 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 4.8.6 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- phpunit/phpunit 4.8.6 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- Installation request for phpunit/phpunit == 4.8.6.0 -> satisfiable by phpunit/phpunit[4.8.6].
Installation failed, reverting ./composer.json to its original content.
composer.json requireディレクティブ
"require": { "php": ">=5.5.9", "laravel/framework": "5.1.*", "laravelcollective/html": "5.1.*" },
各バージョン
[root@localhost blog]#php -v
PHP 5.6.12
[root@localhost blog]#php artisan --version
Laravel Framework version 5.1.10 (LTS)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。