承接 webexmachina/api-ai-wrapper-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webexmachina/api-ai-wrapper-bundle

最新稳定版本:v0.9.1

Composer 安装命令:

composer require webexmachina/api-ai-wrapper-bundle

包简介

WebEx Api Ai Wrapper Bundle.

README 文档

README

A Symfony bundle that provides a wrapper around the Web ex Machina AI API for SEO optimization, text processing, image metadata generation, and translation.

Features

  • Generate SEO titles and descriptions
  • Optimize text for search engines
  • Fix typos in text
  • Generate SEO image titles and alt text
  • Translate text between languages

Requirements

  • PHP 8.2 or higher
  • Symfony Framework Bundle 6.4.x or 7.2.x
  • Symfony HTTP Client 7.3+

Installation

  1. Install the bundle via Composer:
composer require webexmachina/api-ai-wrapper-bundle
  1. If you're using Symfony Flex, the bundle will be automatically registered. Otherwise, add it to your config/bundles.php:
return [
    // ...
    WebExMachina\ApiAiWrapperBundle\ApiAiWrapperBundle::class => ['all' => true],
];

Usage

The bundle provides the ApiAiWrapper service which you can inject into your controllers or services:

use WebExMachina\ApiAiWrapperBundle\Service\ApiAiWrapper;

class YourController
{
    public function __construct(
        private ApiAiWrapper $apiAiWrapper
    ) {
    }

    public function myFunction(): void
    {
        // Your JWT token, up to you to retrive and caching him.
        $token = $this->getMyJWTToken();

        // Generate SEO title
        // return a string
        $seoTitle = $this->apiAiWrapper->generateSeoTitle(
            keywords: ['symfony', 'bundle', 'seo'],
            theme: 'Web Development',
            language: 'en_EN',
            text: 'your text',
            token: $token
        );
        
    }
}

Getting an API Token

To use this bundle, you need an account on your API. Please create an account there Web ex Machina AI API to obtain your credentials.

Contribution

This bundle is experimental and contributions are welcome! If you find a bug or have suggestions for improvements, feel free to submit an issue or pull request.

License

This project is licensed under the Apache 2.0.

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2025-07-30