zakariaarrid zakariaarrid
2

Live chat in laravel

Hi , I want to add live chat between admin and users, any ideas please...
nacha nacha
14

how to update order status in admin section?

I'm a beginner in laravel and I'm weak in programming but I'm trying to improve in learning programming and I'm trying to make an Ecommerce site so my problem is about orde...
Laravel
14
49
armancodes armancodes
0

Route model binding in the Laravel core?

I was wondering where is the file doing the route model binding in Laravel core?...
nizam0786 nizam0786
2

A4 page generator with fixed header and footer from HTML

Hi Guys, I was wondering if there is a package or a way of automatically generating/splitting a html page into a4 pages so i can easily print it out. I have tried pr...
lukefivedev lukefivedev
0

Placing httpd.conf for Laravel/Composer newbie

One of my clients handed me a project built in Laravel/Composer, so now I'm installing. The process has been smooth except the tutorial at webhostface says the httpd.conf f...
sunilbfcj sunilbfcj
0

the second exists validation rule return invalid error

I want to check my tax class is in a table or not using exists. My first validation rule working fine but not second. // Create method accessing shipping and...
orhdoga orhdoga
4

Laravel Pusher Doesn't Join Private Channel

Hey, there. So I'm using Laravel 5.8, and I have this problem in which my Laravel Echo code doesn't trigger Pusher to join a private channel. When I switch things up to a p...
giorg giorg
0

best approach

hey all, I need an hint on this: in my laravel app every user must authenticate to use it. If user is not admin, I need to check a value in the db, and if a condition is sa...
SimoneSalerno SimoneSalerno
6

Eager load hasOne relation with orderBy

I have a Customer model which has many Orders. I have also a lastOrder relation defined as public...
nacha nacha
0

How to make related products in single product page with pivot table in laravel 5.8?

I try to make Related_Products in product single page I want to show other products have same category id with pivot table product_categories(product_id , category_id) I tr...
Tarasovych Tarasovych
15

How can I remove links and meta from ResourceCollection response?

So I call my ResourceCollection: new UsersResource(User::paginate()). //class UsersResource public function toArray($request) { retu...
Laravel
15
1085
SupunSam SupunSam
10

Laravel Excel Export with HasOne Relationship

Hi All, I am trying to export database data to excel using the following code in my export file: return JobPreflight::wherePreflight('1')...
Laravel
10
102
James_Moore James_Moore
3

Code Review: Made a simple package

I created a simple package https://github.com/James-N-M/chuck-norris-ips...
Tips
3
42
noblemfd noblemfd
5

How to validate Laravel textinput with keyup using jQuery

In my Laravel-5.8, I have this controller: public function create() { return view('goals.create') ->with('goaltypes', $goaltypes) } public fu...
shashi_verma shashi_verma
4

what are the difference between the laravel 5.6 and 5.7..?

Laravel 5.7 has been released few days ago , can anyone tell me here what are the main difference between laravel 5.6 and 5.7. thank you...
Laravel
4
407
FrankClark FrankClark
3

Prevent Making Request for the Same Image Multiple Times

Hello There, Just want to get some ideas of best approaches to an issue. let's use a profile picture as an example. You may wish a single profile picture to e...
Vue
3
94
FrankClark FrankClark
5

Laravel Eloquent Conditional BelongsTo relationship

Hello There, I'm having to shoe-horn in an extra layer into my laravel project and trying to find an elegant solution to an issue. I have organisations, customers,...
FrankClark FrankClark
0

Personal Access Token Based on User -> Customer Combination

Hello Forum Peeps, I have a bit of an odd one, all i'm really after here is how best to approach the issue, and where I should even start looking / overriding....
chandy chandy
2

trim() expects parameter 1 to be string, object given

Hello Guys. I keep on getting this error. I created a new application then added requests, models , controllers and when i added routes for the application, this error came...
somenet77 somenet77
7

How to display exception error msg ?

I have issue while displaying the exception in json format. My problem is if i hit url with record exist (...
Laravel
7
104
youssefboudaya youssefboudaya
1

How to change the language of strftime function in php

I have a Laravel project that have a blog module in it.In my localhost the date of creation of the article is displayed in french which is correct but when i publish my pro...
Laravel
1
547
fuzzyduck fuzzyduck
0

Eager Loaded MorphTo through Relationship - Trying to get property non object

class Quiz extends Model { public function answers() { return $this->hasMany( 'App\Qustion', 'quiz_id', 'id'); } } class Question extends Mod...

using code (active in development) in multiple projects

I created in one of my projects some code that I would like to reuse in other projects. But that code is still active in development, and I use it in projects which are als...
Mick79 Mick79
5

Realtime Update With VUE

I have battled with VUE for a couple days now and I have what I need ALMOST complete but one thing eludes me; real time updating. I started this in another question but so...
Vue
5
106
senrab senrab
6

Carbon Object gets lost?

Hi all, I'm fairly new to Laravel - I'm still learning. (I come from CakePHP, so still lots to figure out!) I have a date field on my User model last_login_at...
frankwall frankwall
5

Carbon\Carbon::startOfMinute() Production 500 Internal Error

I'm developing a website that uses Carbon for setting start dates and end dates for promotional campaigns. In the dev environment, I've got it working without issue. When p...
Gabotronix Gabotronix
1

Is there an easier alternative to Stripe SDK

Hi everybody, in my personal EU based project I want to have one time charges and posibly subscription billing in the future, I heard good things abut Stripe so I decided t...
bwrigley bwrigley
7

How to ask Faker to generate text over $x chars long?

Hello, Hoping this will be really simple. I have verification on a field to ensure it is no longer than 500 chars: 'about' => ['required', '...
m4riachi m4riachi
0

Auth: user take an other user session

Hi every one I found a problem in my laravel 6 app, a user can get a session from an other connected user. Its can be done when the user send an AJAX GET quer...
afoysal afoysal
10

Mcrypt PHP extension required

I am trying to run below project in my localhost. https://i.stack.imgur.com/H...
Laravel
10
99
Scrutunarace1977 Scrutunarace1977
1

Issue with Socialite + jwt-auth + vue

I am really stuck on the oauth2 setup with my application. These are the packages I use. Socialite for oauth2, jwt-auth for access tokens, vue for my frontend. I am...
jinsonjose jinsonjose
0

->withInput() return on try catch() ??

in laravel controller how return ->withInput(); on try catch() when using in ->withInput(); page refreshed try { $sector_contact = DB:...
finchy70 finchy70
0

Validating Excel Imports

I have the following code which imports from a tab named Cells on an excel spreadsheet using Laravel Excel. namespace App\Imports; use App\Cell; use App\Rep...
belykia belykia
6

why error message even with nullable laravel 5.6 ?

hello everybody : i have 5 fields in a form that i created , but i got an error , even when i wrote 'nullable' in the controller for some fields that their not impor...
Laravel
6
217
Create a New Discussion Button