Search
 
SCRIPT & CODE EXAMPLE
 

PHP

required if null / require without laravel

public function rules()
{
    return [
        'user_id'       => 'exists:users,id',
        'email'         => 'required_without:user_id|email|unique:users,email',
        'password'      => 'required_without:user_id',
}
Comment

PREVIOUS NEXT
Code Example
Php :: Deutsch korrektur 
Php :: file viewer codeigniter 
Php :: laravel gigapay get single payout 
Php :: time debug php 
Php :: how to get create table query preview in phpmyadmin 
Php :: how to find number between different ranges in php 
Php :: how use same method in another class in laravel 
Php :: data validation of $_POST in php 
Php :: url images in CSS file link not working on PHP page| 
Php :: php convert datetime to timestamp 
Php :: kinsta check environment 
Php :: php script auf serve alle 5 minuten ausführen 
Php :: laravel-filemanager showing blank page 
Php :: laravel seeder with relationship 
Php :: Dispatch, performance 
Php :: pl sql php connect 
Php :: ErrorException Undefined index(laravel 7 array helpers) 
Php :: php map array key to variable names 
Php :: php count result query 
Php :: contact form dropdown from post 
Php :: Lavavel nova toggle 
Php :: how to use cornjob on live server in laravel 
Php :: refresh database tables yii 1 
Php :: custom middleware laravel 8 
Php :: dql if or ifnull 
Php :: login php 
Php :: what does ? do in php 
Php :: display picture in pdf generated with laravel 
Php :: php in browser 
Php :: User::factory()-create( 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =