Laravel Cloud is Now Inside PhpStorm (First Look)
Chapters15
PHPStorm now supports managing and troubleshooting Laravel cloud deployments directly from the IDE, with initial steps shown for installation and usage.
Laravel Cloud tooling is now accessible inside PhpStorm via LayerVille, enabling real-time deployments, logs, and AI-assisted fixes without leaving the IDE.
Summary
Laravel News’ first look at LayerVille inside PhpStorm shows how you can manage Laravel Cloud deployments directly from the IDE. The presenter demonstrates opening the LayerVille panel, connecting to a Laravel Cloud account with an API key, and watching a deployment run in real time from the dashboard and deployment logs. A simple code change triggers a build, which initially fails due to a missing semicolon, but the integrated AI assistant helps diagnose and fix the error, followed by an automatic redeploy. The walkthrough highlights zero-downtime deployments, real-time monitoring, and the ability to view deployment progress from the PhpStorm interface, plus optional usage of the Laravel Cloud dashboard for deeper visibility. The video ends with reflections on the first version’s usefulness and encouragement to share feedback for future enhancements.
Key Takeaways
- LayerVille in PhpStorm connects to Laravel Cloud by adding an API key and starts pulling deployment data automatically.
- The interface shows environment details, deployment logs, and environment variables (e.g., app key hidden for security).
- A code change can trigger a live deployment, with build status shown as queued, running, and then either failed or succeeded.
- PHPStorm’s AI assistant can diagnose a deployment failure (e.g., missing semicolon in web.php:7) and suggest fixes, enabling one-click apply and redeploy.
- Deployments are designed to offer zero downtime, with real-time monitoring of what’s being deployed via both PhpStorm and the Laravel Cloud dashboard.
- The feature is part of the Laravel Idea plugin and requires the latest PhpStorm and plugin version to work.
- The video emphasizes that early access may evolve, but the current version is already useful for developers wanting integrated cloud deployments.
Who Is This For?
Laravel developers who want to manage cloud deployments from within PhpStorm, and teams seeking real-time deployment visibility and AI-assisted debugging without leaving the IDE.
Notable Quotes
""PHPStorm just announced that you can now manage and troubleshoot your Laravel cloud deployments right from within the IDE.""
—Opening statement setting up the feature highlight.
""you go to the LayerVille cloud go to your account set up a new API key and then you just add it here and it automatically starts pulling it down""
—Showcasing API key setup and automatic data pull.
""the AI assistant... fixed it so that's simple right""
—Demonstrating AI-driven error diagnosis and fix.
""zero downtime""
—Noting deployment reliability benefit.
""this is part of the Laravel idea plugin which is totally free now""
—Promoting plugin availability and cost-free access.
Questions This Video Answers
- How do I connect Laravel Cloud to PhpStorm with LayerVille?
- Can PhpStorm’s AI assistant fix deployment errors in real time for Laravel Cloud?
- What are the steps to deploy a Laravel app to LayerVille from PhpStorm and monitor progress?
- What features does the Laravel Idea plugin add to PhpStorm for cloud deployments?
- Is there zero downtime when deploying Laravel Cloud via LayerVille in PhpStorm?
Laravel CloudLayerVillePhpStormLaravel Idea PluginAI assistantDeployment logsZero downtime deploymentsAPI key integration
Full Transcript
PHPStorm just announced that you can now manage and troubleshoot your Laravel cloud deployments right from within the IDE. So as a first look, let's get this installed and check it out and just see how it works and kind of give it a run through. So I've got a example PHPStorm project open here and all I have to do is if you have these little tool windows on the left side you can just click LayerVille there and that'll open it up or you can do shift shift which is kind of the find anywhere type in LayerVille and you can see it right there or you can go up to the top to the view menu and then go down and find it that way.
So now that starts up we see the first thing we have the dashboard you can refresh data start server migrate database these are all local commands the best I can tell here but then also it says this is an early preview so it will change in the future or probably get better as time goes on. You can see your local errors here which I have done right now in this project and then the LayerVille cloud tab what you do is you go to the LayerVille cloud go to your account set up a new API key and then you just add it here and it automatically starts pulling it down.
So that's pretty neat you can see right here we've got it the environment is running it is freshly deployed you can see the deployment log you can see sort of the URL that it gives you any environmental variables which this one only has an app key and it is hidden so that's good especially for the screencast. So now let's give it a go and see if we can make it fail maybe so I'm going to do the shift shift again and let's just go to the web file this is basically just a placeholder app so there's nothing here I'm going to remove that semicolon so in theory this should fail so let's open the terminal window we're going to say git commit am whip and then we're going to push that all right it is pushing so now let's switch over to the layerville tab and we can watch it running in real time you can see the build is queued build is running this only usually takes a few seconds it's this app itself is just basically a standalone level app so there's nothing like crazy behind the scenes that's going to be running here anything all right now we've got a build failed so let's look at the deployment log and we can see it says basically scroll to the bottom in web dot PHP line seven syntax error unexpected identifier route and of course we know this is going to error because we removed the semicolon up there one of the cool new features is PHP storm said you can actually integrate with the AI and let it fix stuff for you or at least tell you what's wrong so let's see if we can open the AI assistant and we will create a new chat and let's just see what happens here the layervel cloud deployment failed why and can you fix it all right let's see how this works I've actually not used the AI assistant very much in PHP storm so I'm quite curious you know how this works this is sort of kind of a real-time test of it came back pretty quick and it says because the routes web has a PHP syntax error a missing semicolon okay all we have to do I believe now is click apply and boom it has fixed it so that's simple right um so now let's go to git diff and we can see it did fix it and then all I have to do is git commit this and we will git push it and while that's going on of course it's gonna do a brand new deployment and you can see now it's running again it'll go through the whole step side it'll start running okay it is now deployed you can see the full deployment log over here no errors no issues and that is pretty sweet and it looks like this actually monitors so if you know if you're on a team and somebody else pushes a deploy you can actually see what's being deployed at the moment that's handy because you know there will cloud it kind of pulls everything down and then swaps stuff over I'm not exactly sure how it works behind the scenes but all I know is you have zero downtime and sometimes the deployments can take a little time and you're like well you know what's going on so then you have to go to the cloud dot loraville comm dashboard kind of watch the deployment that way so this is super handy because it's all just right in line here so I can't think of anything else that is sort of really missing from here you know maybe you would want to do a little bit more with the loraville cloud API within PHP storm but that's not something I personally do I think this is great just sort of a highlight and an overview of what's being deployed and what's going on on the cloud side so overall for this being the first version I think it's pretty great and I think it'll be you know as time goes on they they start adding more features and things like that I think this will be really powerful so go check this out like I said it's part of the Laravel idea plugin which is totally free now you just have to make sure you're on the latest version of PHP storm and the latest version of that package so go try that out I'd love to hear your thoughts in the comments you know what do you think would be useful that would help your workflow and make it easier for you I'd love to hear it thanks and I hope you have a wonderful day
More from Laravel News
Get daily recaps from
Laravel News
AI-powered summaries delivered to your inbox. Save hours every week while staying fully informed.









