In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you intelligent tips on how to use ide-helper to achieve Laravel framework code quickly and easily in PhpStrom. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
First, install the phpstorm plug-in laravel
Then install composer support and automatically complete prompt generation
If you only want to install in the development environment, please add-- dev
Composer require barryvdh/laravel-ide-helperphp artisan ide-helper:eloquentphp artisan ide-helper:generate / / generate comments for Facades php artisan ide-helper:meta / generate PhpStorm Meta filephp artisan ide-helper:models / / generate comments for data models generate comments php artisan ide-helper:models for all models, then ask: Do you want to overwrite the existing model files? Choose no to write to _ ide_helper_models.php instead? (Yes/No): (yes/no) [no]: entering yes will write comments directly in the model file, otherwise the "_ ide_helper_models.php" file will be generated. It is recommended that you choose yes so that you don't jump to the "_ ide_helper_models.php" file when tracking files, but it's best to make a backup of the model files, or at least use git to control the version before generating comments, just in case. In order to prevent model from being overwritten, select the default nocomposer require doctrine/dbal / / migration management database file to support modification. You need to introduce this type of modification. This is how PhpStrom uses ide-helper to quickly and easily implement intelligent tips for Laravel framework code. If you happen to have similar doubts, please refer to the above analysis for understanding. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.