abdulrafey38 abdulrafey38
2

Validations

I want to put a validation where combination of three columns (section_id, course_id, faculty_id) if repeated is not allowed, how to acheive it. $va...
Rockett Rockett
2

Improving problem solving & logical thinking?

Hi all, Currently learning Laravel and a lot of stuff is making sense therefore I do understand why things are working. However, when Jeffrey is refactoring function...
princeoo7 princeoo7
1

Laravel Valet not working after updating public to public_html

I had to make public to public_html due to server requirements. Now the issue is, its working with server but not on my local machine. It gives...
theUnforgiven theUnforgiven
14

Decypher this...

Sorry, I'm running on 10 mins sleep in like 30 hours now, thanks to my lovely 1 year old...However I'm having a brain freeze... I have this as a collection:...
imrulhasan273 imrulhasan273
2

How can I convert `data[1]` to integer format in JQuery-Ajax?

$.ajax({ type: "get", url: "{{ route('ajaxReview.rating') }}", data: { id:...
jvbalcita jvbalcita
3

Inverse Relationship

This seems to be a simple question but I'm trying to figure it out. I have the below Models Student -> BelongsTo Course Course -> BelongsToMan...
princeoo7 princeoo7
7

how to search result in data appended in model ?

I have 2 tabled, First is category and second is categoryTrasnlation. As the name suggest. 1st table save based data for a category a...
JeroenvanRensen JeroenvanRensen
3

JS - Reg ex new value in str replace

Hi everyone, I have got a problem with Regular Expressions. I do have this string: https://nl.wikipedia.org/wiki/Republikeinwever...
Norbertho Norbertho
3

Store users selected language option

Hi, I am creating an app.and currently I store the user selected language option in session and it works perfectly for example if user selects English language then I stor...
DevTron2k DevTron2k
1

CookieValuePrefix NOT FOUND

Hi, I've been stuck with this for error for the past several hours... Error Class 'Illuminate\Cookie\CookieValuePrefix' not found I've deleted 'vendors...
Boubou Boubou
2

Laravel and redis security questions

Hello, I have just installed Redis to work with Laravel. Quick question please. I can see that in the redis installation it automatically bind the local serve...

When to use an Event or Job ?

Hi there, I am watching the course "queue it up" of Jeffrey. And I would like ton understand when should we use an event or a job ? Also, whats motivate ou...
skoobi skoobi
1

Vapor AWS IAM access denied

Hi. Im trying to setup Vapor on my machine but every time I try "vapor init" and create a new project I get through the app name, location and then I get::...
Vapor
1
35
leostereo leostereo
1

laravel in a docker ?

Hi guys , just would like to know if can recommend some easy to install and use docker image with out of the box laravel ready to use. I have been about laradock, is there...
ivanleoncz69 ivanleoncz69
3

Check whether the json value is empty or not

I have a JSON data in the table field. For example, - [ 'send_message_via': 'web' ] Or if it is empty, then will be like that-...
George12 George12
4

Redirect to route with data

Is it possible to redirect to a named route with data? Something like: return redirect()->route('homepage', ['message']); I do not want...
Laravel
4
2603
Hilbert Hilbert
6

How can I return a value with redirect back

After a form submit I am calling result method and from there I am running a query $calculations = Transaction::where('product_name',$request->product)->where('real_d...
lse123 lse123
5

can you debug --- how to create App\Mail ????

can you debug --- how to create App\Mail ???? history cmds: 337 composer require guzzlehttp/guzzle 338 composer fund 339 php artisan make:mai...
larsverp larsverp
4

Heroku error laravel Auth routes

I'm trying to deploy my site to heroku. I deployed around 3 more sites and they never caused any problems. However this site is my first site where I am using the build in...
Laravel
4
393
golapraj golapraj
3

how hints email before send password reset link

I want to show a hints (e.g a password reset link has been sent to a****[email protected]) when sending password reset link. can anybody help?...
General
3
158
bballantyne bballantyne
3

Horizon doesn't read jobs from Redis

I need some guidance please. I've read all the Horizon-related questions but I still can't pinpoint the source of my issue. I have Horizon installed on one server,...
ChrisF79 ChrisF79
5

How to save to a database with multiple tables?

I have a Users table and an Address (mailing address) table and I have the relationships set up as such: User Model class User extend...
yeasir_arafat yeasir_arafat
8

Migrating an old project to latest

I am planning to migrate a laravel project built with laravel 5.2. I have a list of new features that i want to add to my project, but i want to develop these in laravel 7....
Servers
8
123
IvanRadojevic IvanRadojevic
2

Property [type] does not exist on this collection instance.

This code in controller is working: return $activities = $user->activity()->latest()->with("subject")->get(); but this...
pcabral pcabral
15

Laravel in Container

Hi @all! I am trying to put my app inside a container. I a using alpine PHP image with the base image. When I try to access my application...
Laravel
15
147
nafeeur10 nafeeur10
4

JSON Exception is taking to Login Page but need to show the errors in Modal

I am using Laravel and Vuejs. I want to Store Data in Database. I am validating my data like this: try { $this->validate($request...
PetroGromovo PetroGromovo
2

How can I generate access error and error message, leaving user on the page?

Hello, In laravel / jquery apps if I need to make checks if user is logged I make in controller: $loggedUser = Auth::user(); if ( empty($loggedUser-&g...
mstdmstd mstdmstd
2

I got memory lack error in docker installing laravel plugin

Hello, Trying to add new package in laravel 7 under docker I got memory lack error : # composer require nunomaduro/phpinsights --dev Using version ^1.14 for...
chrisje59 chrisje59
1

Upgrade to Laravel 6.18.35 breaks auth:api route authentication

Just in case it may save someone's day, I want to share an issue I resolved earlier today. After running a Composer update, the API routes were failing authenticatio...
PhoeniX5 PhoeniX5
10

Laravel prevent form resubmission on page refresh

I am using ajax to submit data in MySQL tables and display it in another view, the problem is that when refreshing the second view (F5 / CTRL + R) it resubmits all the data...
Laravel
10
145
imrulhasan273 imrulhasan273
5

How can I get the value of `<a>` tag from blade into `js` file using JQuery?

<div class="p-rating"> <a value ="1" type="button" class="btn RatingAjax1"><i class=&quo...
Chron Chron
9

How to only load needed js file?

I'm using Input mask v3.3.11. Here is the github: https://github.com/Ro...
General
9
109
ortho ortho
1

Videos on feature testing in laravel

I have made a medium post and youtube video series on feature testin in laravel, what do you guys think?...
Create a New Discussion Button