Support the ongoing development of Laravel.io →

899 Threads

Insert Mass Dummy Records

I want to create 1000's of dummy users, but also correct relations. Example would be create a User w...

0 Likes
0 Replies

How to access nested json request in laravel ?

JSON object send by angularJS by Post Method {"Accession_No":3,"Title":"dem...

0 Likes
0 Replies

Modifying the $request in middleware, getting 'cannot use return object in write context' error

I am creating a little blog CMS as a sort of first Laravel App project, and am trying to implement f...

0 Likes
1 Replies

Form Multistep

Hello, I created a multi-step forms, I don't want to store data on every stem to database, because i...

0 Likes
0 Replies

error laravel 5 undefined variable

controller public function index() { $meetingData = Newsnotice::news(); $meetingData=json_decode(jso...

0 Likes
2 Replies

php artisan serve not working

When I type in php artisan serve --host test.com I got this error [Wed Jan 14 12:54:12 2015] Failed...

0 Likes
2 Replies

How to solve Class App\Http\Requests\UpdateUserRequest does not exist? laravel 5.3

My code is like this : <?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRe...

0 Likes
1 Replies

Laravel 5.3 Validation

When I use variables in $rules and in $validator the code doesn`t work. Where is my mistake? $sumaRa...

0 Likes
0 Replies

How to use updateorcreate on comparing foreign key?

I have UserAvatar and User table. I want to compare if image is already uploaded then update or inse...

0 Likes
0 Replies

Send an array as parameter value to route

Hey, How can I pass an array variable to the Laravel Controller using GET method? My route is define...

0 Likes
1 Replies

Manipulate form request data

Hi there, Does anyone know how I can modify the data a form request object contains before it is use...

0 Likes
5 Replies

Submitting data after image upload

My site has a feature that allows users to create posts (like Facebook). I have a form with a "...

0 Likes
5 Replies

How to solve MethodNotAllowedHttpException in RouteCollection.php line 218:?

My view is like this : @foreach($users as $user) <tr> <td>{!! $user->id !...

0 Likes
1 Replies

How to solve Missing argument 2 for App\Http\Controllers\UserController::destroy() in laravel 5.3?

My view is like this : @foreach($users as $user) <tr> <td>{!! $user->id !...

0 Likes
2 Replies

How to get parameter in url (laravel 5.3)?

My url is like this : http://localhost/mysystem/public/users/index/2016 I want to get 2016, because...

0 Likes
3 Replies

How to solve route not defined in laravel 5.3?

My controller code is like this : public function store(CreateUserRequest $request) { $input = $...

0 Likes
1 Replies

How to get parameter in laravel 5.3?

My view is like this : <li class="{{ Request::is('users*') ? 'active' : '' }}">...

0 Likes
1 Replies

Single Field Validation

Just wondering what is the best way to validate a single field. Situation is laravel is the backend...

0 Likes
0 Replies

Call Controller function from within Controller with $request params

Hi, i have a Controller with a function : public function Upload(Request $request) { $file = $r...

0 Likes
0 Replies

Many-to-Many Relationship Form Binding (Laravel 5.3)

Hey guys, I am having trouble coming up with a plan on how to populate the "team_user" tab...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.