<?php



$app['controllers']['project/getall'] = function ($app, $request){
    
    $projects = $app['foler']->getAllProjects();
    Response::responseWithSuccess($projects);
    
};
<?php



$app['controllers']['project/getall'] = function ($app, $request){
    
    $projects = $app['foler']->getAllProjects();
    Response::responseWithSuccess(['data' => $projects]);
    
};
Add field 'data' in Response
Add field 'data' in Response
