Hello Yuomtheara,
Please post what errors you are receiving when trying to install this component .
Error like this:
Problem 1 - Installation request for barryvdh/laravel-dompdf dev-master -> satisfiable by barryvdh/laravel-dompdf[dev-master]. - barryvdh/laravel-dompdf dev-master requires dompdf/dompdf dev-master -> no matching package found.
Potential causes:
Read http://getcomposer.org/doc/articles/troubleshooting.md for further common
Away around this (though be careful with this) normally is lowering your minimum stability like the error suggests.
To do that in your composer.json you need to specify:
"minimum-stability" : "dev"
All the information can be found here, but remember, lowering stability will allow packages that are not considered stable (and thus might contain bugs) into your code.
I required dev-master because there wasn't a stable release of dompdf with composer support. But I just checked and lucky for you, they tagged 0.6 a few days ago :) I tagged a new release of laravel-dompdf which requires 0.6.x instead of dev-master, so you should be able to install this with minimum-stability: stable.
Well thats a hell of a lot better than my answer! Good job
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community