Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php artisan tinker new record

>>> $user = new AppUser;

>>> $user->name = "Hello laravel";

>>> $user->email = "hello@hellolaravel.com";

>>> $user->password = Hash::make('password');

>>> $user->save();
Source by therichpost.com #
 
PREVIOUS NEXT
Tagged: #php #artisan #tinker #record
ADD COMMENT
Topic
Name
3+4 =