Laravel IDEA 10 automatically completes database and field entries
Version 10 of the PhpStorm plug-in supports Inertia.js and Laravel Facades. The intelligent database completion optimizes the development process.
(Image: Stokkete/Shutterstock.com)
With the release of Laravel IDEA version 10, the plug-in for the JetBrains development environment PhpStorm brings significant innovations that are intended to make working with the Laravel framework easier. The most important enhancements include the intelligent completion of database tables and fields, extended support for the JavaScript framework Inertia.js and the native integration of the static interfaces Laravel Facades.
Completion of database tables and fields
Intelligent database table and field completion allows developers to work more effectively with Laravel's query builder by automatically suggesting tables and fields to be used in migration and validation rules.
(Image:Â laravel-news.com)
This feature can help minimize constant switching between database schema and code. Automatic code generation also supports the creation of pivot tables and enums.
Videos by heise
Support for Inertia.js and Laravel Facades
Laravel IDEA 10 also offers extended support for Inertia.js, a JavaScript framework that enables developers to create single-page apps (SPAs) with existing server-side frameworks such as Laravel. The support is intended to simplify the integration of Inertia pages into Laravel projects. Developers can create Inertia pages directly from an inspection and use tools to manage page paths.
This is complemented by native support for Laravel Facades, which can now be used without additional helper code. Laravel Facades provide a static interface to classes in the Laravel service container. They allow developers to call the methods of these classes statically, while the instantiation and management of the objects takes place dynamically in the background. Facades encapsulate access to the service container and provide an API without the need for direct dependency injection.
More information on Laravel IDEA Version 10 can be found in the article on laravel-news.com.
(mdo)