212,702 questions
1
vote
1
answer
40
views
How can I enable Client Credentials grant to secure API endpoints?
I'm trying to enable Client Credentials grant to secure API endpoints. I want to create an API between a database and several websites (and SPAs) so I can monitor what website/SPA calls which ...
0
votes
0
answers
69
views
How can I install a new Laravel 12 project with Vue (without Wayfinder, using Ziggy instead)? [closed]
I want to set up a fresh Laravel 12 project that uses Vue.js for the frontend.
However, I don’t want to use the new Wayfinder package that comes with Laravel 12.
Instead, I’d like to configure it like ...
0
votes
0
answers
42
views
I got syntax error on installing typescript with laravel-data package
Reading https://spatie.be/docs/laravel-data/v4/advanced-usage/typescript docs
I try to add laravel data package on laravel/vue/element-plus site and adding app/Data/TaskAdminData.php class with code :
...
2
votes
1
answer
55
views
Assets not being loaded in Laravel 12 using storage:links
I´ve created a duplicate project of mine to upgrade from Laravel 10 to Laravel 12. As far as the PHP code, routes, and database everything went well as expected.
Yet, in my Laravel 10 project I had my ...
-2
votes
0
answers
68
views
Routes management in Laravel 12 [closed]
I’ve just started using Laravel 12 , and I’m working with the React starter kit.
I’m facing a small issue and would like some advice:
When I create a new route file (for example: routes/products.php) ...
3
votes
1
answer
95
views
Getting 401 Unauthorized when calling Laravel Sanctum API after Inertia login (React + Laravel)
I'm using Laravel 11 with Jetstream (Inertia + React) and Sanctum for authentication.
Everything works fine when logging in via the default Inertia login page, but when I try to call a protected API ...
1
vote
0
answers
54
views
Cant connect Xdebug to VSCode
I'm trying to use Xdebug in VSCode. It seems Xdebug is running but I can't get VSCode to hit on the breakpoints I set. In the logfile (see below) it shows some kind of mismatch between files in which ...
0
votes
1
answer
47
views
Rewrite URL on shared hosting Laravel [closed]
I currently have my Laravel project accessible via the URL:
https://URLXX.com/dev/public/
I’d like to access it directly using:
https://URLXX.com/dev
The same setup should also work for my staging and ...
0
votes
2
answers
51
views
Why collect method of Spatie\LaravelData\Data raised error with missing fields?
On laravel site I have a table with migration:
public function up(): void
{
Schema::create('tasks', function (Blueprint $table) {
$table->id();
$table->foreignId('creator_id')...
0
votes
0
answers
132
views
MySQL 8.4 query incredibly slow despite indexing [closed]
I'm working on a Laravel 12 project running MySQL 8.4. My project contains an ApplicationFingerprint model with a handful of columns designed to identify "suspicious leads" through some ...
-1
votes
1
answer
57
views
Arr::arrayToObject in Laravel 12
In laravel 9.0 this code worked well and then I could use $result->property syntax in my blade view instead of array syntax $result['property']
public function getAllWithPaginator($perPage = ...
0
votes
0
answers
43
views
How selecting some select option element to run filtered request on server?
On Laravel/Vue/Element Plus, site I make filter with some filters in control and in table of Vue file :
class TaskController extends Controller
{
public function __construct()
{
}
/**...
1
vote
0
answers
53
views
Error: Module '"vue"' has no exported member 'ref', 'computed'. etc
Does anyone experience this issue? I have laravel + vue 3 project and I recently use typescript. I installed these,
"typescript": "^5.9.3",
"vue-tsc": "^2.2.12"
...
0
votes
2
answers
166
views
Laravel POST to Nginx causes HTTP 400 [closed]
I use Apache for development and Nginx on a new production server I just provisioned
There is a form (X) on my Laravel project that results in HTTP 400 when POSTed to Nginx using Chrome, it does not ...
-2
votes
0
answers
37
views
Bridge API callback URL with dynamic tunneling service (Laravel Herd Expose) [closed]
I'm developing a Laravel 11 application that integrates Bridge API for PSD2 banking connections. I'm using Laravel Herd with Expose for local development to make my API publicly accessible for Bridge ...