Support the ongoing development of Laravel.io →

1,185 Threads

move local files to S3 in Laravel 5

Hi, I'm trying to upload an image to a S3 bucket. In a controller, a method called uploadPhoto() get...

0 Likes
0 Replies

Proper way to determine if value exist in a json post

Hi all, I'm working on a RestAPI where the data coming in is in json format. For example. { &...

0 Likes
1 Replies

Form::model with logic required

I'm trying to use a Form::model method to update a record using form partials, which is working as e...

0 Likes
1 Replies
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

Validation depending of two variables of the db.

Hello, my table is: users { -bank -movement ... } Validator to the form fields: $validator = Valid...

0 Likes
1 Replies
posted 9 years ago

Any way to achieve Input::hasAny('field1', 'field2', 'fieldN')

It seems like this is a missing feature in Illuminate\Http\Request in L4. Input::has() only returns...

0 Likes
0 Replies

Subscription not working in laravel cashier

Subscription not working at the time user registration. I echoed stripe token which is perfect. but...

0 Likes
0 Replies
posted 9 years ago

Whoops, looks like something went wrong.

AccountController.php: http://wklej.org/id/1622944/ Routes.php: http://wklej.org/id/1622946/ create....

0 Likes
2 Replies

Accessing the website 1 folder from the website 2

Hi everyone, I have two website: website1 and website2. I have a folder call "uploads" int...

0 Likes
3 Replies

model binding with an Input array

Sorry if this is a beginners question. I am using Laravel 5 and trying to make an application that...

0 Likes
0 Replies

Route::post in home path

hi, im newbie, i'm using laravel 4.2 When i send a post request to home path route::post('/',functio...

0 Likes
2 Replies

Help me for Multi Auth in Laravel

hi, i'm newbie can you help me... I get an assignment from my teacher to make auth i have two table...

0 Likes
5 Replies

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

Request::create() how to get array data?

I have the following in my controller, I want to get to the POST (store()) method of anotherControll...

0 Likes
0 Replies

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
posted 9 years ago

How should $request->merge() work in laravel 5?

First make a TestRequest with artisan make:request TestRequest. Then put this code in your routes.ph...

0 Likes
0 Replies

ajax "delete" method not working in remote site

I have a Kendo Ui grid in my laravel application. It uses laravel resource route for CRUD operation....

0 Likes
4 Replies

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

Test controller - why eloquent don't strip redundant input in tests (like password_confirmation)

Hey, I am starting with testing and right now I want to test my controller using phpunit. I have suc...

0 Likes
5 Replies

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

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.