Questions tagged [apiato]

Apiato is a framework for building API-Centric Apps with PHP and Laravel.

Apiato framework helps to build scalable and testable Api endpoints. its a wrapper of The Laravel framework. Documentations

18 questions
1
vote
2 answers

How to access Laravel Apiato API

I've been trying to make my first successful API call but I get a login screen on my HTTP client. I created a client and used the grant_type: client_credentials to successfully get a token. I then added the token to my headers before sending the…
Limitless Claver
  • 479
  • 5
  • 17
1
vote
1 answer

APIATO url search criteria - is null and is not null values

Is there any way that we can search null value in apiato, for example api.domain.test/v1/endpoint?search=email:null I want to query null values to display as 1 group, any suggestions or advise on how to do so. Thank you in advance.
Mochi
  • 123
  • 8
1
vote
2 answers

How to access an item endpoint without login token in apiato php?

I have been working on invoice system which I need to add each invoice with a QR generated by a system which when we print invoice as hard copy we can just scan the QR and access the preview page of that invoice (id). I am using apiato and every…
Mochi
  • 123
  • 8
1
vote
2 answers

How to update a specific table in APIATO without affect existing data added previously

I am currently working with apiato framework, as I already create tables and run migrate command, it will create a table but once I want to modify the existing table, therefor I need to run php aristan migrate:fresh which all the data of all the…
Mochi
  • 123
  • 8
1
vote
1 answer

How to pass request object in laravel from one file to another file?

I have 3 files called RequestCriteria,GetAllDataTask,GetAllDataAction . RequestCriteria.php public function __construct(Request $request) { $this->request = $request; } GetAllDataTask.php public function run( $data) …
user17426459
0
votes
0 answers

Why i am getting " Welcome To Apiato" message even after specifying my route End-Point?

http://localhost/public/v1/createorders, is my URL to create order API, but I am getting "welcome to apiato" message. This message usually comes if my route is like this "http://localhost/public/v1/ ". But i am getting this message even after…
0
votes
0 answers

How to test Laravel Apiato API with Postman?

Please, I need help. I am beginner to apiato, I followed these instructions: "https://apiato.io/docs/9.x/miscellaneous/postman/#apiato-postman-api--environment" to test my API on postman, but I have a problem acces to API endpoint. Here is what…
BAMBA
  • 1
0
votes
1 answer

Change Nova root directory

After nova installation in apiato I have changed the provider and dashboard path directory at root directory to specific container and I am waiting to see the login page but I got this error laravel app/Nova does not exist because nova package…
0
votes
0 answers

How to fetch data from the relations of table in laravel?

i have three models called review,charge and card.in controller review model is being used so based on that model i want to fetch card model data(in this case it's name), can you please help me to achieve this thing.. I am using APIATO framework for…
0
votes
1 answer

How to retrieve data of relation table in Apiato?

I am using apiato framework,i am developing one API which is responsible for retrieving the data from the database upto this part is working ,Now i want to resolve the N+1 Query problem for that i am using eager loading concept and…
user17426459
0
votes
1 answer

How to create a criteria under specific folder in apiato?

I want to create a criteria file in specified path, can you please help me.. Path:- App->ship->criteria->eloquent I am trying with php artisan make: criteria someName --path=App\ship\criteria\Eloquent
user17426459
0
votes
1 answer

Override class in "porto" architecture

I have the APIATO application. And install the library (some wrapper for 3rd part API) by composer. I need to override classes to add some custom logic into these classes. Where can I create overridden classes?
Feniksss
  • 33
  • 1
  • 5
0
votes
1 answer

How to link observer to another file in laravel?

I write one observer called userObserver.php and I write one task file called DeleteTask.php which contains DB queries , now I want to make a link with the observer to the DeletTask.php file
Code cracker
  • 316
  • 1
  • 5
  • 20
0
votes
2 answers

How to check if a variable $user is a User object, in PHP?

I have little confusion around how to check the $user is a User object in Laravel. $user = Apiato::call('User@FindUsersbytask', [$request->id]); if($user) { // here i have to check weather the $user is a user object or not …
Code cracker
  • 316
  • 1
  • 5
  • 20
0
votes
1 answer

How to call a handle method into an routes.php file?

I want to print a log message when i run php artisan make:greetings command in my command line it should return a message in my log file , for that how to call a handle method inside the routes.php file, for that i am writing some code but i am…
Devops Training
  • 221
  • 3
  • 15
1
2