Download the PHP package dotninth/xenogit without Composer

On this page you can find all versions of the php package dotninth/xenogit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package xenogit

Your CLI buddy for instant Git commit messages.

Latest Stable Version Latest Beta Version PHP Version MIT License


Introduction

Xenogit is your helpful command-line assistant that uses Google Gemini to quickly create commit messages. Stop spending time writing commits and start managing your Git repository effortlessly!


️Getting Started

Installing

There are two ways to install Xenogit:

  1. Using Composer: Run the following command to install Xenogit globally:

  2. Downloading from GitHub: Visit the Releases page on GitHub and download the appropriate binary.


Usage

After installing Xenogit, you can all available options by simply launcing the program:


Currently available models

You can use 3 models from Google that you can use with the -m flag:

[!NOTE] Note that Gemini 2.0 Flash Thinking takes longer and costs more to generate a commit. But if you have a huge set of changes (huge commit), it works best.


API Key

Xenogit needs an API key from Google AI Studio to work properly. There are two options to provide the API key:

  1. Use the command xenogit config:api-key <your-api-key>.

  2. Using environment variable: Create an environment variable called API_KEY that contains your Gemini API key.

  3. Create a file named .env in the directory where the Xenogit binary is located. This file will be used to store your environment variables. To the .env file, add the following line, replacing <YOUR_API_KEY> with your actual Gemini API key:


Payment

Using Xenogit will cost you money for every request you make to the Gemini API. Xenogit uses the official Gemini 2.0 (gemini-2.0-flash) model, which is the best model in terms of price/quality ratio. At least for the task Xenogit solves.

You can also use Free Tier for Gemini. Be sure to check for limitations and be aware that Google will use your data to improve their products.

To find out more about the price for using Google's services, please check their pricing page at Gemini Pricing page.


Bash aliases example

To simplify common workflows, such as adding files to git and committing them, I recommend creating bash aliases.

Here are mine (sort of a mnemonic for aliases):


Contribute

You are welcome to contribute to Xenogit! For a smooth collaboration, please follow these guidelines when contributing to the project:

  1. Fork the repository and clone it to your local machine.
  2. Create a new branch for your contribution: git checkout -b my-contribution.
  3. Make your changes, making sure the code follows the project's coding style and conventions.
  4. Test your changes thoroughly.
  5. Commit your changes with a descriptive commit message.
  6. Push your branch to your forked repository: `git push origin my-contribution'.
  7. Open a pull request against the `main' branch of the Xenogit repository.
  8. Provide a clear and detailed description of your changes in the pull request, along with any relevant information or context.

Please note that by contributing to Xenogit, you agree to release your contributions under the MIT License.


License

Xenogit is released under the MIT License. Feel free to modify and distribute it according to your needs.


All versions of xenogit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.5
illuminate/http Version ^11.5
laravel/prompts Version ^0.1.3
nunomaduro/termwind Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dotninth/xenogit contains the following files

Loading the files please wait ....