1. Home
  2. Artisan
  3. Count
#artisan#php

Count method returns a number of records in the object.

App\Users::count();
copy
Full Artisan cheatsheet
Sitemap Git repository