Support the ongoing development of Laravel.io →

286 Threads

Using FormRequest validation without using Form Builder

Hi there! So I'm using FormRequest like so: public function save(MailRequest $request) And validati...

0 Likes
5 Replies
Solved

image upload and resize

Hi I m using Laravel 5. Now I want to ad profile picture. I want that in User control page there wil...

0 Likes
5 Replies
Solved

CurlFile and L5 error

Hi, I'm build an webapp API that receives an image file from users using post forms and need to send...

0 Likes
3 Replies
Solved

Form submit, Input:all() not showing all inputs

RESTfully, When I submit my form and return Input:all() in the Store method I'm getting only couple...

0 Likes
7 Replies
Solved
posted 9 years ago

Console command fails when executed by cPanel

I have created a command, which suppose to receive data from stdin and save to database. It works co...

0 Likes
7 Replies
Solved

Best practices for this controller ?

Hi! I need some help whit this... I have a controller that creates a view where multiple selects, fo...

0 Likes
3 Replies
Solved

difference between Facades\Input and Http\Request in laravel 5

Hello what is difference between this method: public function store(Request $request) { $input =...

0 Likes
2 Replies
Solved

Relationships to JSON?

So i have User model and Articles model. When i return User::all()->toJson(); i get only user atr...

0 Likes
4 Replies
Solved

Form requests: how do I ensure that one of two fields is filled?

Hopefully, the title is explanatory enough... I have a form request that is run when my form is subm...

0 Likes
4 Replies
Solved
posted 9 years ago

Post data from angular to laravel

I am trying to make a simple app based on Scotch.io tutorial. I don't have a clue how to get data i...

0 Likes
2 Replies
Solved

isDirty('atrribute') not picking up changes?

Hi, I am trying to run a function only when certain values have been changed, however isDirty doesn'...

0 Likes
1 Replies
Solved

Restful controller ( NotFoundHttpException )

Hello everyone, I get this error for the post method not for get method Symfony \ Component \ HttpK...

0 Likes
8 Replies
Solved

User input isn't being accepted into database?

Hi Everyone, I'm attempting to save user search phrases into my mysql database. I'm having a difficu...

0 Likes
2 Replies
Solved

RESTful controller's create-method and belongsTo relationship

What I'm looking for here, is an elegant way of creating a new Contact. As the image says, a Contac...

0 Likes
1 Replies
Solved

How to pass data to a view?

Hello, i want to pass an array of all users that have in the field: number='1' My controller: publi...

0 Likes
3 Replies
Solved

GET multiple variables from URL and pass them to controller

Hello This is maybe a stupid question, but I'm just learning Laravel and can't find help on internet...

0 Likes
5 Replies
Solved
posted 9 years ago

Delete route doesn't work, 'Page not found'

It's 3 days now that I'm struggling with routes in Laravel. Some of them I have made to work, others...

0 Likes
7 Replies
Solved

Redirect url retains # sign. How to remove?

http://help.laravel.io/ef418edd30096ee5fc7975d68ebfb26dc1ff06a8 Laravel 4.2.8 When logging in via fa...

0 Likes
2 Replies
Solved

Options with InputOption::VALUE_REQUIRED can be omited ?

Hi guys, I have a command with options defined this way : protected function getOptions() { return a...

0 Likes
2 Replies
Solved
posted 9 years ago

Is this a possible security hole?

Hello, I'm creating an application and it will have user accounts. I have created a setAttributes fu...

0 Likes
2 Replies
Solved

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.