binshops / laravel-blog

Laravel Blog Package/ Laravel CMS. Easiest way to add a blogging system to your Laravel website. Laravel Blog.
https://www.binshops.com
MIT License
433 stars 135 forks source link

Compatibility with Laravel 11 and PHP 8.2 #122

Open Arturkwa opened 2 months ago

Arturkwa commented 2 months ago

I hope you're doing well. I'm currently upgrading my project to Laravel 11 with PHP 8.2 and I'm using the binshops/laravel-blog package. However, I'm encountering compatibility issues during the installation.

Could you please let me know if there is an upcoming release that will be fully compatible with Laravel 11 and PHP 8.2? If so, when can we expect it to be available?

Thank you for your help and for maintaining such a useful package.

Best regards,

Artur

rabol commented 1 month ago

Just got this when isstalling into an existing project

 Problem 1
    - binshops/laravel-blog[v8.0.8, ..., v8.1.3, v9.0.1, ..., v9.2.7] require cviebrock/eloquent-sluggable ~8.0|~7.0|~6.0|~4.8|~4.7|~4.6|~4.5 -> satisfiable by cviebrock/eloquent-sluggable[4.5.0, ..., 4.8.1, 6.0.0, ..., 6.0.4, 7.0.0, 7.0.1, 7.0.2, 8.0.0, ..., 8.0.8].
    - binshops/laravel-blog[v9.2.8, ..., v9.3.1] require cviebrock/eloquent-sluggable ^9.0|~8.0|~7.0|~6.0|~4.8|~4.7|~4.6|~4.5 -> satisfiable by cviebrock/eloquent-sluggable[4.5.0, ..., 4.8.1, 6.0.0, ..., 6.0.4, 7.0.0, 7.0.1, 7.0.2, 8.0.0, ..., 8.0.8, 9.0.0].
    - binshops/laravel-blog[v8.1.4, ..., v8.2.0, v9.3.2, ..., v9.3.6] require cviebrock/eloquent-sluggable ^10.0|^9.0|~8.0|~7.0|~6.0|~4.8|~4.7|~4.6|~4.5 -> satisfiable by cviebrock/eloquent-sluggable[4.5.0, ..., 4.8.1, 6.0.0, ..., 6.0.4, 7.0.0, 7.0.1, 7.0.2, 8.0.0, ..., 8.0.8, 9.0.0, 10.0.0].
    - binshops/laravel-blog v7.3.2 requires laravel/framework ^7.0|^6.0 -> found laravel/framework[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but it conflicts with your root composer.json require (^11.9).
    - cviebrock/eloquent-sluggable[4.5.0, ..., 4.7.1] require php ^7.0 -> your php version (8.3.12) does not satisfy that requirement.
    - cviebrock/eloquent-sluggable[4.8.0, ..., 4.8.1] require php ^7.1 -> your php version (8.3.12) does not satisfy that requirement.
    - cviebrock/eloquent-sluggable[6.0.0, ..., 6.0.3] require php ^7.2 -> your php version (8.3.12) does not satisfy that requirement.
    - cviebrock/eloquent-sluggable 6.0.4 requires illuminate/config ^6.0 -> found illuminate/config[v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
    - cviebrock/eloquent-sluggable[7.0.0, ..., 7.0.1] require php ^7.2.5 -> your php version (8.3.12) does not satisfy that requirement.
    - cviebrock/eloquent-sluggable 7.0.2 requires illuminate/config ^7.0 -> found illuminate/config[v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
    - cviebrock/eloquent-sluggable[8.0.0, ..., 8.0.1] require php ^7.3 -> your php version (8.3.12) does not satisfy that requirement.
    - cviebrock/eloquent-sluggable[8.0.2, ..., 8.0.8] require illuminate/config ^8.0 -> found illuminate/config[v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - cviebrock/eloquent-sluggable 9.0.0 requires illuminate/config ^9.0 -> found illuminate/config[v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
    - cviebrock/eloquent-sluggable 10.0.0 requires illuminate/config ^10.0 -> found illuminate/config[v10.0.0, ..., v10.48.22] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires binshops/laravel-blog * -> satisfiable by binshops/laravel-blog[v7.3.2, v8.0.8, ..., v8.2.0, v9.0.1, ..., v9.3.6].
elminson commented 1 month ago

This PR will fix the issue https://github.com/binshops/laravel-blog/pull/123

elminson commented 1 month ago

If you dont wanna wait until they merge the PR you can add this to your composer require

"binshops/laravel-blog": "v1.0."

And this at the end of your composer.json file

"repositories": [
        {
            "url": "https://github.com/elminson/laravel-blog.git",
            "type": "git"
        }
    ]