Open fh32000 opened 1 year ago
@laravel-shift can you help here
I can give it a try - #172
Thanks man it Work fine 👍🏻
just create a folder like vendor-offline/laravel-page-speed and store downloaded package file then change composer file that your need
in my case for laravel 10
1. vendor-offline/laravel-page-speed/composer.json
"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" },
2. laravel composer.json
"repositories": [ { "type": "path", "url": "vendor-offline/laravel-page-speed", "options": {"symlink": true} } ],
"require": { "renatomarinho/laravel-page-speed": "@dev" }
if already vendor/renatomarinho folder this package remove first
and run command
`composer update`
This Trick work for all package
Just needs a tag 🥺
@renatomarinho @joaorobertopb @lucasMesquitaBorges @vinkla any update here package need tag or new release
I have php 8.1.5 and still got same problem :(
any update on Laravel 10 support?
Olá, como eu alteraria meu arquivo composer.json nesse caso (Já conclui a etapa 1):
{ "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "type": "project", "require": { "php": ">=7.0.0", "doctrine/dbal": "^2.6", "fideloper/proxy": "~3.3", "intervention/image": "dev-master", "laravel/framework": "5.5.*", "laravel/tinker": "~1.0", "laravelnews/laravel-twbs4": "^1.1", "renatomarinho/laravel-page-speed": "^1.8", "simplesoftwareio/simple-qrcode": "^2.0", "spatie/laravel-cors": "^1.5" }, "require-dev": { "filp/whoops": "~2.0", "fzaninotto/faker": "~1.4", "mockery/mockery": "~1.0", "phpunit/phpunit": "~6.0", "sven/artisan-view": "^3.2" }, "autoload": { "classmap": [ "database/seeds", "database/factories" ], "psr-4": { "App\": "app/" } }, "autoload-dev": { "psr-4": { "Tests\": "tests/" } }, "extra": { "laravel": { "dont-discover": [ ] } }, "scripts": { "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate" ], "post-autoload-dump": [ "Illuminate\Foundation\ComposerScripts::postAutoloadDump", "@php artisan package:discover" ] }, "config": { "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true } }
Estou tentando resolver o seguinte erro: Problem 1
I'm trying to use this package in my Laravel 10 project, but I'm encountering an error related to compatibility. I believe there is a conflict between the requirements of package and Laravel 10. Can you please help me resolve this issue?