Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.94 KB

readme.md

File metadata and controls

46 lines (30 loc) · 1.94 KB

LaraGPT - ChatGPT For Laravel

LaraGPT 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.

Features

  • 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

Requirements

  • IntelliJ IDEA 2020.2 or later
  • An OpenAI API key (you can get one here)

Installation

You can install LaraGPT for Laravel from the Intellij Marketplace. Alternatively, you can build the plugin from source by following these steps:

  1. Clone the repository
  2. Open the project in IntelliJ IDEA
  3. Build the project using the "Build" menu option
  4. Install the plugin by going to "Settings > Plugins > Install plugin from disk" and selecting the built Zip file.

Usage

Generate Test Case

  1. Right-click on a .php file in your Laravel codebase
  2. Select Generate Test Case
  3. LaraGPT will automatically generate test cases based on your code

Explain Code

  1. Highlight the code you want to explain in your .php file
  2. Right-click on the highlighted code
  3. Select Explain Code
  4. LaraGPT will display a human-readable explanation of the code in a new panel on the right side of your IntelliJ window

Contributing

Contributions to LaraGPT 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.

License

LaraGPT - Chatgpt For Laravel is open source software licensed under the [MIT license](https://opensource. org/licenses/MIT).