Category "laravel"

Adding basic data to database - Laravel 8 + ajax

My laravel framework version is on 8.83.12 I am trying to build a form that creates a database entry based on Vehicle data, Make, Model, Version.. etc. My Model

Laravel - How to have two datatables in one blade view

I am a laravel beginner. I currently have a project in progressing which need to have two data tables in one page. In my past project, I only know how to make j

i want to get Instagram profile total followers and following and post get this error 429 Too Many Requests on laravel

I want to get Instagram profile total followers and following and post get this error" 429 Too Many Requests on Laravel. I need for it to show my users profile

Using mysql in github workflow always leads to SQLSTATE[HY000] [1045] Access denied for user error

Im currently configuring a CI pipe for my laravel project via github actions. This is my build.yml file # GitHub Action for Laravel with MySQL and Redis name: A

Can i use my oauth 2.0 client id created in my laravel website for flutter app in simultaneously?

I have an online store that I built by Bagisto, which depends on the Laravel platform and I created my oauth 2.0 client id in https://console.cloud.google.com/

Delete Rows Older than 30 Days Using Laravel Eloquent ORM

I'm trying to delete the records from my database table that are older than 30 days. I haven't executed the code because I wanted to check if I'm doing it right

Laravel array value get to show one by one

My database My blade view But I want to have this My controller $profiles= Profile::where('id', $id)->get(); return view('artists.profile_edit',c

http to https and www to non-www not working correct with laravel 8 URI links

I searched a lot of about this topic to redirect all urls to https://my-domain I want delete the www and add https. I found a lot of answers this one work good

No alive nodes. All the 1 nodes seem to be down

I am trying to use Elasticsearch 8.1 using laravel. My elasticsearch instance is running at port 9200. https://localhost:9200 returns me { "name" : "node-1",

Laravel | Route not defined

I have a problem in my Route. I see this error: Route [utilizadores.editar] not defined The error occurs on the page when I try to update the data in my DB. M

How can I force a refresh in my spa website with vuejs - laravel

Hi I know that this had been spoken but I have tried everything and nothing works.. so I come here one more time to ask a final or a solution to the big problem

How to get top 5 tags of Category from posts Laravel

Hi I've 3 Modeles Post, Tag, and category , post belongs to many categories as well as tags. I want to fetch the top 5 tags of the posts for the given categori

Laravel 8: How to set default value of all enum values

I want to assign all default values for allowed_file_types column in products table which are all values of enum FileTypes. But now I have no way to do that. Ca

Illuminate\Foundation\Auth\User returning keyType: int

I am using the following trait to generate UUID's for my user model. I have setup a listener to the following event: Illuminate\Auth\Events\Login. This works wh

How can I send JSON data from local storage to controller in Laravel?

I want to send the json data from view to controller using ajax. How can I achieve that? The data in local storage is [{"productId":2,"productCost":"630","produ

HTML returning as text Laravel Controller

I am trying to return HTML from Laravel controller, but it is returning as plan text: Example: <input type="checkbox" class="row-select" value="9"> ->a

What is the best practice to query this type of data in laravel?

I have 3 tables structure like below:- products id name 1 apple 2 orange branches id name 1 Branch 1 2 Branch 2 stocks id branch_id product_id qty 1

Laravel - Sanctum Remove Database Id From Generated Token

Currently I am building rest API using Laravel. For authentication, I am using the Sanctum package. Every time a user is logged in it generate a token that look

CKEditor5 Vue(tify)2 Laravel - Cannot read property 'getAttribute' of null

I followed this https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/frameworks/vuejs-v2.html#integrating-a-custom-build-from-the-online-bui

Images don't save using Faker Image in seeder

I'm doing a project on Laravel 7 with FakerPHP, I want to populate my database with some random images and at the same time saving them on my local storage fold