I'm using Laravel framework. I want to change the default code style format from this: return [ 'name' => 'required|min:4|string', '
I have the following code in a Livewire Component <x-input.color wire:model="foo.name" wire-test="foo.name" /> So I am trying to use a Blade Comp
when i run the following query, results are listed multiple. there are 3 records in the table but it lists 5 $adverts = Advert::where("category_id", $category-&
How to Get the start_date end_date of month, week or day of closed_at date in a filter. i want to fetch start_date an end_date of closed_at The two dates specif
I want to install ckeditor to add blog posts to my Laravel 9 mix and vue js 3 project. If I do as the ckeditor says on his page, the ckeditor will not appear un
What am I doing Open FTP -> public_html -> laravel folder. Copy all files from local directory to laravel folder Open URL of the site and get this on the
Hi guys I saw many times this problem and I solved it but this time I cant see where is the problem, I have been blocked for several days, so I would like someo
I am issuing a problem with the following: I foreach-ed my categories from index 1 to 3 in my blade file. Code @foreach($categories->take(3) as $category) &l
I have a department table. Here is a column name created_by. It stores the id from users table. I want to call the users name from created_by column's id. But i
i have this data, I want to loop with categories for each question. Right now all I can do is loop by displaying sequentially for each question (as in the image
I made a manual login system in a Laravel 9 API that it's works correctly, but when I try to use Auth::user() in another controller, I get it as null, but when
I have 2 lines of code here but i want to combine all 2 lines into 1 // How to combine these 2 lines here $product = $this->productService->searchProduct(
Greetings to the community! I have recently developed a web page with Laravel 9.X, which works correctly in local, but when I upload it to my Host, I am having
I'm using maatwebsite/excel to import an excel file with laravel and save data to database In my excel file I have a column name "Ref" and an other name "toRef"
In a headless Laravel project we use unit and feature test. The unit and feature tests checks the input and output of the requests and the methodes but they won
I am trying to add a copyright symbol onto an image with the ImageManagerStatic in Laravel, but it does not convert the code (©) to the symbol (©)...
I am trying to create a unit test for one of my api. In the frontend, I send it this way... params = { participants: JSON.stringify(participants), secti
I am trying to understand the basic flow of laravel sanctum in a SPA(vuejs) application. So far what I understood is: #It creates a middleware for API authentic
I'm trying to set up laravel horizon to run on my google cloud (run) containers. I have gotten installed successfully, however when I navigate to the dashboard,
After login, page should redirect on dashboard component and it does but then again redirect on laravel app url Route : I have used Vue Router const routes