1. Home
  2. Artisan
  3. Count

Count method returns a number of records in the queried object.

#artisan#php
App\Users::count();
copy
Full Artisan cheatsheet
NordVPN NordVPN