This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Cannot install on laravel 8 #37
Labels
Comments
lahaxearnaud
added
dependencies
Pull requests that update a dependency file
enhancement
labels
Aug 10, 2021
Hello. It will be great to make the support to laravel 7 and 8. Currently I don't have much time to spend on it but if you want to make a pull request I will be very happy to review and merge it. Arnaud |
Hi Arnaud
Thank you for your response.
Will more need changing than simply the version numbers in the composer.json?
I have never actually contributed to a package before so would be keen to understand the process
|
I didn't read the full changelog of laravel 7 and laravel 8. Perhaps the migration is seamless (just a bump in the composer.json) perhaps not. |
Would there be a way for me to try the package without the laravel 6 dependency and then assist with any fixes required? |
@tomking89 Create a local repository for testing / developmentAdd a section like this to your repositories in composer.json: "local": {
"type": "path",
"url": "croptesting/*",
"only": ["lahaxearnaud/laravel-u2f"]
} Create croptesting and clone laravel-u2f into itmkdir croptesting
cd croptesting
git clone https://github.com/lahaxearnaud/laravel-u2f.git modify the composer.jsonReplace all the require the local package/v/w/html composer require lahaxearnaud/laravel-u2f "dev-master" ./composer.json has been updated
Running composer update lahaxearnaud/laravel-u2f
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
- Locking lahaxearnaud/laravel-u2f (dev-master)
- Locking yubico/u2flib-server (1.0.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Downloading yubico/u2flib-server (1.0.2)
- Installing yubico/u2flib-server (1.0.2): Extracting archive
- Installing lahaxearnaud/laravel-u2f (dev-master): Symlinking from croptesting/laravel-u2f
Generating autoload files
. . . see what breaksSee what breaks and submit a patch. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a way of this package being updated to work with laravel 8?
I am currently getting this error when trying to install with composer:
- lahaxearnaud/laravel-u2f[1.6.0, ..., 1.6.2] require laravel/framework ^6.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev] but it conflicts with your root composer.json require (^8.12).
The text was updated successfully, but these errors were encountered: