라라벨/개발환경 및 배포
라라벨 팅커 콘솔 엔터오류(laravel tinker enter) mac
땀모
2019. 4. 27. 09:57
맥에서 팅커콘솔이 안먹는다.
>>> 여기서 엔터를 치면 그냥 빠져나온다.
cd ~/.config/psysh/
vi config.php
아래의 소스를 입력바랄께
<?php
return [
'usePcntl' => false,
];
:wq 저장후 나가기
reset
php artisan tinker
>>> App\User::create([
... 'name' => 'ddddd',
... 'email' => 'ddddd@ddd.com',
... 'password' => bcrypt('password'),
... )];
동영상은 이걸 보길 바람