Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add support of Laravel 9 #14

Open
n-bajenov opened this issue Feb 18, 2022 · 4 comments
Open

Please add support of Laravel 9 #14

n-bajenov opened this issue Feb 18, 2022 · 4 comments

Comments

@n-bajenov
Copy link

No description provided.

@psjavi
Copy link

psjavi commented Feb 19, 2022

I'm also trying to update my laravel 8 project to 9. I'll like to continue using your modals.

Thanks in adavance.

@psjavi
Copy link

psjavi commented Feb 19, 2022

For the moment I've done a little trick, I've moved the code from vendor as an internal package in my project following this guide: https://wisdmlabs.com/blog/create-package-laravel/

I've added in my composer.json the following:

"autoload": { "psr-4": { "App\\": "app/", "Bastinald\\LaravelLivewireModals\\": "packages/bastinald/laravel-livewire-modals/src/" },

Then, I've modified config/app.php and I've added into the providers:

'providers' => [ Bastinald\LaravelLivewireModals\Providers\LaravelLivewireModalsProvider::class

Finally, I've changed the composer.json of bastinald/laravel-livewire-modals and I've put "laravel/framework": "^9.0" and I've updated my composer.json.

@psjavi
Copy link

psjavi commented Apr 18, 2022

Hi, when are you going to release the new version with laravel 9 support?

@rik43
Copy link

rik43 commented Jun 22, 2023

I found several forks of this repository with corrected compatibility.
simply remove bastinald/laravel-livewire-modals
and add, for example (this is not mine)
composer require abovesky/laravel-livewire-modals
There is no need to change anything else.

Also, if you have time to rewrite the code, it makes sense to consider newer and more functional components, for example. https://github.com/wire-elements/modal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants