29.07.2016 Views

laravel-5

Create successful ePaper yourself

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

Upgrade Guide 32<br />

CacheManager<br />

If your application code was injecting Illuminate\Cache\CacheManager to get a non-Facade version<br />

of Laravel’s cache, inject Illuminate\Contracts\Cache\Repository instead.<br />

Pagination<br />

Replace any calls to $paginator->links() with $paginator->render().<br />

Replace any calls to $paginator->getFrom() and $paginator->getTo() with $paginator->firstItem()<br />

and $paginator->lastItem() respectively.<br />

Remove the “get” prefix from calls to $paginator->getPerPage(), $paginator->getCurrentPage(),<br />

$paginator->getLastPage() and $paginator->getTotal() (e.g. $paginator->perPage()).<br />

Beanstalk Queuing<br />

Laravel 5.0 now requires "pda/pheanstalk": "∼3.0" instead of "pda/pheanstalk": "∼2.1".<br />

Remote<br />

The Remote component has been deprecated.<br />

Workbench<br />

The Workbench component has been deprecated.<br />

Upgrading To 4.2 From 4.1<br />

PHP 5.4+<br />

Laravel 4.2 requires PHP 5.4.0 or greater.<br />

Encryption Defaults<br />

Add a new cipher option in your app/config/app.php configuration file. The value of this option<br />

should be MCRYPT_RIJNDAEL_256.

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

Saved successfully!

Ooh no, something went wrong!