laravel-async-queue icon indicating copy to clipboard operation
laravel-async-queue copied to clipboard

Laravel 5.1

Open narangrishab opened this issue 9 years ago • 1 comments

Hello,

I'm receiving 'Fatal Error: Class 'Barryvdh\Queue\AsyncServiceProvider' not found'

Laravel 5.1 My composer file "require": { "php": ">=5.5.9", "laravel/framework": "5.1.*", "barryvdh/laravel-async-queue": "0.4.x@dev", "laravel/socialite": "2.0" },

App.php Barryvdh\Queue\AsyncServiceProvider::class,

narangrishab avatar Aug 08 '15 17:08 narangrishab

Try

     /*
     * Async Library for queues
     */
    'Barryvdh\Queue\AsyncServiceProvider',

without ::class in app.php. works for me in L 5.1

Also run: composer update php artisan cache:clear php artisan clear-compiled php artisan ide-helper:generate php artisan optimize --force

and if that not helps, check permissions:

find . -type f -exec chmod 644 {} ';'   # make all files       rw-r-r-
find . -type d -exec chmod 755 {} ';'   # make all directories rwxr-xr-x
chmod -R 775 storage                    # handle laravel storage
chmod -R 775 bootstrap/cache            # handle laravel new caching folder

antony-k1208 avatar Aug 11 '15 00:08 antony-k1208