thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.72k stars 2.67k forks source link

Its not Laravel 10 compatible #5740

Open JonathanVorich opened 1 year ago

JonathanVorich commented 1 year ago

Laravel version

10

PHP version

8.2

Voyager version

1.6

Description of problem

I really like to use the tcg/voyager package. But its not compatible with Laravel 10. Can you please release a version for Laravel 10?

If i try to install in my new Project it returns the following error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires tcg/voyager ^1.6 -> satisfiable by tcg/voyager[v1.6.0].
    - tcg/voyager v1.6.0 requires illuminate/support ~8.0|~9.0 -> found illuminate/support[v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.4] but these were not loaded, likely because it conflicts with another require.

Proposed solution

Update the requirements from voyager admin

Alternatives considered

No response

Additional context

No response

ejaazrkhan commented 1 year ago

image Same issue :cry:

Kleindberg commented 1 year ago

image

al0x99 commented 1 year ago

https://voyager-docs.devdojo.com/getting-started/prerequisites

as you can see there's no compability. you could have check before

414112333 commented 1 year ago

加油.给作者一点时间.

obinnaelviso commented 1 year ago

Please we need support for laravel 10 asap. I'm building my new app and I'm making use of laravel 10

Kleindberg commented 1 year ago

I hope it will be fixed in new versions :)

JonathanVorich commented 1 year ago

https://voyager-docs.devdojo.com/getting-started/prerequisites

as you can see there's no compability. you could have check before

Yeah but in the documentation it says:

image

mAlkhatieb commented 1 year ago

same here

ismaTsmk commented 1 year ago

It's normal, im french webmaster and i use voyager since 2 yeard. please waiting moment, all years update is comming juste later . Sorry my englis is bad, have a nice night

BrayanAngaritaR commented 1 year ago

I understand that maximizing compatibility with Laravel 10 is hard work, but any news?... Will it be available or do we work with version 9.x of Laravel for now? Thank you so much.

AmrAlfoly commented 1 year ago

hope they fix this issue very soon

JuanGonSal commented 1 year ago

Try "minimum-stability": "dev" in composer.json

jf-m commented 1 year ago

It's WIP.

There's a 1.6-l10 branch dedicated to this. Hopefully PR #5753 should solve the issue and will be merged soon.

ghost commented 1 year ago

Please support Laravel 10 ASAP, there is a PR by @jf-m.

Thanks in advance

@emptynick

hazbu commented 1 year ago

try this, worked for me on laravel 10 composer require tcg/voyager dev-1.6-l10

tracy-tran-93 commented 1 year ago

hi @hasbullah-mughniy, Thank you! Does this version work well? I am afraid it is only a developing version

tauseedzaman commented 1 year ago

Using the development version should be avoided due to potential instability, compatibility issues, limited documentation and support, and potential security and reliability concerns.

Tahernejad commented 1 year ago

try this, worked for me on laravel 10 composer require tcg/voyager dev-1.6-l10

Hi, It's installed successfully But BREAD menu not working:

ERROR: Doctrine\DBAL\Schema\Table::__construct(): Argument #5 ($fkConstraints) must be of type array, bool given, called in /var/www/skynode/vendor/tcg/voyager/src/Database/Schema/SchemaManager.php on line 65 {"userId":1,"exception":"[object] (TypeError(code: 0): Doctrine\\DBAL\\Schema\\Table::__construct(): Argument #5 ($fkConstraints) must be of type array, bool given, called in /var/www/skynode/vendor/tcg/voyager/src/Database/Schema/SchemaManager.php on line 65 at /var/www/skynode/vendor/doctrine/dbal/src/Schema/Table.php:62)

jf-m commented 1 year ago

try this, worked for me on laravel 10 composer require tcg/voyager dev-1.6-l10

Hi, It's installed successfully But BREAD menu not working:

ERROR: Doctrine\DBAL\Schema\Table::__construct(): Argument #5 ($fkConstraints) must be of type array, bool given, called in /var/www/skynode/vendor/tcg/voyager/src/Database/Schema/SchemaManager.php on line 65 {"userId":1,"exception":"[object] (TypeError(code: 0): Doctrine\\DBAL\\Schema\\Table::__construct(): Argument #5 ($fkConstraints) must be of type array, bool given, called in /var/www/skynode/vendor/tcg/voyager/src/Database/Schema/SchemaManager.php on line 65 at /var/www/skynode/vendor/doctrine/dbal/src/Schema/Table.php:62)

PR #5753 is solving this issue, you can either wait for it to be merged, or use my branch https://github.com/jf-m/voyager/tree/1.6-l10

Tahernejad commented 1 year ago

try this, worked for me on laravel 10 composer require tcg/voyager dev-1.6-l10

Hi, It's installed successfully But BREAD menu not working: ERROR: Doctrine\DBAL\Schema\Table::__construct(): Argument #5 ($fkConstraints) must be of type array, bool given, called in /var/www/skynode/vendor/tcg/voyager/src/Database/Schema/SchemaManager.php on line 65 {"userId":1,"exception":"[object] (TypeError(code: 0): Doctrine\\DBAL\\Schema\\Table::__construct(): Argument #5 ($fkConstraints) must be of type array, bool given, called in /var/www/skynode/vendor/tcg/voyager/src/Database/Schema/SchemaManager.php on line 65 at /var/www/skynode/vendor/doctrine/dbal/src/Schema/Table.php:62)

PR #5753 is solving this issue, you can either wait for it to be merged, or use my branch https://github.com/jf-m/voyager/tree/1.6-l10

Thank you. I used your branch, problem solved

achowdhury39 commented 1 year ago

hi @hasbullah-mughniy, Thank you! Does this version work well? I am afraid it is only a developing version

Thanks I'ts worked

Engaymann commented 11 months ago

Doctrine\DBAL\Schema\Table::_addUniqueConstraint(): Argument #1 ($constraint) must be of type Doctrine\DBAL Schema UniqueConstraint, Doctrine\DBAL\Schema\ForeignKeyConstraint given, called in... this error show when make breads in table has foreignkey

filanodev commented 10 months ago

try this, worked for me on laravel 10 composer require tcg/voyager dev-1.6-l10

Hi, It's installed successfully But BREAD menu not working: ERROR: Doctrine\DBAL\Schema\Table::__construct(): Argument #5 ($fkConstraints) must be of type array, bool given, called in /var/www/skynode/vendor/tcg/voyager/src/Database/Schema/SchemaManager.php on line 65 {"userId":1,"exception":"[object] (TypeError(code: 0): Doctrine\\DBAL\\Schema\\Table::__construct(): Argument #5 ($fkConstraints) must be of type array, bool given, called in /var/www/skynode/vendor/tcg/voyager/src/Database/Schema/SchemaManager.php on line 65 at /var/www/skynode/vendor/doctrine/dbal/src/Schema/Table.php:62)

PR #5753 is solving this issue, you can either wait for it to be merged, or use my branch https://github.com/jf-m/voyager/tree/1.6-l10

Exception: The "charset" column option is not supported.

elzeroabdo commented 7 months ago

Call to undefined method App\Models\Post::getTranslationsOf() how to solve that

hazbu commented 6 months ago

Now voyager 1.7 has released, its stable version and support laravel 10