Store data in database after run composer install command in Laravel?
I'm working on Laravel 10 project and I want to add some data to database when I run the composer install <package_name>. To do that, I have created a custom PHP file and call that postPackageInstall function in composer.json file.…