title: How to enable mount network disk in elfinder laravel for google drive
body: <p>I have question of elfinder, how to enable 'Mount Network Disk' on elfinder for use google drive in laravel 5.2. Could tell you me, which are steps to follow. </p>
  
  <p>The steps i followed were:</p>
  
  <p>Installation with composer.</p>
  
  <pre><code>composer require barryvdh/laravel-elfinder
  </code></pre>
  
  <p>Add the ServiceProvider to the providers array in app/config/app.php</p>
  
  <pre><code>Barryvdh\Elfinder\ElfinderServiceProvider::class
  </code></pre>
  
  <p>Copy the assets to the public folder, using the following artisan command:</p>
  
  <pre><code>php artisan elfinder:publish
  </code></pre>
  
  <p>Run command.</p>
  
  <pre><code>composer update
  </code></pre>
  
  <p>I used the default configuration, I created the folder 'files' in the public folder. 
  With the command </p>
  
  <pre><code>php artisan vendor:publish --provider='Barryvdh\Elfinder\ElfinderServiceProvider' --tag=config
  </code></pre>
  
  <p>and </p>
  
  <pre><code>php artisan vendor:publish --provider='Barryvdh\Elfinder\ElfinderServiceProvider' --tag=views
  </code></pre>
  
  <p>In the file elfinder.php with the route </p>
  
  <pre><code>'vendor/barryvdh/laravel-elfinder/config/elfinder.php'
  </code></pre>
  
  <p>In the section route use </p>
  
  <pre><code>'route' =&gt; [
      'prefix' =&gt; 'elfinder',
      'middleware' =&gt; null, //Set to null to disable middleware filter
       ]
  </code></pre>
  
  <p>In the file filesystems.php with the route </p>
  
  <pre><code>'/config/filesystems.php'.
  </code></pre>
  
  <p>In the section disk in the option public, add the line </p>
  
  <pre><code>'root' =&gt; base_path().'app/public',
  </code></pre>
  
  <p>after of the line </p>
  
  <pre><code>'driver' =&gt; 'local',
  </code></pre>
  
  <p>Example: </p>
  
  <pre><code>'disks' =&gt; [
  
      'local' =&gt; [
          'driver' =&gt; 'local',
          'root' =&gt; storage_path('app'),
      ],
  
      'public' =&gt; [
          'driver' =&gt; 'local',
          'root' =&gt; base_path().'app/public',
          'root' =&gt; storage_path('app/public'),
          'visibility' =&gt; 'public',
      ],
  
      's3' =&gt; [
          'driver' =&gt; 's3',
          'key' =&gt; 'your-key',
          'secret' =&gt; 'your-secret',
          'region' =&gt; 'your-region',
          'bucket' =&gt; 'your-bucket',
      ],
  
  ],
  </code></pre>
  
  <p>This is how i solved the error that occurs when you use the copy option, open folder, etc.</p>
  
  <pre><code>Error, Unable to connect to backend. HTTP error 0
  </code></pre>
  
  <p>But I do not know, what is needed to use the mount network disk.And
  how to give the folder(example: Reading) </p>
  
  <p>This is link of the project
  <a href="https://github.com/AlonsoCauich/driveOne" rel="nofollow noreferrer">https://github.com/AlonsoCauich/driveOne</a></p>