Support the ongoing development of Laravel.io →
posted 5 years ago

auto login issue for multiple spa, Sanctum.

Sanctum Version: 2.1 Laravel Version: 6.2 PHP Version: 7.2 Database Driver & Version: mysql@5.7...

0 Likes
0 Replies

I will need to build an API for a big project. Need advice.

I've used PHP extensively over the 5 last years. I've also used Laravel for a few projects of mine....

0 Likes
2 Replies
posted 5 years ago

I must have misconfigured something

I leave a link to a folder with a log file extract from my first attempt to install laravel. The log...

0 Likes
0 Replies
posted 5 years ago

Using Laravel Echo in service worker

I managed to use Laravel Echo to receive notifications in my Vue project, but when I close the brows...

1 Likes
2 Replies
posted 5 years ago

Why basePath is nullable?

In the constructor of Illuminate\Foundation\FoundationApplication.php, $basePath is nullable. Why is...

0 Likes
0 Replies

Routes not working

Hello, I'm new at Laravel. I'm getting 404 page not found and have no idea why. My routes list, as y...

0 Likes
1 Replies
Solved
posted 5 years ago

deploy laravel project

How do I deploy the laravel project in shared hosting with multi-domain hosting?

1 Likes
5 Replies
posted 5 years ago

Easy way to generate custom ID from database

I wanna generate ID like CUST-00001, CUST-00002 like this and product code like P-0001, P-0002, M-00...

1 Likes
3 Replies
Solved
posted 5 years ago

You don't have permission to access this resource.

i deployed my Laravel project to hosting but users cant see pictures in website. and we all get this...

0 Likes
1 Replies

jakub-onderka package abandoned warnings

Hi, I'm getting this warning when I try to create a Laravel project. Can anyone help me to resolve...

0 Likes
0 Replies
posted 5 years ago

API Can I create a resource for all api json response

I want to return a consistent format of json response to all my api routes. How can I do this effici...

0 Likes
0 Replies

user session sharing

Hello all, I have two apps made with 2 separate Laravels. Can I share the user sessions? If I login...

0 Likes
0 Replies
posted 5 years ago

How to disable function arguments logging in stack trace?

Below is the log getting printed when an exception occurs in application: "message" =>...

0 Likes
2 Replies
posted 5 years ago

Laravel API routes - Same path, multiple methods

Hello, I want to make manually, some endpoints for a customer model. I have these routes : Route::ge...

0 Likes
5 Replies

Install vue on new version of laravel7

I installed a vue on laravel7. But npm run dev give this error: @ development: cross-env NODE_ENV=de...

0 Likes
2 Replies

laravel + custom auth

I am using laravel 5.8 _I want to create an app that let user to register and logged in using only p...

0 Likes
2 Replies

Complex validation logic

I have a disclosure form that I only need to validate 2 fields out of six based on if the required q...

0 Likes
2 Replies
posted 5 years ago

How to get which page the user is trying to visit?

I have a server maintaining who has the permission to visit which page file. Each time someone visit...

0 Likes
0 Replies

Normal PHP application session,cookies handling in Laravel

Hello I am new to Laravel framework. My application is implemented on core PHP.We are planning to i...

0 Likes
0 Replies
posted 5 years ago

Authentication of download file

I have been trying to add a pay access before a file can be downloaded in laravel but I don't know h...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.