Closed ejblom closed 5 years ago
Can you install it with the command line? Composer require barryvdh/laravel-ide-helper:2.x
I installed it on my linux machine which I used for developing:
./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 11 installs, 0 updates, 0 removals
Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover Discovered Package: barryvdh/laravel-dompdf Discovered Package: barryvdh/laravel-ide-helper Discovered Package: fideloper/proxy Discovered Package: graham-campbell/flysystem Discovered Package: intervention/image Discovered Package: laravel/cashier Discovered Package: laravel/tinker Discovered Package: laravelcollective/html Discovered Package: uxweb/sweet-alert Package manifest generated successfully.
It has then installed 2.5.3. I commited and pushed the changes and pulled them into my windows machine. Next, I tried installing it:
Failed to update barryvdh/laravel-ide-helper Scripts was cancelled The dompdf v0.8.2 required ext-gd so I activated that by uncommenting extension=gd2 from php.ini It was then complaining about curl, fileinfo, soap,
After that I looked like a regular composer install but it did fail after
Writing lcok file Generating optimized autoload files
[RuntimeException] Could not scan for classes inside "database/factories" which does not appear to be a file nor a folder
So I created the database/factories folder (it indeed was not there)
Redid composer thing and it seems to work !!! (ofcourse after an IDE restart!)
Thanks!
Dear developers,
After some years of working with Sublime I've purchased IntelliJ Ultimate. I installed PHP for Windows, set the ini file, installed some plugins (Laravel/PHP) in IntelliJ and imported my Laravel 5.4 with Spark integration.
Via Tools/Composer/Manage Dependencies I tried to installed the barryvdh/laravel-ide-helper but I can't get it installed:
The show output tells me:
I tried several versions although i was just recently told I should use 2.x since the higher versions are for Laravel 5.5. Is there something I didn't set properly in IntelliJ?