laravel-synth  by blinq-dev

Laravel tool for generating code via ChatGPT

created 2 years ago
280 stars

Top 93.9% on sourcepulse

GitHubView on GitHub
Project Summary

Synth is a Laravel package that integrates OpenAI's GPT models to automate code generation and development tasks. It targets Laravel developers seeking to accelerate their workflow by leveraging AI for tasks like generating migrations, models, and application architectures.

How It Works

Synth utilizes OpenAI's Chat Completions API, including its functions API for structured interactions. It can automatically switch between GPT-3.5-turbo and GPT-3.5-turbo-16k models based on context size needs. The tool includes the entire database schema as an attachment to provide GPT with comprehensive application context, enabling more accurate code generation.

Quick Start & Requirements

  • Install via Composer: composer require blinq/synth
  • Publish config: php artisan vendor:publish --tag=synth-config
  • Set OPENAI_KEY in .env.
  • Run CLI: php artisan synth
  • Requires PHP and an OpenAI API key.

Highlighted Details

  • Interactive CLI for code generation and task execution.
  • Supports generating migrations, models, and application architectures.
  • Allows attaching files and custom modules for extensibility.
  • Leverages OpenAI's functions API for structured AI responses.

Maintenance & Community

The project is maintained by blinq-dev. Further community or roadmap information is not detailed in the README.

Licensing & Compatibility

The README does not specify a license. Compatibility for commercial use or closed-source linking is not detailed.

Limitations & Caveats

The project is described as "Not an official Laravel package." The README does not detail specific limitations, known bugs, or deprecation status.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
0 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
9 more.

codex by openai

0.8%
32k
Coding agent CLI tool for terminal-based chat-driven development
created 3 months ago
updated 19 hours ago
Feedback? Help us improve.