Support the ongoing development of Laravel.io →

damonsharp

Joined 14 Feb 2014

Statistics

Threads 3
Replies 2
Solutions 1
Articles 0
posted 10 years ago

Run custom validation only if required_if check returns true?

I have a validation rule like this... required_if:field_name,field_value|date_format:m/d/Y|futureDat...

0 Likes
1 Replies
Solved
posted 10 years ago

Class Carbon not found??

Trying to use Carbon for date formatting within a class used by calling a custom artisan command, bu...

0 Likes
5 Replies

How to save XML response output to file for uploading with SSH::into()?

In my controller I have the following with $registration_data coming from the database and the xml.i...

0 Likes
1 Replies
replied 10 years ago

Run custom validation only if required_if check returns true?

Nevermind... "sometimes" to the rescue... $validation->sometimes('some_date', 'date_fo...

0 Likes
Solved
replied 10 years ago

Class Carbon not found??

Aha, would probably help if I put use Carbon\Carbon at the top of my artisan class. Fixed.

0 Likes

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.