PHP API Problem with clients only 15 entries listed of 715

iam using
$clients = Client::all();

and i get only back 15 client entries of 715
how can i get all clients?

The results are paged:

You can call Config::setPerPage(500); to increase the limit.

More info here:

ok thanx you but how do i get the next stack 501 to 715? because

give me also only 500

In our next release we’ll remove the limit for self host installs.

Until then you can change the code here: