Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php artisan tinker encryption cmd

>> php artisan tinker

$admin = new AppAdmin;
$admin->name= "admin";
$admin->email="admin@admin.com";
$admin->password= Hash::make('password');
$admin->save();

Hash::make('new_password');
=> "$2y$10$mxpQR9NLHLqTnC0D8I0dmeQcXgwdKIuD9roPYjl.YMvsXCVVoRuXG"
>>> bcrypt('new_password');
=> "$2y$10$mxpQR9NLHLqTnC0D8I0dmeQcXgwGGm1112rDxwVrUP9boDaMuKE8i"
Comment

PREVIOUS NEXT
Code Example
Php :: trait php 
Php :: laravel start que listener 
Php :: how to sort with array and after print by for loop in php 
Php :: php assign if not null 
Php :: Genrate Random Integer 10 digits in php 
Php :: create array php 
Php :: send json reponse php 
Php :: parsing html in php 
Php :: laravel get route parameters in blade 
Php :: how to make model and controller in laravel 
Php :: php move element to beginning of array 
Php :: php last item of array 
Php :: php bulk insert mysql 
Php :: woocommerce product hooks 
Php :: php array access by key 
Php :: minishlink/web-push v5.2.5 requires ext-gmp * 
Php :: php static variable 
Php :: laravel collection forget 
Php :: laravel model soft delete 
Php :: get pages with template wp php 
Php :: how to add column to database in laravel 
Php :: laravel ecommerce 
Php :: Laravel jwt check token sent by request is valid 
Php :: pdo mysqli error handling 
Php :: laravel validation required if 
Php :: calculate age from date of birth in php 
Php :: array_merge 
Php :: php list *files 
Php :: php curl detect 404 
Php :: wordpress args 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =