What to expect in the next generation of Laravel Forge. Read the blog post
Laravel Idea Plugin is Free for PhpStorm

Laravel Idea Plugin is Free for PhpStorm

As an IDE we recommend, we’re very happy that PhpStorm users can now use the Laravel Idea plugin for free.

The Laravel Idea plugin supercharges PhpStorm with versatile framework-aware features designed specifically for Laravel. Instead of working with generic PHP tools, you get an IDE that understands the Laravel ecosystem.

With support for Blade templates, Eloquent models, routes, views, translations, and components, the plugin gives you smart autocompletion, instant navigation, and powerful code generation that matches your project’s conventions. It doesn’t just speed up routine tasks; it makes the entire codebase easier to explore and maintain.

When you combine the plugin with PhpStorm’s built-in tools for debugging, refactoring, and running tests, you get an environment that’s well-suited to the day-to-day needs of Laravel projects.

PhpStorm for Laravel developers

PhpStorm by JetBrains provides a Laravel-aware development environment, and gives you tools like intelligent code completion, refactoring, and debugging so you can work like an experienced Laravel developer instead of just editing text. It includes support for key ecosystem tools such as:

  1. Laravel Pint for code style
  2. Larastan for static analysis
  3. Pest for testing

Supercharge Laravel Idea with Laravel Boost and AI

With PhpStorm and the Laravel Idea plugin covering the framework and tooling, Laravel Boost adds the Laravel framework context directly to the IDE’s AI agents, including Junie by JetBrains. It provides the agents with the tools to query the database, inspect schema, run Artisan commands, and follow your project’s conventions.

PhpStorm’s Laravel integration makes this context more effective by giving AI a clear view of routes, models, Blade templates, and tests. Together, this setup ensures AI-generated code is informed by your application and fits naturally into your Laravel workflow.

Keep reading

General April 4, 2024

Encryption and the In-between

Last year, we introduced a simple but surprisingly useful feature to Laravel Forge: the ability to add notes to servers. While checking the uptake of this feature, we noticed that customers were often storing sensitive data in the field. We hadn’t designed notes to store sensitive information, so we found ourselves in a situation where we now needed to encrypt existing unencrypted data, while also allowing for new data to be inserted as encrypted data - at the same time, the dashboard needed to be able to show the notes correctly whether they had been encrypted or not. Our migration process looked like this: 1. Run a command that encrypts all existing unencrypted server notes. 2. Update our model to cast the `notes` field, encrypting or decrypting as required. To do this, we leaned on [Laravel’s custom casts](https://laravel.com/docs/11.x/eloquent-mutators#custom-casts) feature to handle this “sometimes encrypted” data. We created a new cast `SometimesEncrypted` that allowed us to gracefully decrypt the encrypted notes, or simply return the plaintext version which may have been available during the migration: ```php

James Brooks