Before modifying a column, be sure to add the doctrine/dbal dependency to your composer.json file. The Doctrine DBAL library is used to determine the current state of the column and create the SQL queries needed to make the specified adjustments to the column:
$user->companies()->paginate(10)
withCount(['users' => function ($query) {
$query->where('id', auth()->id());
}])
Когда я создаю новое событие, оно даже не попадает в листинг, то-есть,
Правильно ли я вообще использую возможности Laravel?
Сам работник попадает в очередь с указанным именем в базу данных, но вот что с ним делать дальше ??