changing the value of column

PHOTO EMBED

Fri Nov 25 2022 21:07:59 GMT+0000 (Coordinated Universal Time)

Saved by @hammiddi #laravel

 ->columns([
                Tables\Columns\TextColumn::make('name'),
                Tables\Columns\TextColumn::make('urls')
                    ->label('No. URLs')
                    ->getStateUsing(function (Site $record) {
                        return count($record->urls);
                    }),
            ])
content_copyCOPY

https://github.dev/ryangjchandler/uptime-checker