Download the PHP package farzai/viola without Composer
On this page you can find all versions of the php package farzai/viola. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package viola
Viola PHP
Viola is a PHP package that allows you to ask questions to ChatGPT and get the answer with your own data.
Requirements
- PHP >= 8.0
- OpenAI Key
Supported Databases
Currently, Viola supports the following databases: | Database | Supported |
---|---|---|
MySQL | ✅ | |
PostgreSQL | ✅ | |
SQL Server | ✅ | |
SQLite | ❌ | |
MongoDB | ❌ |
Wait for it! I will add support for other databases in the future.
Installation
You can install the package globally via composer:
Make sure to place Composer's system-wide vendor bin directory in your $PATH so the viola executable can be located by your system. This directory exists in different locations based on your operating system; however, some common locations include:
For macOS
For GNU / Linux Distributions
For Windows
Usage
First, you need to set your OpenAI key and Database Connection.
Then, you can try to ask a question to ChatGPT.
Commands
For Developers
Installation
- Install in your project via composer.
- Use
Farzai\Viola\Viola
class to create a new instance.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- parsilver
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of viola with dependencies
doctrine/dbal Version ^3.6
farzai/transport Version ^0.0.2
symfony/cache Version ^5.4.21|^6.2.10
symfony/console Version ^5.4.21|^6.2.10