Share This
//New Features in Laravel LTS 5.5

New Features in Laravel LTS 5.5

The Laravel community has been eagerly awaiting the release of Laravel 5.5, as Taylor Otwell mentioned on Twitter. This version is anticipated because Laravel 5.5 will be the second LTS version after Laravel 5.1, the first LTS version, which will reach its end of support in July.

LTS stands for “Long Term Support,” meaning that LTS versions will receive two years of bug fixes and three years of security updates. During the support period of an LTS version, Laravel’s team will continue working hard to provide updates for you. After this period, you should upgrade to a newer version.

Current LTS Version:

Latest LTS Version:

 

Changes in 5.5:

  1. Headless Chrome testing: compatible with Laravel Dusk 2.0.0.
  2. BelongsToMany in Eloquent changes the order of parameters, applying pivot tables.
  3. $dispatchesEvents property in Eloquent.
  4. $pivotParent property in Eloquent.
  5. $exists property of model remains true when using soft delete.
  6. Added withCount(‘foo as bar_count’) function with alias support for field names.
  7. Exception content can now be formatted in JSON output.
  8. Request utility functions change behavior for has(), only(). Removed intersect() function.
  9. request($key) function no longer accepts nested keys like ‘foo.bar’; use request()->input($key) instead.
  10. Pass variables to views using dynamic function names view($viewName)->withMyVariable($value), in the view, it will be referred to as $myVariable.
  11. Validator functions are now public instead of protected.
  12. A new routes folder outside the app for defining routes of the application, previously routes were in app/Http/routes.php.

 

Core functions integrated in 5.5:

  1. Middleware group, separated for different use cases.
  2. Responsable interface -> format an object like a Response in the Controller.
  3. Rule Object -> Create validation rules more dynamically using classes.
  4. Casting fields in the Pivot model.
  5. Custom directives for Blade’s if expressions to write shorter.
  6. Dump() or dd() can now be used in between collection operations without interrupting the application, dump() and dd() become functions of the collection.
  7. Automatically inject Provider and Facade declarations when installing a package, as those details are declared in the package’s JSON.
  8. The error debugging interface returns to the intuitive style seen in Laravel 2.
  9. Added two new exception throwing functions throw_if() and throw_unless() to make the code easier to read.
  10. Validate data more easily directly in the Controller and return the validated values immediately.
  11. Improved error screen when debug is off (with minor changes).
  12. Customizable Exception Reports.
  13. Ready-made presets for web apps, compatible with Bootstrap and Vue.js.
  14. The migrate command now includes a refresh option, supporting rollback and rerunning existing migration scripts -> Helping rebuild the DB faster in test environments.
  15. Added support for email templates, compatible with Mailables.
  16. Support for rendering email templates in the browser, compatible with Mailables.
  17. Confirmation prompt when running vendor:publish to check the Providers being used.

Nhựt Tân (Summary)


APPLY NOW






    Benefits

    SALARY & BONUS POLICY

    RiverCrane Vietnam sympathizes staffs' innermost feelings and desires and set up termly salary review policy. Performance evaluation is conducted in June and December and salary change is conducted in January and July every year. Besides, outstanding staffs receive bonus for their achievements periodically (monthly, yearly).

    TRAINING IN JAPAN

    In order to broaden staffs' view about technologies over the world, RiverCrane Vietnam set up policy to send staffs to Japan for study. Moreover, the engineers can develop their career paths in technical or management fields.

    ANNUAL COMPANY TRIP

    Not only bringing chances to the staffs for their challenging, Rivercrane Vietnam also excites them with interesting annual trips. Exciting Gala Dinner with team building games will make the members of Rivercrane connected closer.

    COMPANY'S EVENTS

    Activities such as Team Building, Company Building, Family Building, Summer Holiday, Mid-Autum Festival, etc. will be the moments worthy of remembrance for each individual in the project or the pride when one introduces the company to his or her family, and shares the message "We are One".

    INSURANCE

    Rivercrane Vietnam ensures social insurance, medical insurance and unemployment insurance for staffs. The company commits to support staffs for any procedures regarding these insurances. In addition, other insurance policies are taken into consideration and under review.

    OTHER BENEFITS

    Support budget for activities related to education, entertainment and sports. Support fee for purchasing technical books. Support fee for getting engineering or language certificates. Support fee for joining courses regarding technical management. Other supports following company's policy, etc.

    © 2012 RiverCrane Vietnam. All rights reserved.

    Close