I'm installing uxweb sweet alert for my Laravel project via composer. After downloading the necessary files it failed to install bringing me a message on command prompt. Guys please help me find out what the message means

Here is the screenshot

1 Answers

adilimudassir On

There is somewhere where you wrongly imported Carbon class. the correct namespace for Carbon in laravel is


you can search your codebase and find the error


you can try deleting vendor folder and reinstall packages again