The AutoDB is a tool that generates a database model from a given connection in .env file. The tool is designed to be used in the context of huges amount of data when migrating for Laravel or automatize a repetitive task. The project takes the dataset from the database and generates the migrations and models with the attributes and cast the fields in models for each column. The code uses Levenshtein Algorithm to translate MySQL types to Eloquent types.
composer require leivingson/autodb
php artisan autodb:generate