Skip to content

Commit ca22446

Browse files
author
Shawn McCool
committed
update docs
remove unnecessary configuration file
1 parent a14dc3f commit ca22446

File tree

2 files changed

+3
-25
lines changed

2 files changed

+3
-25
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,9 @@ To install into a Laravel project, first do the composer install then add the fo
6666
'BackupManager\Laravel4\BackupManagerServiceProvider',
6767
```
6868

69-
Then, publish and modify the configuration file to suit your needs.
69+
Copy the `config/storage.php` file to `app/config/packages/backup-manager/laravel-4/config/storage.php` and configure it to suit your needs.
7070

71-
`php artisan config:publish backup-manager/laravel-4 --path=vendor/backup-manager/laravel-4/config`
72-
73-
The Backup Manager will make use of Laravel's database configuration.
71+
The Backup Manager will make use of Laravel's database configuration. But, it won't know about any connections that might be tied to other environments, so it can be best to just list multiple connections in the `config/database.php` file.
7472

7573
**IoC Resolution**
7674

@@ -87,7 +85,7 @@ public function __construct(Manager $manager) {
8785
It can also be resolved manually from the container.
8886

8987
```php
90-
$manager = App::make('BackupManager\Manager');
88+
$manager = App::make(\BackupManager\Manager::class);
9189
```
9290

9391
**Artisan Commands**

config/database.php

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)