1

Let's say that we made a complete app module in Laravel:

php artisan make:model Post -a

Is there any way to delete or export this module and install it into another Laravel framework?

Karl Hill
  • 12,937
  • 5
  • 58
  • 95
Faraz salehi
  • 328
  • 2
  • 17
  • I think you mean *model* (not module)? AFAIK the command you show just creates a few flat files - `app/Post.php` and `database/migrations/something.php`, and ... that's all? There is not much to export really. You can simply copy those 2 files anywhere if you want to "export" that model. Am I misunderstanding? – Don't Panic Dec 30 '19 at 09:41
  • no i meant 'module ' .. as a part of app that can used into work in other laravel projects.@Don'tPanic – Faraz salehi Mar 10 '20 at 05:19

0 Answers0