The task sounds like this - to create a package (packege for Laravel), which during installation will generate the necessary tables in the database. How to do it?
I am new to web development, and therefore there is not even a common vision for where to dig, Internet searches have led to an understanding - that tables are created using migrations, migrations can be generated by a package, and run by hands from the command line ???. For example here http://jean179.ru/saite-vizitka-na-laravel-etap-5-sozdanie-tablic-v-baze-dannyx/