{"action":"opened","issue":{"url":"https://api.github.com/repos/spatie/laravel-backup/issues/569","repository_url":"https://api.github.com/repos/spatie/laravel-backup","labels_url":"https://api.github.com/repos/spatie/laravel-backup/issues/569/labels{/name}","comments_url":"https://api.github.com/repos/spatie/laravel-backup/issues/569/comments","events_url":"https://api.github.com/repos/spatie/laravel-backup/issues/569/events","html_url":"https://github.com/spatie/laravel-backup/issues/569","id":273689313,"number":569,"title":"Class 'Spatie\\Backup\\BackupServiceProvider' not found","user":{"login":"lytesout2376","id":22013976,"avatar_url":"https://avatars1.githubusercontent.com/u/22013976?v=4","gravatar_id":"","url":"https://api.github.com/users/lytesout2376","html_url":"https://github.com/lytesout2376","followers_url":"https://api.github.com/users/lytesout2376/followers","following_url":"https://api.github.com/users/lytesout2376/following{/other_user}","gists_url":"https://api.github.com/users/lytesout2376/gists{/gist_id}","starred_url":"https://api.github.com/users/lytesout2376/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lytesout2376/subscriptions","organizations_url":"https://api.github.com/users/lytesout2376/orgs","repos_url":"https://api.github.com/users/lytesout2376/repos","events_url":"https://api.github.com/users/lytesout2376/events{/privacy}","received_events_url":"https://api.github.com/users/lytesout2376/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-14T07:11:46Z","updated_at":"2017-11-14T07:11:46Z","closed_at":null,"author_association":"NONE","body":"Hello, I'm getting this error:\r\n\r\n> Symfony\\Component\\Debug\\Exception\\FatalThrowableError: Class 'Spatie\\Backup\\BackupServiceProvider' not found in /home/forge/myapp/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:208 Stack trace: #0 /home/forge/myapp/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(144): Illuminate\\Foundation\\ProviderRepository->createProvider('Spatie\\\\Backup\\\\B...') #1 /home/forge/myapp/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(61): Illuminate\\Foundation\\ProviderRepository->compileManifest(Array) #2 /home/forge/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(549): Illuminate\\Foundation\\ProviderRepository->load(Array) #3 /home/forge/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders() #4 /home/forge/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(208): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap(Object(Illuminate\\Foundation\\Application)) #5 /home/forge/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(267): Illuminate\\Foundation\\Application->bootstrapWith(Array) #6 /home/forge/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(114): Illuminate\\Foundation\\Console\\Kernel->bootstrap() #7 /home/forge/myapp/artisan(35): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #8 {main} [] []\r\n\r\n\r\nlarval-backup.php:\r\n\r\n`<?php\r\n\r\nreturn [\r\n\r\n    'backup' => [\r\n\r\n        /*\r\n         * The name of this application. You can use this name to monitor\r\n         * the backups.\r\n         */\r\n        'name' => env('APP_URL'),\r\n\r\n        'source' => [\r\n\r\n            'files' => [\r\n\r\n                /*\r\n                 * The list of directories that should be part of the backup. You can\r\n                 * specify individual files as well.\r\n                 */\r\n                'include' => [\r\n                    base_path('storage'),\r\n                ],\r\n\r\n                /*\r\n                 * These directories will be excluded from the backup.\r\n                 * You can specify individual files as well.\r\n                 */\r\n                'exclude' => [\r\n                    base_path('vendor'),\r\n                    base_path('node_modules'),\r\n                    storage_path(),\r\n                ],\r\n\r\n                /*\r\n                 * Determines if symlinks should be followed.\r\n                 */\r\n                'followLinks' => false,\r\n            ],\r\n\r\n            /*\r\n             * The names of the connections to the databases that should be part of the backup.\r\n             * Currently only MySQL and PostgreSQL databases are supported.\r\n             */\r\n            'databases' => [\r\n                'mysql',\r\n            ],\r\n        ],\r\n\r\n        'destination' => [\r\n\r\n            /*\r\n             * The disk names on which the backups will be stored.\r\n             */\r\n            'disks' => [\r\n                'local',\r\n            ],\r\n        ],\r\n    ],\r\n\r\n    'cleanup' => [\r\n        /*\r\n         * The strategy that will be used to cleanup old backups.\r\n         * The youngest backup will never be deleted.\r\n         */\r\n        'strategy' => \\Spatie\\Backup\\Tasks\\Cleanup\\Strategies\\DefaultStrategy::class,\r\n\r\n        'defaultStrategy' => [\r\n\r\n            /*\r\n             * The number of days for which all backups must be kept.\r\n             */\r\n            'keepAllBackupsForDays' => 7,\r\n\r\n            /*\r\n             * The number of days for which all daily backups must be kept.\r\n             */\r\n            'keepDailyBackupsForDays' => 16,\r\n\r\n            /*\r\n             * The number of weeks for which all one weekly backup must be kept.\r\n             */\r\n            'keepWeeklyBackupsForWeeks' => 8,\r\n\r\n            /*\r\n             * The number of months for which one monthly backup must be kept.\r\n             */\r\n            'keepMonthlyBackupsForMonths' => 4,\r\n\r\n            /*\r\n             * The number of years for which one yearly backup must be kept.\r\n             */\r\n            'keepYearlyBackupsForYears' => 2,\r\n\r\n            /*\r\n             * After cleaning up backups, remove the oldest backup until\r\n             * this number of megabytes has been reached.\r\n             */\r\n            'deleteOldestBackupsWhenUsingMoreMegabytesThan' => 5000,\r\n        ],\r\n    ],\r\n\r\n    /*\r\n     *  In this array you can specify which backups should be monitored.\r\n     *  If a backup does not meet the specified requirements, the\r\n     *  UnHealthyBackupWasFound event will be fired.\r\n     */\r\n    'monitorBackups' => [\r\n        [\r\n            'name' => env('APP_URL'),\r\n            'disks' => ['local'],\r\n            'newestBackupsShouldNotBeOlderThanDays' => 1,\r\n            'storageUsedMayNotBeHigherThanMegabytes' => 5000,\r\n        ],\r\n\r\n        /*\r\n        [\r\n            'name' => 'name of the second app',\r\n            'disks' => ['local', 's3'],\r\n            'newestBackupsShouldNotBeOlderThanDays' => 1,\r\n            'storageUsedMayNotBeHigherThanMegabytes' => 5000,\r\n        ],\r\n        */\r\n    ],\r\n\r\n    'notifications' => [\r\n\r\n        /*\r\n         * This class will be used to send all notifications.\r\n         */\r\n        'handler' => Spatie\\Backup\\Notifications\\Notifier::class,\r\n\r\n        /*\r\n         * Here you can specify the ways you want to be notified when certain\r\n         * events take place. Possible values are \"log\", \"mail\", \"slack\",\r\n         * \"pushover\", and \"telegram\".\r\n         *\r\n         * Slack requires the installation of the maknz/slack package.\r\n         * Telegram requires the installation of the irazasyed/telegram-bot-sdk package.\r\n         */\r\n        'events' => [\r\n            'whenBackupWasSuccessful'     => ['log'],\r\n            'whenCleanupWasSuccessful'    => ['log'],\r\n            'whenHealthyBackupWasFound'   => ['log'],\r\n            'whenBackupHasFailed'         => ['log', 'mail'],\r\n            'whenCleanupHasFailed'        => ['log', 'mail'],\r\n            'whenUnhealthyBackupWasFound' => ['log', 'mail'],\r\n        ],\r\n\r\n        /*\r\n         * Here you can specify how emails should be sent.\r\n         */\r\n        'mail' => [\r\n            'from' => 'your@email.com',\r\n            'to' => 'your@email.com',\r\n        ],\r\n\r\n        /*\r\n         * Here you can specify how messages should be sent to Slack.\r\n         */\r\n        'slack' => [\r\n            'channel' => '#backups',\r\n            'username' => 'Backup bot',\r\n            'icon' => ':robot:',\r\n        ],\r\n\r\n        /*\r\n         * Here you can specify how messages should be sent to Pushover.\r\n         */\r\n        'pushover' => [\r\n            'token' => env('PUSHOVER_APP_TOKEN'),\r\n            'user' => env('PUSHOVER_USER_KEY'),\r\n            'sounds' => [\r\n                'success' => env('PUSHOVER_SOUND_SUCCESS', 'pushover'),\r\n                'error' => env('PUSHOVER_SOUND_ERROR', 'siren'),\r\n            ],\r\n        ],\r\n\r\n        /*\r\n         * Here you can specify how messages should be sent to Telegram Bot API.\r\n         */\r\n        'telegram' => [\r\n            'bot_token' => env('TELEGRAM_BOT_TOKEN'),\r\n            'chat_id' => env('TELEGRAM_CHAT_ID'),\r\n            'async_requests' => env('TELEGRAM_ASYNC_REQUESTS', false),\r\n            'disable_web_page_preview' => env('TELEGRAM_DISABLE_WEB_PAGE_PREVIEW', true),\r\n        ],\r\n    ],\r\n];\r\n`\r\n\r\nRunning Laravel 5.4.24 and Version 3 of spatie/laravel-backup (I tried running Version 4, but it wouldn't let me with Laravel 5.4)\r\n\r\nAny help would be appreciated."}}
{"actor":{"display_login":"lytesout2376"}}