Skip to main content

Native route localization support

· One min read
Arthur Ydalgo
Maintainer of Laravext

Native route localization support has been added to Laravext. This means that you can now define your routes in multiple languages, and Laravext will automatically handle the localization for you. Add a /lang/*/routes.php file for each language you want to support, and Laravext will automatically load the routes for the available locales.

To start using this, simply enable config('localization.enabled') in your /config/laravext.php file, and make sure to define your routes in the /lang/*/routes.php files that correnspond to the config('languagel.locales'). You can check more details about this in the Localization and in the Configuration sections of this documentation.

Custom route registration method

· One min read
Arthur Ydalgo
Maintainer of Laravext

In this update, we added a new configuration option called route_registration_method. This allows you to specify a custom route registration method for all the automatically generated routes of every single Route::laravext(...) or Route::nexus(...) declaration. For additional details, check the Configuration/Route Registration Method section.

Docs revamped to Docusaurus

· One min read
Arthur Ydalgo
Maintainer of Laravext

Our documentation has been revamped to Docusaurus (previously built with Docsify). This change was made to improve the overall experience of our users and contributors.

Chrome Debug Tool Release

· One min read
Arthur Ydalgo
Maintainer of Laravext

A chrome debug tool was released on August 23, 2024. This tool helps you analyse the laravext data that is sent to the client. Check it out here.