skip to Main Content

Laravel – Cannot authenticate using spa

I have my API that run on this url: https://example.com, and my vue.js app which runs on this: https://app.example.com. So I configured as the following the .env: SESSION_DOMAIN=.example.com SANCTUM_STATEFUL_DOMAINS=https://app.example.com the axios configuration contains the following: import axios from 'axios' const…

VIEW QUESTION

Laravel – How to overwrite reorder route?

I am trying to pass category id along with reorder route so I can list article based on the category. How can I overwrite reorder route like this Route::get($segment.'/{id}/reorder', [ 'as' => $routeName.'.reorder', 'uses' => $controller.'@reorder', 'operation' => 'reorder', ]);…

VIEW QUESTION

Laravel Backpack Filters doesnt do anything after click

Im new to Laravel Packpack. My issue is I have filters using this code $this->crud->addFilter( ['name' => 'created_at', 'type' => 'date_range', 'label' => 'Bid Date'], false, function ($value) { $dates = json_decode($value); $this->crud->addClause('where', 'created_at', '>=', $dates->from); $this->crud->addClause('where', 'created_at', '<=', $dates->to…

VIEW QUESTION
Back To Top
Search