06.10.2016 Views

laravel-5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Release Notes 17<br />

Laravel Elixir<br />

Laravel Elixir, by Jeffrey Way, provides a fluent, expressive interface to compiling and concatenating<br />

your assets. If you’ve ever been intimidated by learning Grunt or Gulp, fear no more. Elixir makes it<br />

a cinch to get started using Gulp to compile your Less, Sass, and CoffeeScript. It can even run your<br />

tests for you!<br />

For more information on Elixir, check out the full documentation.<br />

Laravel Socialite<br />

Laravel Socialite is an optional, Laravel 5.0+ compatible package that provides totally painless<br />

authentication with OAuth providers. Currently, Socialite supports Facebook, Twitter, Google, and<br />

GitHub. Here’s what it looks like:<br />

1 public function redirectForAuth()<br />

2 {<br />

3 return Socialize::with('twitter')->redirect();<br />

4 }<br />

5<br />

6 public function getUserFromProvider()<br />

7 {<br />

8 $user = Socialize::with('twitter')->user();<br />

9 }<br />

No more spending hours writing OAuth authentication flows. Get started in minutes! The full<br />

documentation has all the details.<br />

Flysystem Integration<br />

Laravel now includes the powerful Flysystem⁶ filesystem abstraction library, providing pain free<br />

integration with local, Amazon S3, and Rackspace cloud storage - all with one, unified and elegant<br />

API! Storing a file in Amazon S3 is now as simple as:<br />

1 Storage::put('file.txt', 'contents');<br />

For more information on the Laravel Flysystem integration, consult the full documentation.<br />

⁶https://github.com/thephpleague/flysystem

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!