bizarg / order
order
2.0.0
2024-11-08 07:18 UTC
Requires
- php: >=7.1
- illuminate/http: *
README
<?php $order = Order::fromRequest( Illuminate\Http\Request $request, //required ['createdAt' => 'created_at'], //required 'createdAt', //optional 'asc', //optional 'sort' //optional ); //--------------------------------------- $oreder = (new Order())->setField('created_at')->setDirection('desc');