How to retrieve the 'logged in' user from a Sanctum token. For logging in I have the following method public function login(Request $request) { if (Auth::at
How to retrieve the 'logged in' user from a Sanctum token. For logging in I have the following method public function login(Request $request) { if (Auth::at
I want to return json wit all the data with a timestamp datatype turned into ISO 8601 automatically. This should be easily achievable after Laravel 7 but I stil
I am trying to create new Laravel application. I have installed XAMPP and Composer. With Composer ( composer global require laravel/installer ) I have installed
I want to let users of my website upload multiple files that could be in different folders. Using 'multiple' attribute in file input control doesn't let you sel
I'm trying to post a comment to my news post using the Laravelista\Comments but I got this error: Target [Laravelista\Comments\CommentControllerInterface] is no
I'm trying to figure out what the problem is. So, I use laravel blade templating for navbar section and I want to add route to my anchor (A href tag). After I p
Im trying to upload an image in my Laravel app. but have an error: array_key_exists(): The first argument should be either a string or an integer Im using the e
I am using a Laravel version 5.5 and using Passport for authentication. I have created token using: $token = $user->createToken('string')->accessToken;
This project was set up by another team and I'm unable to get passed this one error. Using PHP 7.2 and Laravel 6.2. My docker-compose.yml: redis: image: re
I need help about Axios. I develop a SPA webapp on Laravel 6 (with package SPARK) and VueJS (version 2). On a Vue component, I want to retrieve datas from my b
I deployed a Laravel-Livewire on Digital Ocean and now I'm having a Mixed content problem when I try to upload a file. Here is the error: UploadManager.js:131
I'm trying to upload an image to laravel's /storage directory. I'm getting an error fopen(C:\Temp\AppName\public): failed to open stream: Permission denied
How do I fetch name of locale (language) not just a locale string, but rather the name of that language in LARAVEL? {{ app()->getLocale() }}
My controller looks like this: public function store(Request $request) { $validateData = $request->validate([ 'name' => 'required|u
Laravel version:7.13, SqlServer:2019 SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: An existing connection was forcibly closed by
I want to get into Laravel development. As per Laravel's installation guide, I have installed Docker first, which was a first for me. But for me to finally inst
Simple question: How to get carbon get quarter for future date? Example: Given datetime: 2023-05-03 14:34:09 I want print which quarter will be using Carbon Not
everybody! I've finished a laravel project backend with postgres and it has a phpunit tests, everything it works. So, I did upload to Github. When I did "git
Would anyone know how to fix this I can't find any method that works online. My mongodb does work local but not on host. I'm using laravel with the following: