Streamline query builder orderBy
calls with asc
and desc
arguments.
Before
User::where('first_name', 'John') ->orderBy('last_name', 'asc'); Shift::orderBy('version', 'desc');
After
User::where('first_name', 'John') ->orderBy('last_name'); Shift::orderByDesc('version');
Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.