定制 camoo/camoo-ai 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

camoo/camoo-ai

最新稳定版本:0.0.1

Composer 安装命令:

composer create-project camoo/camoo-ai

包简介

Camoo AI Platform

README 文档

README

Camoo AI - based on Symfony framework

This project is a fullstack Symfony application that demonstrates how to build a self-learning AI pipeline using Symfony 7.x, PHP 8.4, Docker, and various other tools and libraries. The application includes features such as AI model training, and data management. Feel free to explore the codebase and adapt it to your own needs! We hope you find it useful and inspiring. All contributions are welcome.

How to run the project

Prerequisites

  • Docker
  • Docker Compose
  • PHP 8.4
  • Symfony 7.x
  • Symfony CLI (optional, but recommended)
  • Composer (optional, but recommended)
  • PHPUnit

Steps to run the project

  1. Clone the repository
# Clone the repository
git clone htts://github.com/camoo/camoo-ai
cd camoo-ai

# Install dependencies
docker-compose exec camoo-ai composer install
# Or if you have composer installed locally
composer install

# Use make to install dependencies
make install

Bring up the project

docker-compose up -d --build
# Or if you have make installed
make up

Bring down the project

docker-compose down
# Or if you have make installed
make down

Start Websocket server

# 8086 is the port number, you can change it as needed
docker-compose exec camoo-ai php bin/console app:websocket:serve 8086

OR on production use nohup
php bin/console app:websocket:serve > /dev/null 2>&1 &

# stop the websocket server
pkill -f "php bin/console app:websocket:serve"

Test Websocket connection

npx wscat -c ws://localhost:8383/ws

# start sending messages
{"message":"Hello, AI!", "context": {}}

Test AI via CLI Command

# log into the container
docker-compose exec camoo-ai bash
# run the AI command
php bin/console app:chat
# start typing your messages
tell me a joke

Access the application

Access the terminal

docker-compose exec camoo-ai bash
# Or if you have make installed
make shell

log files

# Application logs
docker-compose exec camoo-ai tail -f var/log/dev.log

Run migration

docker-compose exec camoo-ai php bin/console doctrine:migrations:migrate --no-interaction
# Or if you have make installed
make migrate


# For test environment
docker-compose exec camoo-ai php bin/console doctrine:migrations:migrate --env=test --no-interaction
# Or if you have make installed
make migrate-test

# Optionally, you can also run the fixtures to populate the database with initial data
docker-compose exec camoo-ai php bin/console cache:clear --env=test
# Or if you have make installed
make fixtures

Run Unit tests

docker-compose exec camoo-ai composer test

# Or if you have phpunit installed locally
composer test

# Or if you have make installed
make test

Run PHP Cs Fixer / Linter

docker-compose exec camoo-ai composer lint

# Or if you have php-cs-fixer installed locally
composer lint
# Or if you have make installed
make lint

Run Deptrac analysis

docker-compose exec camoo-ai php vendor/bin/deptrac analyse --report-uncovered

# Or if you have deptrac installed locally
composer analyse

# Or if you have make installed
make analyse

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固