nikocraft nikocraft
2

Are there any cons of having more then one json column in a table

I'm using laravel and I have currently more than 1 json column in a table. Should I put all json stuff into one column or is it ok performance wise to use multiple columns...
oliverbusk oliverbusk
13

Advanced relationship in Laravel

In my web application, users can upload documents or emails to channels. A channel can furthermore then have document_ta...
Laravel
13
127
vincej vincej
15

How to format nested set table data to work in JsTree?

I have been trying to use jsTree.com to deliver a dynamic tree of categories in my view. However, despite following the instructions as given both...
Laravel
15
127
bobmulder bobmulder
7

Rapid controller (CRUD) development for Laravel?

Hey all, In the past I've worked a lot with CakePHP. There is a plugin called Crud (...
sharifghaderi sharifghaderi
22

Ho to execute a specific migration

Hi, I'm working on a big project and have created a lot of migrations. The problem is that I didn't find any way to run a specific migration e.g. by migration name, like we...
Laravel
22
8384
AlexandruDraghi AlexandruDraghi
18

Reset password link from e-mail not working.

Hi everyone, Recently we changed the Laravel version to 5.3 and the password reset function are no longer working. I succeed to fix the send e-mail party but when I click o...
Laravel
18
1187
zahidnazirkhan zahidnazirkhan
1

Forgot Password

Hello Everybody, I am implementing Forgot Password functionality, but facing issues with password_resets table not storing any record related to every password reset...
babonday babonday
29

how do you handle a user when their session timesout in laravel 5

wow sorry to ask this question but it seems everyone asks this question on here or stack overflow at very different times in their journey.. i must be looking in the wrong...
Laravel
29
160
FareedR FareedR
0

checking multiple table for unique validation

i separate table by their role. how can i check their email has been taken or not & how can i update same user with same email address ? can i just put ignore('$user-&g...
FareedR FareedR
3

Validation on required_if

how can i ignore "amount" IF "fee" = 2 ? i keep getting rule for integer on "amount" . do i need to use bail or something else ?...
me10071990 me10071990
30

What is best way to make every category page with new designed

Is it possible to make new design for every category as I have created category with id ex home id 1 product id 2 contact us id 3 about us id 4 thank you all...
Laravel
30
167
mouzak mouzak
1

(1/1) FatalErrorException Maximum execution time of 60 seconds exceeded

hello, the execution of my query is very slow so I have this error (1/1) FatalErrorException Maximum execution time of 60 seconds exceeded. Please help me optimize it. Than...
PHLAK PHLAK
1

Logging Raw Data

I have an application running in GCP and want to be able to take advantage of StackDriver. In order to do some things I need to log a raw string of JSON. However a...
rui.melo rui.melo
1

Adding colors to Log Facade

Is there an easy way to set colors for the Log Facade console and file output? Everything I've searched is overly complicated in terms of registering a new facade wi...
aishahyaacob aishahyaacob
2

how can i get data from database?

i want to display also totalmarks in suggestion view, my plan is this view display the totalmarks also with the suggestion. here is my display.blade. this is my display vie...
sraines sraines
1

Conditionally transform collection data

I have an array of associative arrays that I've turned into a collection. Looks something like this: [ ['id' => 1, 'customer_orde...
gaan10 gaan10
1

Want to implement payment gateway into the api .

Hello,I have been trying to implement payment gateway into my api but am not successfull. Payment_request_id i am able to save but payment_id i am not able to save to my db...
keevitaja keevitaja
1

Displaying embed images using rendered mailables in browser

is it possible to show embed images while rendering a mailable to browser? src="{{ $message->embed(storage_path('app/media/590_e-shop_header.jpg')) }...
doproj123 doproj123
1

laravel 5.8 - cutom rule validation with array with values as paramter and query database

I need to create a method that will retrieve several data from the form and substitute for querying to database. This is simple reservation. Before entering the database I...
PhoeniX5 PhoeniX5
3

Laravel error "array_map(): Argument #2 should be an array"

I am developing an application but i keep getting this error: C:\Users\...\vendor\laravel\framework\src\Illuminate\Validation\ValidationRuleParser.php...
nogepog nogepog
8

how to access json values to check conditionals

I have converted a model to JSON which returns the following [{"car_id":1,"pieces":"6"}, {"car_id":2,"pieces":"...
Laravel
8
103
uccdev uccdev
1

Write a command line script in Laravel to check courses?

Hi, I'm trying to search every account in my endpoint ht...
kaushal kaushal
6

For multiple file uploading i am using following validatin rule but whather i am uploading an image or not it is giving me 'Please upload an image only' error message.

public function store(Request $request) { $this->validate($request, [ 'images.*' => 'required' ],[ 'images.*.required' => '...
kuns25 kuns25
3

Error Exception Array to String Conversion in Curl

Hi I'm trying to to Integrate Hubtel Payment Gateway but getting Array to string Conversion Error Exception . if i do CURLOPT_POSTFIELDS =>http_build_query ($invo...
shivaprakash shivaprakash
4

tawk.to(chat tool) integration to laravel project

Hey Guys i've been learning laravel for the past 3 weeks.I have made a website with a login page and search bar. Now the next step i have been facing issues with adding the...
FareedR FareedR
1

How can simplify condition based on role

What i want to achieve is 1) Button "unassign as President" only for user has role President 2) Button " unassign as Secretary" only for...
DavidPetrov DavidPetrov
3

Laravel maintenance mode troubles

I checked my laravel version and it's 5.6.18, somehow anyway the attributes for the down command are not working properly. First, it says option --allow...
MarlonV MarlonV
2

Saving many to many

Hello guys, The first relation is user has many children and child belongs to user. but also has the child a many to many relationship between children and events. M...
stargatesg1 stargatesg1
20

QR Code Generator

I was wondering if there is a laravel library to generate QR Codes?...
Laravel
20
1920
dontsaygoodbyebecause520 dontsaygoodbyebecause520
1

How to laravel echo broadcast except sender? laravel-echo echo-server

I make one to one chat system, but I dont want broadcast sender...
fkindy01 fkindy01
1

Axios Laravel Request Fields Handle Empty

I am making an axios post request in my med.vue file axios.post('/proposals/medical_search',{ name:currentOb...
vegasys vegasys
4

How to validate URL query parameters?

Hello, https://youtu.be/-1Hh-Hj4ZyU?t=648 Here it says : if...
Belhedi Belhedi
3

Retrieve data with eloquent relationships

Hi guys.. I have a model called (Departement) which have a one to many relationship with the (Teacher) model : class Departement extends Model { protecte...
Calvin03 Calvin03
8

Hi guys im trying to show the indicator list of specific users added indicator list

Hi guys im trying to show the indicator list of specific users added indicators but it says undefine variable im trying to use one to many relationship but it has an error...
leafman leafman
4

Compare two datetime with current date

I have a field, start_date and end_date, and also duration (int). if the duration is 1, that means the post would be active for 24 hours, and if the duration is 3; the post...
Create a New Discussion Button