Given the support of Laravel 10 and the removal of DBAL in Laravel 11, this PR uses the core model:show command to gather attribute and relationship data for a model. This prevents this package from having to contain its own logic for gathering this data, as well as makes future compatibility easier.
This command also provides other information like hidden, fillable, and casts which could be used to improve the factory generation in the future.
Given the support of Laravel 10 and the removal of DBAL in Laravel 11, this PR uses the core
model:show
command to gather attribute and relationship data for a model. This prevents this package from having to contain its own logic for gathering this data, as well as makes future compatibility easier.This command also provides other information like hidden, fillable, and casts which could be used to improve the factory generation in the future.