Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Commit 92d10c1

Browse files
committed
Updated README.md
1 parent 8854e0a commit 92d10c1

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

README.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,8 @@
22

33
[![Latest Version on Packagist][ico-version]][link-packagist]
44
[![Software License][ico-license]](LICENSE.md)
5-
[![Build Status][ico-travis]][link-travis]
6-
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
7-
[![Quality Score][ico-code-quality]][link-code-quality]
85
[![Total Downloads][ico-downloads]][link-downloads]
96

10-
**Note:** Replace ```Pascal Baljet``` ```pascalbaljet``` ```https://www.pascalbaljetmedia.com``` ```[email protected]``` ```pbmedia``` ```laravel-webdav``` ```Laravel 5 WebDAV Filesystem``` with their correct values in [README.md](README.md), [CHANGELOG.md](CHANGELOG.md), [CONTRIBUTING.md](CONTRIBUTING.md), [LICENSE.md](LICENSE.md) and [composer.json](composer.json) files, then delete this line.
11-
12-
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what
13-
PSRs you support to avoid any confusion with users and contributors.
14-
157
## Install
168

179
Via Composer
@@ -22,9 +14,33 @@ $ composer require pbmedia/laravel-webdav
2214

2315
## Usage
2416

17+
Register the service provider in your app.php config file:
18+
19+
``` php
20+
// config/app.php
21+
22+
'providers' => [
23+
...
24+
Pbmedia\FilesystemProviders\WebDAVServiceProvider::class
25+
...
26+
];
27+
```
28+
29+
Create a webdav filesystem disk:
30+
2531
``` php
26-
$skeleton = new League\Skeleton();
27-
echo $skeleton->echoPhrase('Hello, League!');
32+
// config/filesystems.php
33+
34+
'disks' => [
35+
...
36+
'webdav' => [
37+
'driver' => 'webdav',
38+
'baseUri' => 'https://mywebdavstorage.com',
39+
'userName' => 'pascalbaljetmedia',
40+
'password' => 'supersecretpassword,
41+
],
42+
...
43+
];
2844
```
2945

3046
## Change log

0 commit comments

Comments
 (0)