princeoo7 princeoo7
7

Update images of image gallery in laravel

i have created a image gallery for testing purpose and creating one is working, only issue is in update. i know here somewhere my i have missed something and not able to pr...
Jaytee Jaytee
2

Profile pages don't show forum activity

Hey Jeff, Not sure what's going on, is this intended or a bug? Viewing my own profile as well as other users' profiles shows no forum activity at all. The placeholde...
KingsleyO KingsleyO
2

How to get currentUser in firebase using laravel

Please i need somebody that have integrated any of the sign in methods preferable phone sign in using laravel. I already have my setup working but presently want to retriev...

Trying todo use a ping (ICMP) package

Laravel Framework 5.8.31 NPM 6.4.1 Node v8.16.0 Im need to run ICMP pings in my laravel project. Im trying to use packages like ping...
yusuf128 yusuf128
2

Single Eloquent Query

My task is done but problem with single query.So I want to count data with current date and future date and with status in single query . My Scopefunctions...
BrianDillingham BrianDillingham
0

Simplifying some color usage

Although I think the site looks awesome and speaks to your talent as a web dev.. The card colors are a bit much for long site usage and arent as readable without more contr...
mostafalaravel mostafalaravel
8

impossible to mass assignment only two fields even if it is added to protected fallible

Hello , here the User model and as you can see the first_name, last_name are in that array: /** * The attributes that are mass assignable....
r_duong89 r_duong89
1

I have some Faker factories that I need clarification on

I'm trying to seed my database full of data and I'm trying to relate them but I can't find the way to do it. I currently have 30 pages of anime/{anime}, each with 12...
Randy_Johnson Randy_Johnson
4

Laravel Newbie - Problem with Cart::

Hi, I am new to Laravel coming from Codeiginiter so I have some experience with MVC. I am following a book called 'Laravel Aplication Blue Prints' but the problem lays in t...
Skyles Skyles
5

About Routing

Quick question: When we define our routes in web.php, let's say to a threads page, we use "/threads". But if I do the same thing in a view blade html in a...
Flerex Flerex
16

How to initialize a class in its constructor with session data, while being able to inject it in a controller's constructor

I am developing a site that allows to save a visitor's preferences, whether they're logged in or viewing the site as a guest. To make things easier,...
Laravel
16
103
sshateri sshateri
3

Route::get vs Route::any

im trying to understand the difference between Route::get and Route::any but was not able to understand it fully after reading the Laravel documentation. could you guys exp...
thindery thindery
1

Scheduled Commands run in Dev but not in Forge staging server

So I have my staging server on Forge. When ever I go to test things it is not running my kernel scheduled jobs. here is what I have: <?php namespa...
Forge
1
22
RomainB RomainB
0

First step in VueJS: why v-anything isn't working but {{ var }} is?

Hi all. I'm trying to include some vue in my Laravel project. I used npm to install it. Vue chrome's extension detects it in my project, and I tried a simple...
Vue
0
46
murilo murilo
0

Two way data binding form with VUEX

Hello ,I am new in VUEX . I know that for using 2 ways data binding in my form , I have to do this - <label>Name</label> <input class="...
Vue
0
17
successdav successdav
3

UNABLE TO BOOT UP VAGRANT

When I run vagrant up I get this error $ vagrant up Bringing machine 'homestead-7' up with 'virtualbox' provider... ==> homestead-7: Checking if box 'lara...
matildah matildah
1

Property [name] does not exist on this collection instance in restaurants application

i have a restaurants controller and i want it to open the profile when you click on its link on all restaurants page This is the show function public function...
hjortur17 hjortur17
4

A tag have href and click event.

Hi, is it possible to have vue do both? Because I want to make vue create a booking when the tag is clicked (this is done with a function) and also redirect the customer to...
Vue
4
59
Aliji Aliji
3

Method Illuminate\\Routing\\Route::dispatch does not exist.

I am trying to dispatch route inside my API controller to get an access token from a registered user, this is what the path of my code looks like use Illuminate\Rout...
Laravel
3
665
AKaramanec AKaramanec
8

Problems on the Laracast 5.7 Episode 8 Lesson Page

On the lesson page, blocks with videos, lessons learned and others are not loaded....
ashish_reddy ashish_reddy
0

Vue Mocha testing doesn't detects UI changes

trying out Laracasts Vue testing but some tests are failing. counter: <template> <div> <span class="count" >{{ coun...
FlyingTaco FlyingTaco
1

Sum Between Dates

I am very new to coding, let alone Laravel, I am hoping someone can help me with the logic for this part of my app. The app I am working on is for a poultry farm (eggs). I'...
trevorpan trevorpan
0

feedback: on a functioning orders test

good afternoon ~ Have been working on this test for quite some time. I think I have it whipped! But want to see if anyone sees any flaws. I found a few basic...
Skyles Skyles
5

PHP unit testing

I am having this weird problem with phpunit. When i run it, it gives me failure. However on the browser everything is working fine. I then commented part of the test cod...
trevorpan trevorpan
2

access $variable property in test method

Have been working on this test for a while with help from a previous post. I'm really happy to get the paymentGateway working after a few days by myself without post...
mostafalaravel mostafalaravel
2

how to do when the vue JS component is very large ?

Hello , I have a very long vue js component , with many methods and the template is also very big , I'm wondering id there is a way to separate for exmaple...
hasen39 hasen39
11

Laravel excel

Any one who import large data using laravel excel please refere me...
General
11
221
r_duong89 r_duong89
11

Route is not allowing me to use id parameter instead of one I had set earlier

So I'm just a beginner at Laravel and in the web.php file, I can't use the /{id} instead of {tvshow} to get database records. For ex: Class TVShows extends Mo...
General
11
99
moukbel moukbel
0

Update Data inside v-for (without getting an infinite update loop)

Hi, i don't know how to update total without casing re-render. template: <div v-for="product in products" :key="product.id">...
Vue
0
13
mostafalaravel mostafalaravel
2

How to show empty object instead of NULL when the one To one relationship is empty

Hello , in my controller I return users with 'groups' and 'sidnfo' models . the module 'sdinfo' in one to one relationship, public function...
mostafalaravel mostafalaravel
1

How to avoid duplicate code in store and update methods controller

Hi , I want to avoid the duplicate code because I repeat almost the same code in store and update methods as you can see from user controller : publi...
jkdesign1 jkdesign1
1

Delete deeply nested relationships

Hi, I have a system set up with relationships like this poll-->hasMany-->questions-->hasMany-->choices. I was attempting to use the laravel...
pmusa pmusa
4

setRelation to Collection

I'd like to make it so that my "reply" relation is not nested. Here is the $comments Collection :...
Laravel
4
137
pramanadiputra pramanadiputra
2

Laravel Apache + Nginx

Hello, Does anyone here ever deployed Laravel with Apache + Nginx as proxy? Can you share text or video tutorial about deploying Laravel with Apache + Nginx....
Create a New Discussion Button