Skip to content

Instantly share code, notes, and snippets.

@vinicius73
Created March 31, 2015 03:59
Show Gist options
  • Save vinicius73/053f3b1b6db4ce405166 to your computer and use it in GitHub Desktop.
Save vinicius73/053f3b1b6db4ce405166 to your computer and use it in GitHub Desktop.
$image = Input::file('im');
$model = new \Artesaos\Attacher\AttacherModel();
$model->setupFile($image);
$model->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment