Support the ongoing development of Laravel.io →

2,389 Threads

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

Registering users through commands and command handlers in laravel5

Am i doing this right? I have created a CreateUserCommand but because of the context of the applicat...

0 Likes
0 Replies

Increment download w/ support for download manager

I need to allow files to be downloaded, but have to track the number of times they were downloaded b...

0 Likes
0 Replies

customer.card.updated event in laravel cashier

How can I use customer.card.updated webhook in laravel cashier? Can any one tell me the steps.

0 Likes
0 Replies

route caching in laravel 5

Hello, I have a slight problem with route caching when using closures in the routes file. My routes....

0 Likes
1 Replies

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

[5.0] Getting Parameter of a $request

Hi there! Say I have this url: http://myapp.loc/test/1 where its route is Route::get('test/{id}'). h...

0 Likes
1 Replies
Solved

[Unit testing] Mocking call to Cookie::get()

Hello! Does anyone knows if there is a chance to somehow mock call to Cookie::get() method ? I know...

0 Likes
1 Replies

Multiauth Route before not working

Hi, I got problem with my authentication. I need to make the guest login so they can get into online...

0 Likes
1 Replies

Rearranging JSON output

I have this basic model of a Contest with several Events, where each Player can have one result per...

0 Likes
13 Replies
Solved

Trying to get property of non-object ... but it's an object?

Hey folks - my first post here, but been using Laravel for a little over a year now. I have an eCom...

0 Likes
0 Replies

Laravel Eloquent/Models

Laravel: Using 5.0 I'm attempting to call a Model for data using Eloquent, I've already added my cus...

0 Likes
0 Replies

Password reminder

Hi all..I'm using laravel4.2.11 I have user table but i dont have "email" field in it but,...

0 Likes
4 Replies
posted 10 years ago

Laravel 5.0 handling missing routes.

i cant seem to find a good way to handle missing routes in Laravel5 . in laravel 4 we could use APP:...

0 Likes
3 Replies
Solved

Get user from WebSocket connection

Hey! I have just started to create a Laravel application featuring websockets. I have managed to cre...

0 Likes
0 Replies

Storing time, date or datetime

I have a 'create event' form where I'd like for the user to be able to submit info along with a date...

0 Likes
2 Replies
posted 9 years ago

Regex with unicode characters in route filter

Hi, I have this route in my routes.php: Route::get('/name/{id}.{format}', 'NameController@showName')...

0 Likes
2 Replies

Create widgets on a website - View Composers?

My website has multiple data widgets that can be rendered for the user. These widgets are sub-views,...

0 Likes
1 Replies

Why use Models????

If I use an MVC why can't I put all calls to the database inside my model? I'm watching Laracasts an...

0 Likes
5 Replies
posted 9 years ago

Ajax function prevents redirection?

I 'm deleting records with ajax code (in a javascript function): $.ajax({ typ...

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