Adding a folder to $PATH within homestead

In my homestead vm it's often useful to run commands from within my project folder over ssh. E.g. for testing like vendor/bin/behat or...
03

Social Network Tutorial?

Is there a good social network tutorial out there that was similar to Larabooks one but for Laravel 5.4.0LTS?...
03

how to get the second one?

hi i know to use ->first() method be i whant to get the second and do a comper with the first in the results how i can do that witout to...
05

My model is pulling the same data three times instead of looping properly.

First, I'm a beginner and an idiot so please keep that in mind. However, I have been stuck on this all day now (trying to learn) but I need help. I...
26

Auth::attempt() not working when connecting in laravel with facebook

I'm trying to connect into my laravel application with facebook.When the new user click the button i get his infromations stored into the databse a...
02

Fetching and Displaying Customer Orders on Page

There are 3 tables. First one is orders: After example order:...
07

Error in hook from 'Let's Build A Forum with Laravel and TDD'

I'm making a forum for game community and I got this error in vue: app.js:727 [Vue warn]: Error in created hook: "TypeError: Ca...
06

Remove ManyToMany relation by additional column value

How remove row from pivot table by additional column value? My tables: iiko_products id name...
02

How can I display a holding page for all requests?

Preface: it's Laravel 4.0 I want to stop all access to the site and display a single holding page for requests. I would have thought...
02

How do you call polymorphic Models with routes/web.php

Let's say I have two models (a tweet and a video post). Those are "likeable", but how do I call it in routes/web.php ? What I have...
01

I have two dates that I am comparing in validation to check if user is old enough, however the validation seems to be passing over the dates

$DOB = $request->input('DOB'); $allowed = Carbon::now()->subYears(26)->format('Y-m-d'); $validatedData = $request->val...
05

with out any data if i click my submit button then show this error what kind ofcondition i use ?

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'title' cannot be null (SQL: insert into `posts` (`title`, `body`, `category_i...
17

matching data

i retrieved this variable A from database and it has a correct data then i passed it to the blade how can i manage in checkbox if the variable B i...
16

Send all requests to another server

Hey guys, I need to redirect all requests on production to another server for authentification reasons.. For now I'm using a middleware that does t...
04

Laravel 5.4 nested @foreach

I got very confused with this nested @foreach First I have two tables one is order_lists the second is order_details...
06

cannot create comments and cannot show comment my selected post -

This is my route code Route::post('/post/{post}/comments','[email protected]'); This is my comment mode...
16

Class 'App\Providers\AppServiceProvider' not found

hi all, please help to fix below issue, after that I've changed locale to 'ru' in config/app.php file, I am getting below FatalErrorException whe...
05

Javascript is not working (Compiling)

I am really annoyed of seeing the name vue anyway I don't want to use it, I just want normal jquery and when I add 2 js files in mix.js they don't...
06

Show Single post in laravel with ajax call

Hello can someone help me through this, I want to show the data of my single post, let say I have a list of post and there was a button on it as &q...
10

Unable to Update Record

Hi, I have the following code in Edit Form, <form action="/products/{{$product->id}}/update" me...
12