sanjayacloud sanjayacloud
11

Update quantity in darryldecode/laravelshoppingcart

Can anyone tell me how to update the quantity in the https://github....
jlrdw replied
Solved
Laravel
11
91
mikimh mikimh
2

Cypress logs out after axios request

I`m trying to make Cypress command for login, everything seems to work, but after I try cy.visit to sub page(not homepage localhost:8000) e.g. localhost:8000/#/settings pag...
mikimh replied
Solved
Propolis Propolis
0

Sharing a session between two applications (within the same domain) no longer works

Hi, I have two Laravel applications within the same domain. The two applications have two different subdomains. They use the same database and also the same session....

Jetstream Modal Not Working

So, I am trying to use the Jetstream components in other parts of the app to keep things consistent. Most of the components work great, but the set of modal and dialogs see...
cconey replied
Solved
zaghadon zaghadon
19

api routes not working on live server

the api routes in my laravel project works fine in localhost, when it is served by php server from localhost. But it doesn't work on the live server when it is served by ap...
Laravel
19
4654
MahmoudMonem MahmoudMonem
7

Trying to validate / prevent user from submitting multiple reviews for the same product

I have 3 tables Users | Products | Reviews in my reviews table I have user_id and product_id Once a user purchase specific product, he/she can submit review...
imrulhasan273 imrulhasan273
3

How to `hold` a dynamic value in JQuery like this?

success: function(data) { console.log(data); var AID = data[0]; var BR = data[1]; $('#ans_id_AID').text('hello'); }...
jlrdw replied
Solved
sarmadindhar sarmadindhar
2

SQL Query TO Laravel Query Builder Format

Can any body help me to convert this raw sql query to laravel query builder syntax `` SELECT YEAR(matches.init_ts) AS YEAR , MONTH(matches.init_ts) AS MONTH, WEEK(ma...
Martin20 Martin20
6

how to get Auth::user()->id in JWT Api ?

$user->user_create_id = Auth::user()->id;...
Laravel
6
110
saurav77 saurav77
5

How to manage large amount of data in laravel API ?

I'm working on a project where I need to send any data through API Route like Route::get('/allData','[email protected]'); function...
Prido Prido
1

Dynamically loading blade components

Am looking on how to pass an array or model data to blade component rather than passing a string... I have a main blade view which accepts data from controller then loads a...
andyandy andyandy
2

Problem with Voyager onlt on server, not localhost

I have existing project, I did composer require tcg/voyager php artisan voyager:install php artisan voyager:admin [email protected] --create A...
andyandy replied
Solved
dostogir dostogir
1

Retrieve Form Data

suppose i have two form in same php page. at first i open the page than only show the first form second form ar hidden than i submit the first form than show the second for...
Araw Araw
14

Why After Post Request My New Blade File is Not Open....

Why After Post Request My New Blade File is Not Open....????...
Araw replied
Solved
Laravel
14
234

barryvdh/laravel-dompdf table page break problem

Hi, so I am using barryvdh/laravel-dompdf to generate invoice table, but the problem is on page break. css: .page-break { page-break-before: al...
boby replied
Solved
Laravel
4
2210
imrulhasan273 imrulhasan273
1

how to perform onclick function on `modal` button in Laravel?

Modal Button Here is the button of modal. <div class="data-show btn" data-toggle="m...
MahmoudMonem MahmoudMonem
4

Unable to unlink/delete Product image after destroying the product itself

I have products that has one product image .. I add this image while creating the product like that .. also I have the storage folder linked to public folder...
saeed410 saeed410
2

Blade formatter for Visual studio Code.

recently I tried all formatters in the market place. But none of them work well. Please Introduce me a trusted formatter if you know.I'm exhausted :-(...
saeed410 replied
Solved
TomasAm TomasAm
1

Additional method in resource controller on Laravel 8

Recently I upgraded laravel to 8 and cannot find out how to add additional methods to resource controller. The "list" controller below is not working....
jlrdw jlrdw
19

Taylor discusses Jetstream and Laravel UI

Found this at laravel news: https://laravel-news.com/youtub...
General
19
516
rafidAhsan rafidAhsan
2

Can't update a boolean value

Controller public function g_acceptB(Request $request) { $garantors = DB::table('garantors')->where('loan_method', 'business_loan')->where('g_m...
meglo meglo
2

SPATIE, role and permmision

i have error like this Return value of App\User::getStoredRole() must implement interface Spatie\Permission\Contracts\Role, null returned if i doing edit data...
oxbir oxbir
1

How to update multiple checkbox row in laravel?

@snapey How to update multiple checkbox row in laravel? foreach ($request->educationals as $key => $educational) { $d...
rubenochoa rubenochoa
11

About custom messages validation

I am struggling to understand how to custom valid messages like "This e-mail is valid" to "The e-mail you inserted is not exist". according to...
Laravel
11
115
tallaljamshed tallaljamshed
5

The GET method is not supported for this route. Supported methods: HEAD.

Ive been experiencing this for some time now in different projects. but mostly without even changing anything. just on the first route '/', and recently created a new larav...
sshateri sshateri
2

Error while compiling the multiple imported stylesheet

I've included multiple stylesheets into my app.scss but the laravel mix is giving me a long error which I don't understand. all was working fine when there was only the fir...
Mix
2
41
MeisamTj MeisamTj
5

Token, JWT, Passport or Sanctum ?? Which one is the best for Vue app authentication?

Hi there, Loosing Blade helpers in Vue is a totally nightmare! Which one of these is more useful for Vue app in Laravel?...
Laravel
5
2519
MahmoudMonem MahmoudMonem
6

How can I get the percentage of discount between 2 prices in Controller

I have products table that has 2 columns price_before | price_after In the view I loop through all products @foreach($products as $product) {{$produ...
Laravel
6
102
andyandy andyandy
2

I've broken jetstream/tailwind styles with Bootstrap/SASS

I've installed jetstream/livewire and styles were OK. I then added Bootstrap + SASS. Which broke styles of authentication. I'm now trying to restore authentication...
andyandy replied
Solved
gitwithravish gitwithravish
5

Database Design tip.

Let's say I have these tables for a hotel booking CMS. /* hotels =================*/ id hotel_name /* hotels_rooms =================*/ id hotel_id room_na...
Ravish replied
Solved
Tips
5
66

helper function not working within my package

hey guys i added this code within my package composer.json and it still not reading the file or loading it "autoload": { "psr-4"...
Laravel
11
451
dk4210 dk4210
8

Form Submission on old values

Hello, I'm having a hard time getting the old values to "Stick" when submitting a form on the drop down with a foreach loop. Any one have any idea?...
tvnetservices tvnetservices
8

Laravel Nova Mastery relationship issue

Trying to get through the Laravel Nova series and am stuck on video #5. I get a column error even though I believe I have followed everything correctly. I did post over o...
Nova
8
76
rafidAhsan rafidAhsan
3

Insert multiple datas from an array to database

$garantor = new Garantor(); foreach($request->g_name as $name) { foreach($request->g_account_no as $number) {...
TerrePorter TerrePorter
8

Laravel 8 - route controller never loads

I have a new install but for some reason the i cant seem to get any other route to function, except the jetstream routes those work. Route::get('test', funct...
ideepesh replied
Solved
Create a New Discussion Button