Download the PHP package salehhashemi/laravel-intelli-git without Composer
On this page you can find all versions of the php package salehhashemi/laravel-intelli-git. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download salehhashemi/laravel-intelli-git
More information about salehhashemi/laravel-intelli-git
Files in salehhashemi/laravel-intelli-git
Package laravel-intelli-git
Short Description An intelligent Git helper package for Laravel applications. It utilizes OpenAI's GPT to analyze your Git repository, providing features such as automatic generation of commit messages based on staged changes.
License MIT
Homepage https://github.com/salehhashemi1992/laravel-intelli-git
Informations about the package laravel-intelli-git
Laravel IntelliGit
An intelligent Laravel package to generate git commit messages using OpenAI.
Features
The following commands are implemented in this package:
ai:commit
- Generate a commit message and description using AI
Stay tuned for future updates as we continue to expand the capabilities of the Laravel Intelli Git package.
Installation
-
Install the package via composer:
-
Publish the configuration file:
-
Add your OpenAI API key to the
.env
file: - Optionally, you can change the default model used by OpenAI in the
.env
file:
Usage
ai:commit
This command will automatically check for staged and unstaged changes in your git repository. If unstaged changes are found, it will ask you to stage them. Then, it will generate a commit message and description using OpenAI.
Examples
ai:commit
Here's an example of the command in action:
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Saleh Hashemi
- All Contributors
License
The MIT License (MIT). Please see License File for more information.