Not to sure if I am doing this properly I made a directory in packages/company/blog my composer file has this:
"require": {
"php": "^8.0|^8.1",
"spatie/laravel-package-tools": "^1.9.2",
"filament/filament": "^2.0",
"illuminate/contracts": "^8.0|^9.0",
"filament/spatie-laravel-tags-plugin": "^2.0"
},
in my root composer I have this
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/",
"Illusive\\Blog\\": "packages/company/blog/src/"
}
},
The package seems to have installed properly since the console commands are working properly, is there a better way to install it via root composer to get the child composer to install deps ?