mirror of
https://github.com/filegator/filegator.git
synced 2025-08-14 12:14:10 +02:00
Website generation with Couscous
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
<section class="col-sm-offset-3 col-lg-offset-2 col-sm-9 col-lg-10">
|
||||
<h2 id="adapters">Adapters</h2>
|
||||
<p>Different storage adapters are provided through the awesome <a href="https://github.com/thephpleague/flysystem">Flysystem</a> library.</p>
|
||||
<p>You can use local filesystem (default), FTP, S3, Dropbox and many others.</p>
|
||||
<p>You can use local filesystem (default), FTP, Amazon S3, DigitalOcean Spaces, Dropbox and many others.</p>
|
||||
<p>Please check the Flysystem <a href="https://github.com/thephpleague/flysystem">docs</a> for the exact setup required for each adapter.</p>
|
||||
<h2 id="default-local-disk-adapter">Default Local Disk Adapter</h2>
|
||||
<p>With default adapter you just need to configure where your <code>repository</code> folder is. This folder will serve as a root for everything else.</p>
|
||||
@@ -224,6 +224,31 @@
|
||||
],
|
||||
],
|
||||
</code></pre>
|
||||
<h2 id="digitalocean-spaces">DigitalOcean Spaces</h2>
|
||||
<p>You must require additional library <code>composer require league/flysystem-aws-s3-v3</code></p>
|
||||
<p>The DigitalOcean Spaces API are compatible with those of S3.</p>
|
||||
<p>See official <a href="https://flysystem.thephpleague.com/docs/adapter/digitalocean-spaces/">documentation</a></p>
|
||||
<pre><code> 'Filegator\Services\Storage\Filesystem' => [
|
||||
'handler' => '\Filegator\Services\Storage\Filesystem',
|
||||
'config' => [
|
||||
'separator' => '/',
|
||||
'config' => [],
|
||||
'adapter' => function () {
|
||||
$client = new \Aws\S3\S3Client([
|
||||
'credentials' => [
|
||||
'key' => '123456',
|
||||
'secret' => 'secret123456',
|
||||
],
|
||||
'region' => 'us-east-1',
|
||||
'version' => 'latest',
|
||||
'endpoint' => 'https://nyc3.digitaloceanspaces.com',
|
||||
]);
|
||||
|
||||
return new \League\Flysystem\AwsS3v3\AwsS3Adapter($client, 'my-bucket-name');
|
||||
},
|
||||
],
|
||||
],
|
||||
</code></pre>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
@@ -137,7 +137,7 @@
|
||||
<p>File upload supports drag&drop, progress bar, pause and resume. Upload is chunked so you should be able to upload large files regardless of your server's configuration.</p>
|
||||
<h2 id="features-amp-goals">Features & Goals</h2>
|
||||
<ul>
|
||||
<li>Multiple storage adapters (Local, FTP, S3, Dropbox and many others via <a href="https://github.com/thephpleague/flysystem">Flysystem</a>)</li>
|
||||
<li>Multiple storage adapters (Local, FTP, Amazon S3, Dropbox and many others via <a href="https://github.com/thephpleague/flysystem">Flysystem</a>)</li>
|
||||
<li>Multiple auth adapters with roles and permissions (Store users in json file or database)</li>
|
||||
<li>Multiple session adapters (Native File, Pdo, MongoDB, Memcached and others via <a href="https://github.com/symfony/symfony/tree/master/src/Symfony/Component/HttpFoundation/Session/Storage/Handler">Symfony</a>)</li>
|
||||
<li>Single page front-end (built with <a href="https://github.com/vuejs/vue">Vuejs</a>, <a href="https://github.com/jgthms/bulma">Bulma</a> and <a href="https://github.com/buefy/buefy">Buefy</a>)</li>
|
||||
|
Reference in New Issue
Block a user