@athamz share the command that you are trying and the output/error that you get for better help.
Aug 4, 2019
10
Level 3
PHP artisan tinker not working
Halo everyone,
I just learned about laravel and try to execute laravel tinker but doesn't work.
I use php 7.3.7 and laravel version 5.8 in mac OS mojave.
How to fix this problem?
Thanks
Level 73
@athamz You will not see it, you should create the file yourself as long as you wish to override some of the defaults. This are the steps to take in your terminal:
- Run:
vim ~/.config/psysh/config.php
- When the documents opens press
ito enter ininsert modein vim, then paste the following:
<?php
return [
'usePcntl' => false,
];
- exit from VIM by pressing
escthen type::wq
Then make sure that you open a new terminal tab, so that you get fresh session and try the tinker again.
4 likes
Please or to participate in this conversation.