Questions tagged [apiato]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Url parameters is not accessible in request object in Apiato framework

I use Apiato framework and I have a route that I pass a parameter in url like this: /user/{user_id} and I want to access and get this parameter in middleware but as I use methods like: $request->...
Amir Abouei's user avatar
0 votes
1 answer
47 views

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://...
Vedant Yadav's user avatar
0 votes
1 answer
55 views

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, ...
BAMBA's user avatar
  • 1
0 votes
1 answer
537 views

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 ...
maryam nabiyan's user avatar
1 vote
2 answers
381 views

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 ...
Limitless Claver's user avatar
1 vote
1 answer
153 views

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 ...
Mochi's user avatar
  • 123
1 vote
2 answers
294 views

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 ...
Mochi's user avatar
  • 123
1 vote
2 answers
147 views

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 ...
Mochi's user avatar
  • 123
0 votes
0 answers
167 views

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 ...
usersuser's user avatar
  • 167
0 votes
1 answer
303 views

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 ...
user avatar
1 vote
1 answer
789 views

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; } ...
user avatar
0 votes
1 answer
141 views

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\...
user avatar
0 votes
1 answer
60 views

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 ...
Feniksss's user avatar
0 votes
1 answer
75 views

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's user avatar
0 votes
2 answers
1k views

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 $...
Code cracker's user avatar
0 votes
1 answer
219 views

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 ...
Devops Training's user avatar
0 votes
1 answer
130 views

How to delete a Blog based on admin_id in laravel?

I am developing crud operations for blog ,i want to delete the blog based on the id for that i write one api which is responsible for deleting the Blog based on the admin_id to the blog ID ,it's not ...
Devops Training's user avatar
0 votes
1 answer
119 views

How to get user_id inside a controller function?

I am developing some crud API's in an Apiato framework and it's connected to my database also,now i want to develop one api which is used for posting details to my database (valid user only can post ...
Devops Training's user avatar
0 votes
1 answer
66 views

How to resolve Integrity constraint violation error in APIATO project?

I developed one APIATO project inside that i want to perform CRUD operation for that i created one function called upload which is responsible for posting details and it's integrated with my database ...
Sravani's user avatar
  • 387