Skip to content

Laravel wrapper for the Qwen PHP client, offering an intuitive and efficient way to integrate and interact with Alibaba Qwen API in your Laravel applications.

Notifications You must be signed in to change notification settings

mohaibra919/qwen-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Qwen-Laravel

🚀 Laravel wrapper for the Qwen PHP client, offering an intuitive and efficient way to integrate and interact with Alibaba Qwen API in your Laravel applications.

Qwen-Laravel Logo

Overview

Qwen-Laravel is a robust Laravel wrapper for the Qwen PHP client, designed to simplify the integration and interaction with Alibaba's powerful Qwen API in Laravel applications. Whether you're building a AI-powered application or a data processing tool, Qwen-Laravel provides a seamless bridge between your Laravel project and the advanced capabilities of Alibaba Cloud.

Features

✨ Effortlessly integrate Alibaba Qwen API in Laravel
✨ Streamline data processing tasks
✨ Leverage natural language processing capabilities
✨ Easy-to-use API client for deep learning projects
✨ Intuitive methods for interacting with Qwen services
✨ Seamless integration with Laravel frameworks

Installation

To get started with Qwen-Laravel, follow these simple steps:

  1. Install the package via Composer:

    composer require your-packagist/qwen-laravel
  2. Publish the Qwen-Laravel configuration file:

    php artisan vendor:publish --tag=qwen-laravel-config
  3. Update your .env file with your Alibaba Cloud credentials.

  4. You're all set! Start using Qwen-Laravel in your Laravel project.

Usage

Using Qwen-Laravel is a breeze. Here's an example demonstrating how to call the Qwen API using the provided wrapper:

use QwenLaravel\Facades\Qwen;

// Retrieve the Qwen response
$response = Qwen::analyzeText('Hello, Qwen!');

// Process the response
if ($response->isSuccessful()) {
    $entities = $response->getEntities();
    // Do something with the entities
} else {
    $error = $response->getError();
    // Handle the error
}

Documentation

For detailed information on how to use Qwen-Laravel and the available methods, refer to the official documentation.

Resources

Contributing

We welcome contributions from the community to enhance Qwen-Laravel. To contribute, please follow these guidelines:

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Submit a pull request

License

Qwen-Laravel is open-source software licensed under the MIT license.

Download Qwen-Laravel - Needs to be launched

🌟 Happy coding with Qwen-Laravel! 🌟

About

Laravel wrapper for the Qwen PHP client, offering an intuitive and efficient way to integrate and interact with Alibaba Qwen API in your Laravel applications.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published