AwadGorg AwadGorg
1

Image Intervention return Image source not readable when i try to upload images

Hello, I have these images upload code that when I upload images on my serve it returns Image source not readable but when I try the same file at my localhost file uploaded...
Abdullah_Iftikhar Abdullah_Iftikhar
4

Problem with belongsTo() relation and blade file.

Hello every one. {{$professional_position->position->belongsTo['status']}} Whats happening with it. I want to call a belongs to relation in blade file but its...
Abdullah_Iftikhar Abdullah_Iftikhar
9

JS hidden filed Issue please resolve it fast.

Hello! I have a question for JS expert. I have a collection of data from database in form of table. I want to open a bootstrap model for each record and model consis...
Abdullah_Iftikhar Abdullah_Iftikhar
4

Expiry date Issue in laravel

How i can identified this document is expired or not. Like a person have document expiry date is 11-12-2019 how can i identified it's document expired or not....
Van1310 Van1310
11

password & confirm password error

when i try to set validation using request in password and confrim password, when i enter password "abc" and confirm password "abc2" then redirect to er...
Laravel
11
76
ignisrzeus ignisrzeus
5

Conditional Fields in Resources (Optimization Question)

Hi Laracasts. I have the following code below in my AgencyResource: 'id' => $this->id, 'name' => $this->name,...

imgur.com

How long does imgur.com store the picture we paste there?...
frsiswanto frsiswanto
3

How to disable throttle or rate limiter ?

Hi. I need help from you guys. I want to disable rate limiter because I want to make some load test, and I already make comment on Kernel.php: 'api'...
RomainB RomainB
3

Using withCount('a')->having('a_count', '=', 0)->delete() erase all the table!

Hi. I've got an issue which is pretty weird. I have two models with ManyToMany relationship: Website and Keyword. I'm using [email protected] to "...
swimmer swimmer
32

Click on li with a class

I am trying to fire JS on my local computer with the help of tampermonkey which is a Google Chrome extension which allows you to inject JavaScript to any website on your l...
davy_yg davy_yg
6

Form helper

I have been looking in the documentation where form helper is documented. {!! Form::post(route('voucher.store'))->multipart() !!} {!! Form::text('voucher...
extjac extjac
3

Laravel 6 make:auth is not defined.

anyone using laravel 6? tried to run make:auth and it seems that is no longer available....
General
3
972
matildah matildah
5

Target class [App\Http\Controllers\EventsController] does not exist

theres a create button on my admin page where its supposed to open the create page <a href="{{route('create')}}">Add Event</a>...
bigweld86 bigweld86
4

Validation is filtering out fields not listed in Rules

Hi. My FormRequest validation seems to be filtering out the fields not listed in the rules array. Here's my file: <?php namespa...
lemmon lemmon
14

php artisan not working

After I create a project using either "laravel new blog" or: composer create-project --prefer-dist laravel/laravel blog "5.8.*" so version 6 or version...
Laravel
14
921
charlescoiffier charlescoiffier
7

switching a boolean in my model

Hello, I am discovering Laravel and I have a problem that I can not solve. I want to switch a boolean of one of my models with a button but it is not working....
KimAndersen KimAndersen
7

User roles in Laravel 6

I've been searching the net empty, and still haven't figured out what I am doing wrong! I am trying to make a simple middleware where I decide if users has the expec...
DawgOnKing DawgOnKing
3

strtoupper @foreach $var

I just want to output the following loop vars in uppercase: @forelse($airline->hubs as $hub) Right now a $hub is stored in DB as abc and...
DawgOnKing DawgOnKing
1

If remote img src exists?

I'm using clearbit API to provide logo for companies and occasionally they will change the url or simply fail to load. For such occasions I need to see if img path returns...
Ltloafer Ltloafer
5

Change to APP_URL preventing login

Hi , I have a site in production on a forge server. I've updated the APP_URL in the env file and I now cannot login. It redirects to the landing page every time - it...
Forge
5
59
yougotnet yougotnet
13

ReferenceError: Vue is not defined!

I'm working with a brand new installation of Laravel 6 and trying to play around with Vue out of the box how Laravel has it; but when I try to use Vue on the page, I get th...
Vue
13
77
hafizurupm hafizurupm
2

Creating default object from empty value

public function update(Request $request) { $this->validate($request, []); $user = Auth::user(); $user->name = $request->name; $user->...
ThinkingMan ThinkingMan
1

Guzzle conflict with Symfony?

Is there a known conflict or fix to the problem I am having installing Guzzle? >composer require guzzle/guzzle Using version ^3.9 for guzzle/guzzle ./comp...
erigra erigra
5

Moving assets from Resources to Public

What's the recommended procedure here? I'm just getting started with Laravel and I put my images in the /resources/img-folder. I would like to have them moved to the public...
AwadGorg AwadGorg
8

Get implode by ',' ids from the table and then extract those id to get data from another table based on them

Hello, I have this user activities table and am storing each game the user plays at a row called latest_play_onlinegams and the ids stored like this ['20,30,1,6] and i want...
Laravel
8
140
japetsky japetsky
1

Terminal Setup

Hi guys, Do you have any idea about the terminal setup or theme Jeffrey is using on his tutorials? Thank you in advance! :)...
untymage untymage
2

reArrange collection by the given key value

$collection = collect([ ['image' => 'someimage1', 'type' => 'secondary'], ['image' => 'someimage2', 'type' => 'secondary']...
greevesh greevesh
16

Undefined Variable from the View

I've ran this exact same code before in another project and it has worked so I'm not sure what's going on here. I'm getting this error: Undefined vari...
Laravel
16
154
stefan7 stefan7
2

Vue axios request not working in Chrome (iframe)

I have a component that is loading content via axios. In general the component and the axios request is working fine. But the website is meant to be running in an iframe on...
Vue
2
57
hakhsin hakhsin
1

Are a morphs columns indexed?

Hi, when do I define a morphs columns in migration by default its columns are indexed?...
Chron Chron
6

how to properly divide an amount?

I have 2 buttons as options first button is for full amount, the second is for monthly for 3 months For example. If the amount that needs to be paid isn't div...
Laravel
6
107
davy_yg davy_yg
4

@push

Hello, In my frontend I find @push commands: ready-to-eat-page.blade.php @push('style') <style type="text/...
sllem sllem
8

Deploy Laravel 6.4 to hosting server (get error 403 Forbidden error was encountered while trying to use an ErrorDocument))

Hi Everyone, I'm new developer and I try to install my project in the real website, but doesn't work. some body can help me please. Thanks. Jonathan....
Laravel
8
125
anonymox anonymox
5

How to get client ip address in register controller in laravel 5.3 with passport enabled

Hi i want to get the client ip address in my laravel project when registering, I've found some solutions that says get the ip using request global function like :...
Requests
5
2557
Create a New Discussion Button