mcamara / laravel-localization

Easy localization for Laravel
MIT License
3.37k stars 515 forks source link

Add support for Laravel 6.1 #659

Closed valetzyzy closed 5 years ago

valetzyzy commented 5 years ago

No support yet. Please add. Getting

Problem 1
    - Conclusion: remove laravel/framework v6.1.0
    - Conclusion: don't install laravel/framework v6.1.0
    - mcamara/laravel-localization 1.4.0 requires laravel/framework ~5.2.0||~5.3.0||~5.4.0||~5.5.0||~5.6.0||~5.7.0||~5.8.0||~6.0.0 -> satisfiable by laravel/framework[5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.x-dev, 5.8.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4].
    - mcamara/laravel-localization 1.4.1 requires laravel/framework ~5.2.0||~5.3.0||~5.4.0||~5.5.0||~5.6.0||~5.7.0||~5.8.0||~6.0.0 -> satisfiable by laravel/framework[5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.x-dev, 5.8.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4].
    - mcamara/laravel-localization 1.4.2 requires laravel/framework ~5.2.0||~5.3.0||~5.4.0||~5.5.0||~5.6.0||~5.7.0||~5.8.0||~6.0.0 -> satisfiable by laravel/framework[5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.x-dev, 5.8.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4].
    - Can only install one of: laravel/framework[5.8.x-dev, v6.1.0].
    - Can only install one of: laravel/framework[v6.0.0, v6.1.0].
    - Can only install one of: laravel/framework[v6.0.1, v6.1.0].
    - Can only install one of: laravel/framework[v6.0.2, v6.1.0].
    - Can only install one of: laravel/framework[v6.0.3, v6.1.0].
    - Can only install one of: laravel/framework[v6.0.4, v6.1.0].
    - Can only install one of: laravel/framework[5.2.x-dev, v6.1.0].
    - Can only install one of: laravel/framework[5.3.x-dev, v6.1.0].
    - Can only install one of: laravel/framework[5.4.x-dev, v6.1.0].
    - Can only install one of: laravel/framework[5.5.x-dev, v6.1.0].
    - Can only install one of: laravel/framework[5.6.x-dev, v6.1.0].
    - Can only install one of: laravel/framework[5.7.x-dev, v6.1.0].
    - Installation request for laravel/framework (locked at v6.1.0, required as ^6.0) -> satisfiable by laravel/framework[v6.1.0].
    - Installation request for mcamara/laravel-localization ^1.4 -> satisfiable by mcamara/laravel-localization[1.4.0, 1.4.1, 1.4.2].

composer.json:

"require": {
        "php": "^7.2",
        "backpack/crud": "4.0.*",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "^6.0",
        "laravel/tinker": "^1.0"
    },
    "require-dev": {
        "backpack/generators": "^2.0",
        "facade/ignition": "^1.4",
        "fzaninotto/faker": "^1.4",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^3.0",
        "phpunit/phpunit": "^8.0"
    },
maherelgamil commented 5 years ago

any updates here ?

ghost commented 5 years ago

+1

Okipa commented 5 years ago

Laravel does now follow semantic versioning from v6.
This line https://github.com/mcamara/laravel-localization/blob/master/composer.json#L16 should be written this way :

"laravel/framework": "~5.2.0||~5.3.0||~5.4.0||~5.5.0||~5.6.0||~5.7.0||~5.8.0||^6.0"
spout commented 5 years ago

@Okipa not follow ?

The Laravel framework (laravel/framework) package now follows the semantic versioning standard. https://laravel.com/docs/6.x/releases#laravel-6

Okipa commented 5 years ago

... I meant now... Sorry for that 😛 (Corrected)

mafftor commented 5 years ago

Please let us install! Fix the requirements for Laravel 6

repat commented 5 years ago

Since Laravel is using SemVer now, please don't hardcode the version like ~6.0.0. The minor versions will be updated much quicker now :-) @mcamara

Like @Okipa said, because of SemVer you'll need to use ^6.0 so we can update minor versions -> https://semver.org

atthakorn commented 5 years ago

Up Vote+1 ... please do support new Laravel version convention with SEMVER, ^6.0

iwasherefirst2 commented 5 years ago

Support added in #658