wie kann ich intergrate und initialisieren, Dateisystem von laravel 5?

folgte ich dieser Schritte https://github.com/GrahamCampbell/Laravel-Flysystem

composer update "graham-campbell/flysystem": "~1.0" FERTIG

php artisan Verkäufer:veröffentlichen Sie GETAN

habe ich diesen code

public function store()
    {
      $file = Request::file('images');
      $extension = $file->getClientOriginalExtension();
        Storage::disk('local')->put($file->getFilename().'.'.$extension,                     File::get($file));
      $entry = new Fileentry();
      $entry->mime = $file->getClientMimeType();
      $entry->original_filename = $file->getClientOriginalName();
      $entry->filename = $file->getFilename().'.'.$extension;
   }

meine form

@extends('app')

@section('content')

<h1>Create New Timelinemeta</h1>
<form method="POST" action="{{ url('timelinemeta/store') }}" enctype="multipart/form-data">
  <input type="hidden" name="_token" value="{{ csrf_token() }}">
  <div class="form-group">
    <label for="">Images</label>
    <input type="file" class="form-control" name="images">
  </div>
  <button type="submit" class="btn btn-default">Submit</button>
</form>
@endsection

habe einen Fehler:

Class 'App\Http\Controllers\Storage' not found
InformationsquelleAutor | 2015-03-01
Schreibe einen Kommentar