Posted in php
Posts Tagged ‘feature’
The latest Laravel 5.7 release, 5.7.12, is here with new additions, changes, and bugfixes: First, the CacheManager class has a new forgetDriver() method that allows you to drop a connection already opened by the cache manager. This feature allows you to force a connection to reconnect or you change config options and want to create the connection again.
The Laravel team shipped Laravel 5.7.10 yesterday with a handful of new features, fixes, and changes: First up, is the ability to load relationship counts on an Eloquent collection. Before this feature, you could only load relationships, but now you can call loadCount() to get counts for all relations.
I think most of us that have worked with Laravel for a while are very familiar with the package installation process: add the package via composer, register the service provider, publish the config file, update the environment file, hopefully you remember to update .env.example, and after all of that you hope that you didnt miss a step. This often involved copying and pasting from a README and bouncing back and forth between your editor and a browser.
Laravel 5.7.7 is now released and includes both bug fixes and thanks to Derek MacDonald a big improvement to Mail Localization. With the release of Laravel 5.7 the Illuminate\Notifications\Notification class started offering a locale method to set the desired language.
A common feature request from clients is the ability to export data to Excel, so they can create their own reports and a myriad of other things. Maatwebsite, the creators of Laravel Excel, recently launched a new Nova package named Laravel Nova Excel for just this purpose.
Laravel Enum is a package by Ben Sampson that adds support for creating enums in PHP and includes a generator for Laravel. Heres an example of what an Enum class looks like using this package: Check out the readme for a list of methods and other examples of how to use this package.
A useful feature that shipped in Laravel 5.5 is fallback routing. You can learn about fallback routing in Better 404 responses using Laravel +5.5 by Mohamed Said (the author of the feature) to get the full picture of why its useful and how to use fallback routes.
Two undocumented (before today anyhow) features were recently added to the Laravel 5.6 documentation, and they are both fantastic! First, factory callbacks allow you to perform additional tasks after making or creating a model: Thanks to @driesvints for documenting this handy new feature pic.twitter.com/UZ01NxR6yz Taylor Otwell ????????
A brand-new release of the GitHub Desktop app just shipped yesterday that will help you more easily sync up your changes with coworkers and teammates. The headline release feature is that you can compare your branch to another branch in the repository.