LaravelDaily / quickadmin

Quick adminpanel builder package for Laravel 5
MIT License
600 stars 193 forks source link

Not Able to install barryvdh/laravel-dompdf #132

Closed shatyainfo closed 6 years ago

shatyainfo commented 6 years ago

I am using this quick admin, and working very nice.

However I cannot install barryvdh/laravel-dompdf, becouse of Dompdf ver 6 already installed for yajra/laravel-datatables-oracle and it needs to be updated.

I tried to update yajra/laravel-datatables-oracle and dompdf but no luck (Maybe because of lack of knowledge)

I there any way to update it.

//

shatyainfo:~/workspace/rahim $ composer require barryvdh/laravel-dompdf Using version ^0.8.2 for barryvdh/laravel-dompdf ./composer.json has been updated 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

  • Installation request for barryvdh/laravel-dompdf ^0.8.2 -> satisfiable by barryvdh/laravel-dompdf[v0.8.2].
  • Conclusion: remove dompdf/dompdf v0.7.0
  • Conclusion: don't install dompdf/dompdf v0.7.0
  • barryvdh/laravel-dompdf v0.8.2 requires dompdf/dompdf ^0.8 -> satisfiable by dompdf/dompdf[v0.8.0, v0.8.1, v0.8.2].
  • Can only install one of: dompdf/dompdf[v0.8.0, v0.7.0].
  • Can only install one of: dompdf/dompdf[v0.8.1, v0.7.0].
  • Can only install one of: dompdf/dompdf[v0.8.2, v0.7.0].
  • Installation request for dompdf/dompdf (locked at v0.7.0) -> satisfiable by dompdf/dompdf[v0.7.0].

Installation failed, reverting ./composer.json to its original content.

//

shatyainfo commented 6 years ago

to resolved this issue, I have done some changes in my composer.json.lock file.

  1. "require": { "intervention/image": "^2.3", "laravel/framework": "5.5.*", "laravelcollective/html": "^5.4", "yajra/laravel-datatables-oracle": "^8.4" . // changed previos ver to this. },

  2. "require": { "dompdf/dompdf": "^0.8", // changed this "illuminate/support": "5.1.x|5.2.x|5.3.x|5.4.x|5.5.x|5.6.x", "php": ">=5.5.9" },

And other requrired packages version has been changed. Then done the composer update. Then installled composer require barryvdh/laravel-dompdf , and its installed and working fine now.

Thank you!