Posts Tagged ‘feature’

Laravel 5.7.12 Released

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.

Posted in php

Continue Reading

Laravel 5.7.10 Released

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.

Posted in php

Continue Reading

Building Package Installers

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.

Posted in php

Continue Reading

Laravel 5.7 Mail Localization Improvements

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.

Posted in php

Continue Reading

Excel Export for Laravel Nova

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.

Posted in php

Continue Reading

Laravel Enum Package

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.

Posted in php

Continue Reading

404 Responses in a Laravel API

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.

Posted in php

Continue Reading

Laravel TestTools Adds Dusk Support

Laravel TestTools is a Google Chrome browser extension by Marcel Pociot that enables you to generate Laravel integration tests while using your application. Now you can use the extension to create Dusk test cases!

Posted in php

Continue Reading

Factory Callbacks and Closure-Based Guards in Laravel

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 ????????

Posted in php

Continue Reading

GitHub Releases Desktop App Version 1.2

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.

Posted in php

Continue Reading