greevesh greevesh
15

Trying to Retrieve Corresponding Product Data When Clicking on Product

I'm building a videogame store. I have my 4 categories (playstation, xbox, nintendo, pc). Each category view and controller retrieves the product details from a MySQL datab...
Laravel
15
100
Jaytee Jaytee
0

For those looking to building an application regarding Esports/Games

I've just open-sourced my first project I built when learning Laravel almost 5 years ago. I've seen quite a few threads on Laracasts in the past with users who have similar...
mhebs mhebs
7

Custom Text for confirmation Undefined method confirmText()

Hello, I'm trying to follow the docs and adding custom text to my action confirmation....
Nova
7
51
BrownieCoffee BrownieCoffee
7

Is it a good thing to have many textarea ?

Hi, I have a textarea and I would add anothers on click on a button ( like this video :...
myke2424 myke2424
1

Create default data when new users are created

Is there a way in laravel to create default data, for a user once they're created. I want it so when a user registers, they have default values of 0 for each time entry in...
tobz.nz tobz.nz
0

Mocking in feature test

Hi, I'm having an issue with mocking in a feature test - maybe this is bad practice(is mocking more a unit test thing?) Anyway, the mock seems to be setup in...
maclervil maclervil
1

Allow CORS in Laravel

Laravel Socialite is giving me a Cors problem. I'm using laravel 5.8 and Vue Components. I was trying to create a Middleware, it didn't work, neither did thebarryvdh/larave...
Gabotronix Gabotronix
1

Question about server date and laravel cron jobs

Hi everybody, I just learnt about cron jobs in the server and larave crons, in my laravel apps I set timezone in .env file like this: APP_TIMEZONE='Europe/...
Gabotronix Gabotronix
1

Model not returning properties with default value after creation

Hi everybody, in my controller after I create a new Post I return the new post in a post variable, for some reason I don't get the properties with default values back, I no...
dtunes dtunes
2

Envoyer "cache" vendor and node_modules to {{project}} path an acceptable practice?

Hi all, I'm setting up a couple of deployment sites with https://envoyer.io, just checkin...
RomainB RomainB
0

Resource on freshly created model > related_id in pivot undefined

Hi. I have two models: Website(parent) and Keyword(child), with a ManyToMany relationship. In [email protected] and update call, I want to return the we...
amit123 amit123
5

syntax in if-statement condition

I am new to laravel and php and I am working on a project that someone already started implementing before. if ($user->uid == 1 && ! !! $user->groups-&...
Laravel
5
353
Khalid_Hussain Khalid_Hussain
5

What is DOM manipulation in JS?

please any one here strong in JS. I need help in DOM manipulation using JS....
Ricardo Ricardo
0

Horizon is processing jobs but recents jobs is always empty

Hi there, It worked some time ago, not sure when starting to fail. No clue where to star Thank you for your help...
Atef95 Atef95
8

Group by parent_id

Hey guys I've the following scenario I have a table called orders that has many product_prepare product_prepare...
gazd1977 gazd1977
2

Accessing Cookie in PHPunit Test

Hi Everyone, I'm trying my hand with phpunit and trying to test cookies, but i am having difficulty accessing the cookie to check its value....
VincentKos VincentKos
6

When it's too much

Hello, i always feel like I write too many test and most of them aren't really usefull. For example i'm working on a small api so I started by writting test for my u...
Testing
6
110
kingshark kingshark
5

Using Passport, Personal Access Token Expiration behaviour?

I'm dealing with Laravel Passport, and confused by something: Does personal access token expire? I checked newly generated personal access token in table...
Laravel
5
214
itxrahulsingh itxrahulsingh
10

Taking sql DB backup through Custom artisan cammand

Am taking a MySQL DB backup with custom generated artisan command, the command runs successfully ans also created a backup file but the file is empty. <?...
Laravel
10
120
Garet Garet
5

Best way to separate config file for development and production, without using env file!

I'd like to know the best way of separating a configuration file, so that I can have different configuration between development and production. "Use the .env f...
kdiaz489 kdiaz489
1

Generating Order Number and Saving

Hello all. When i go to a page i have created (Create Transfer In Order), i need to generate a unique order number and save for that user. Whenever I refresh the page, it c...
DoeJohn DoeJohn
1

Unable to JSON encode payload. Error code: 5

I'm working on Laravel (v5.7) app that converts uploaded CSV (with contacts) into array that is then passed as argument when job class is being dispatched. Here is t...
uccdev uccdev
0

How can I use Passport Clients to log into my Passport-protected Application?

Hello, I'm working on a project that wants to require users to be signed in as an admin. I've created a few Laravel clients using php artisan passport:client -...
hasen39 hasen39
4

In config.php line 494: Call to undefined method Illuminate\Validation\Rules\In::__set_state()

here is config.php 'storage/framework/' => '775', 'storage/logs/' => '775', 'bootstrap/cache/' => '775', ), 'environment' =>...
BrownieCoffee BrownieCoffee
3

Summernote : upload image only from server ( remove upload image via link)

Hi there, I have a question about summernote. I didn't find out solution. I use summernote to white articles. I permit users to upload images but I don't want they u...
masumluf masumluf
6

General error: 1364 Field 'first_name' doesn't have a default value

Hello Developers, Good day , I got this error while submitting my form General error: 1364 Field 'first_name' doesn't have a default value But when I dd($requ...
elieandraos elieandraos
0

Package feedback

Hello Laravel/Vue folks, I have created a npm package to validate data and form submissions in Vue. it is much inspired from Laravel validation rules and api....
Vue
0
24
RafaelMunoznl RafaelMunoznl
4

Loop inside a loop. Continue at the index+1 where the intern loop stop

This is a kind of twit togue, but I try to explain as good as I can. I have a loop inside a loop as you could see here: @for($i = 8; $i <= 17; $i++...
Kanchan186 Kanchan186
19

checkboxes are not displayed

view <div class="row"> <div class="col-12">...
Laravel
19
108
Internet Internet
0

NuxtJS + JEST is giving compiling errors

Hi all, I hope someone can help me (and I hope I'm in the right channel for this). I am trying to run NuxtJS with Jest, Typescript, TailwindCSS and ESLint. Cu...
Vue
0
11
lalitesh lalitesh
5

Mobile/ Phone number validation

Is it possible to extend the L5 validation method to validate the mobile/ phone number?...
General
5
1704
ccampello ccampello
12

It could be more simple to change the Nova logo image

Hi there. I know where the file is: resources/views/vendor/nova/partials/logo.blade.php What I don't know: How to easily gener...
Nova
12
543
erigra erigra
3

Custom certificate with Laravel Valet

I'm using Laravel Valet in my local environment, and I have secured in by running "valet secure". However, I would like to use a custom certificate, and I can't f...
Hristo098 Hristo098
0

Problems with the set up of Spatie/Browsershot in Laravel in Windows

Hello, guys! I'm using Laravel for a project and trying to operate with Spatie, I followed this repository especially for Laravel set up:...
ChrisSFR ChrisSFR
0

Laravel Horzin Job stucks

Hey there, I have a problem with our Laravel Horizon Setup. My jobs are stucked in the Queue, after a while a failed job pops up and for the runtime column it is sa...
Create a New Discussion Button