Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 4 REST API
#1

Hi Everyone,

I wanted to ask you is there any libraries or anything we can use to build secure api in CI quickly. ? Please share your suggestions.

For now im doing something like this.

EmployeesController.php 


PHP Code:
<?php

$data 
$this->model->findAll();

return 
json_encode($data)

?>


This is the correct way ?
Reply
Reply




Theme © iAndrew 2016 - Forum software by © MyBB