Download the PHP package ricardovanderspoel/laravel-smart-migrations without Composer
On this page you can find all versions of the php package ricardovanderspoel/laravel-smart-migrations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ricardovanderspoel/laravel-smart-migrations
More information about ricardovanderspoel/laravel-smart-migrations
Files in ricardovanderspoel/laravel-smart-migrations
Package laravel-smart-migrations
Short Description Supercharge your Laravel migrations with AI! Laravel Smart Migrations uses OpenAI's GPT-3 to automate the generation of essential files like models, controllers, and more based on your migrations. Boost efficiency, adhere to best practices, and customize AI enhancements for your project.
License MIT
Informations about the package laravel-smart-migrations
Laravel Smart Migrations
Laravel Smart Migrations is an innovative package designed to supercharge your Laravel migration workflow. By leveraging artificial intelligence, specifically OpenAI's GPT-3, this package intelligently generates foundational files such as models, factories, seeders, requests, resources, and controllers based on your migrations. Moreover, it provides AI-driven enhancements to these files, ensuring they are not only functional but also adhere to best practices and real-world application needs.
Features
- Smart Migrations: Detect migrations marked as smart and automatically generate corresponding Laravel components.
- OpenAI Enhancements: Utilize AI to enhance files with realistic and relevant content, tailored to your specific migration structure.
- Efficiency Boost: Speed up the development process by generating the boilerplate code for an entire feature set in your application.
- Customizability: Tailor the AI enhancements to fit your project's unique requirements through configurable settings.
Installation
To install the package, run the following command in your Laravel project:
Next, you'll need to configure the .env file by adding your OpenAI API key:
Optionally, you can publish the package configuration to customize the AI enhancements:
Usage
To run smart migrations and automatically generate and enhance the foundational files, execute:
Ensure your migrations include the protected $is_smart = true;
property to be recognized as smart migrations by the package.
Configuration
The published config file config/smartmigrations.php
contains definitions for AI enhancements. You can customize the context, specify related context files, and set up different aspects of AI behavior to suit your project requirements.
Contributing
Contributions are welcome, and we accept contributions via Pull Requests on GitHub.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -am 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is open-sourced software licensed under the MIT license.
All versions of laravel-smart-migrations with dependencies
illuminate/support Version ^10.10
openai-php/client Version ^0.8.2
symfony/http-client Version ^6.4
nyholm/psr7 Version ^1.8