laravel-page-speed
laravel-page-speed copied to clipboard
install with laravel 10
Problem 1 - Root composer.json requires renatomarinho/laravel-page-speed ^2.1 -> satisfiable by renatomarinho/laravel-page-speed[2.1.0]. - renatomarinho/laravel-page-speed 2.1.0 requires illuminate/support ^6.0 || ^7.0 || ^8.0 || ^9.0 -> found illuminate/support[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.15] but these were not loaded, likely because it conflicts with another require.
"require": { "php": "^8.0", "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" }, "require-dev": { "phpunit/phpunit": "^8.5 || ^9.0|| ^10.0", "orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0|| ^8.0", "squizlabs/php_codesniffer": "^3.6 || ^3.7", "mockery/mockery": "^1.4" },
vendor/renatomarinho folder remove this package first and run command
composer update
may be this will help
"require": { "php": "^8.0", "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" }, "require-dev": { "phpunit/phpunit": "^8.5 || ^9.0|| ^10.0", "orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0|| ^8.0", "squizlabs/php_codesniffer": "^3.6 || ^3.7", "mockery/mockery": "^1.4" },
vendor/renatomarinho folder remove this package first and run command
composer update
may be this will help
i try this solution but problem still existing
Find any solution?
Find any solution? no
Hi @madushancs , @ali635 I had the same problem, I use laravel 10.x and I had to install the package using "dev-master" as the branch, here is how I did it: It's the same configuration process, you just change the project branch
php composer require renatomarinho/laravel-page-speed dev-master
proofs that it worked ! :
Normal site/aplication without using laravel-page-speed:
Source code of my site/aplication in laravel 10.x using laravel-page-speed :
Here is my metrics in lighthouse console tool:
Don't ask me how I know this, it was a lot of time researching on forums, debating about it, and a lot of debugging, even today I don't know how I discovered it haha
So if this helped you in any way, I humbly ask you to close the issue and tag Renato (project developer) so he can see this and put it in the readme or even fix this...... bug? , in short, so that we can help more people who need this package. hugs
Hi @madushancs , @ali635 I had the same problem, I use laravel 10.x and I had to install the package using "dev-master" as the branch, here is how I did it: It's the same configuration process, you just change the project branch
php composer require renatomarinho/laravel-page-speed dev-master
proofs that it worked ! :
Normal site/aplication without using laravel-page-speed:
Source code of my site/aplication in laravel 10.x using laravel-page-speed :
Here is my metrics in lighthouse console tool:
Don't ask me how I know this, it was a lot of time researching on forums, debating about it, and a lot of debugging, even today I don't know how I discovered it haha
So if this helped you in any way, I humbly ask you to close the issue and tag Renato (project developer) so he can see this and put it in the readme or even fix this...... bug? , in short, so that we can help more people who need this package. hugs
good
I use laravel 10.x and I had to install the package using "dev-master" as the branch, here is how I did it: It's the same configuration process, you just change the project branch
php composer require renatomarinho/laravel-page-speed dev-master
@renatomarinho, I can confirm that dev-master
works correctly on Laravel 10,
can we get a version bump with these changes so we don't have to rely on referencing a non-static master branch?
This will also stop the duplicate issues and PRs from flowing in.
Linked (duplicate) issues:
- https://github.com/renatomarinho/laravel-page-speed/issues/178
- https://github.com/renatomarinho/laravel-page-speed/issues/171
- https://github.com/renatomarinho/laravel-page-speed/issues/182
Linked (duplicate) PRs:
- https://github.com/renatomarinho/laravel-page-speed/pull/175
- https://github.com/renatomarinho/laravel-page-speed/pull/176
- https://github.com/renatomarinho/laravel-page-speed/pull/177
- https://github.com/renatomarinho/laravel-page-speed/pull/183
- https://github.com/renatomarinho/laravel-page-speed/pull/185