Download the PHP package jiten14/jitone-ai without Composer

On this page you can find all versions of the php package jiten14/jitone-ai. 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 jitone-ai

Jitone AI:- Build AI-powered Filament forms.

jitone-ai is a powerful FilamentPHP plugin that integrates AI-powered features directly into your Filament forms.

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Installation

Usage

  1. After downloading, Run the package installation command:

This command will:

  1. We use openai-php/laravel package to connect with OpenAI API. Blank environment variables for the OpenAI API key and organization id are already appended to your .env file, Add your API key here.

Configuration

The config/jitone-ai.php file allows you to set default values and templates:

Usage for Developers

Adding AI to Built-in Filament Form Fields

You can add AI generation capabilities to TextInput, Textarea, and RichEditor fields using the withAI() method:

Without Options

With Options

Using Dedicated AI Fields

AITextField

The package provides a dedicated AITextField for enhanced content generation:

Without Options:
With Options:

AIFileUpload for Image Generation

Use the AIFileUpload field with the imageAI() method to enable AI image generation:

Without Options:
With Options:

Usage for End-Users

Generating Content

  1. In a form with AI-enabled fields, users will see a "Generate with AI" link right upper to the field.
  2. Clicking this link opens a modal where users can:
    • Enter a custom prompt
    • Choose from pre-defined templates (if configured)
    • Use existing content for modification
  3. If modifying existing content, users can choose to:
    • Refine: Improve the existing text
    • Expand: Add more details to the existing text
    • Shorten: Summarize the existing text
  4. After entering the prompt, selecting a template, or choosing a modification option, click "Generate" to create or modify the content.
  5. The generated or modified content will be inserted into the form field.

Generating Images

  1. For fields with AI image generation, users will see a "Generate with AI" link right upper to the upload field.
  2. Clicking this link opens a modal where users can:
    • Describe the image they want to generate
    • Choose from pre-defined image prompts (if configured)
    • Select the desired image size (if multiple options are provided)
  3. After entering the description, selecting a template, and choosing the size, click "Generate" to create the image.
  4. The generated image will be uploaded and associated with the form field.

Advanced Features

Changelog

Jitone AI follows semantic versioning:

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

FAQ

Ans.- Make sure that the APP_URL variable in your .env file matches the domain you're using to access your app from, including the protocol (http or https).

Security Vulnerabilities

If you discover any security vulnerabilities or bugs, please let us know so I can address them promptly.

Support

For support with this package or to report any issues, feel free to reach out Jitendriya Tripathy. I am happy to assist you!

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of jitone-ai with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/filament Version ^3.2
filament/forms Version ^3.0
spatie/laravel-package-tools Version ^1.15.0
openai-php/laravel Version ^0.8.1
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 jiten14/jitone-ai contains the following files

Loading the files please wait ....