CodeGPT For Laravel is an IntelliJ plugin that makes it easy to generate test cases for your Laravel codebase and explain specific code in a human-readable format using OpenAI's API.
- Automatically generate test cases for your Laravel codebase
- Explain specific code in a human-readable format using OpenAI's API
- Seamlessly integrate into your IntelliJ development environment
- IntelliJ IDEA 2020.2 or later
- An OpenAI API key (you can get one here)
You can install CodeGPT for Laravel from the Intellij Marketplace. Alternatively, you can build the plugin from source by following these steps:
- Clone the repository
- Open the project in IntelliJ IDEA
- Build the project using the "Build" menu option
- Install the plugin by going to "Settings > Plugins > Install plugin from disk" and selecting the built Zip file.
- Right-click on a
.php
file in your Laravel codebase - Select
Generate Test Case
- CodeGPT will automatically generate test cases based on your code
- Highlight the code you want to explain in your
.php
file - Right-click on the highlighted code
- Select
Explain Code
- CodeGPT will display a human-readable explanation of the code in a new panel on the right side of your IntelliJ window
Contributions to CodeGPT For Laravel are always welcome! If you find a bug or have a feature request, please open an issue. If you want to contribute code, please fork the repository, make your changes, and submit a pull request.
CodeGPT For Laravel is open source software licensed under the MIT license.