Support the ongoing development of Laravel.io →

1,185 Threads

Limit number of files that can be uploaded

Do know guys how to limit number files that can be uploaded, like max of 5 files per upload?

0 Likes
0 Replies

Apply Non Fillable Fields Mass Assignment

When I create an item: Model::create('field' => 'attribute', 'field2' => 'attribute2'); This w...

0 Likes
4 Replies

Lumen keeps throwing TokenMismatchException

My application is quite simple, I want to calculate result from given values and return the result t...

0 Likes
2 Replies

How do I get the selected value from the dropdown using L-5.1?

How do I get the selected value from the dropdown? <p>{!! Form::select('companyname', array(''...

0 Likes
0 Replies

How i set 777 permissions to storage and bootstrap directories

how i can change permission to 777 and also in bootstrap. Because i am using croppic to upload imag...

0 Likes
1 Replies

Api with route parameters to scale down code. Class not found

I'm trying to make a api that uses route parameters so that i don't need 1000 routes for all the dif...

0 Likes
1 Replies

Update multiple records using Eloquent

Hi In my controller:` $updaterec = Sme::where('rec_id', '=', $request->id)->update(['rec_id'...

0 Likes
2 Replies
Solved

Input facade removed from 5.2

Hi, I notificed that the Input facade alias was removed from the config/app.php file. But the file s...

0 Likes
0 Replies

Handling different data within Controller

I have a system whereby you can go and create different documents. From a select list, I could selec...

0 Likes
0 Replies

Display SQL count query results in the VIEW

Hello guys, i have this mysql query for counting something in my controller $count = 0; foreach ($d...

0 Likes
0 Replies

Socialite visits by Google Adbot

In my exception log I see repeated exception errors being generated by what appears to be Google Ads...

0 Likes
0 Replies

insert multiple rows

i want to insert multiple rows in the database on one click if row is checked using multiple checkbo...

0 Likes
0 Replies

Best practice when creating a form

Im new to Laravel, and thought i would start out by creating a simple form. By searching around the...

0 Likes
2 Replies

Image not uploading to form

I have a form that accepts images for profile pics. I know that the form is working, as far as the o...

0 Likes
0 Replies

Laravel Cashier Resume Subscription

Hi, I have a working app with laravel cashier and I can bill a user, swap plans... but I don't know...

0 Likes
0 Replies

Call a mutator

How to call mutator if I don't have that field in $request->all() input fields? In my model: publ...

0 Likes
2 Replies
Solved

How to custom validation

Hi, I have a field wich receive a JSON like this: {"grid":{"product":1,"col...

0 Likes
0 Replies

Request's Inputs not available for URL Encoded and Form Data

Hey there. I am building an API with Lumen, which looks great. The problem I am facing now applies o...

0 Likes
0 Replies

Save Multpart Data (Image) file to disk

Hi, I am having problems saving the Multipart Image sent from Android application to laravel. As soo...

0 Likes
8 Replies
Solved

Laravel form action controller explanation

New to Laravel, My form looks like this {!! Form::open(array('action' => array('SearchController...

0 Likes
2 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.