Replies: 1 comment
-
This issue was to do with the GD module not being installed on my local PHP dev environment which forced only v1.1 to be installed. I wish composer was more verbose and mention that in the first place. Would of saved me a bunch of time on an easy mistake. :D |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have a strange issue. I am following the example here: https://docs.laravel-excel.com/3.1/getting-started/installation.html
When composer finishes it's thing it doesn't give any major errors but ends with.
I then go and try
php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider" --tag=config
Which gives
INFO No publishable resources for tag [config].
What is happening here? Any help appreciated.
Ignoring those errors just yields 'Interface "Maatwebsite\Excel\Concerns\ToModel" not found' when I try and run my import code.
I have also tried manually adding
and
But that then completely breaks my entire app with these errors
Method Illuminate\Foundation\Application::share does not exist.
I am using Laravel 10.24.0 and PHP 8.2.4
Beta Was this translation helpful? Give feedback.
All reactions