mdhesari/laravel-assistant

A smart laravel assistant which makes Laravel deveoper's life easier. just focus on the logic and leave the boilerplates on me.

0.3.1 2023-08-29 19:00 UTC

This package is auto-updated.

Last update: 2024-11-29 22:10:34 UTC


README

Latest Version on Packagist Total Downloads

Larave assistant is a smart assistant tool for developers in order to develop and implement robust api for their client.

Installation

You can install the package via composer:

composer require mdhesari/laravel-assistant --dev

Usage

php artisan assistant:install

This package was created when I wanted to have a tool in order to scaffold my new modules in a second with my architecture and design concepts.

It's currently best fit for api design, for example I want to develop a Todo app.

before everything don't forget to add OPENAI_API_KEY in your .env.

OPENAI_API_KEY="YOUR_API_KEY"

The magical command assistant:crud uses base architecture for scaffolding model, controller, migration, request architecture, and also it creates some events and actions in order to integrate them together.

  • Crud scaffolding
php artisan assistant:crud -a Task
  • Migration
php artisan assistant:make-migration Task
  • Model
php artisan assistant:make-model Task
  • Request
php artisan assistant:make-request Task
  • Modules

Use modules option in order to add files into their specified module.

--modules=true

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mdhesari99@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.