While broadcasting create a private channel and send to that user only.
Yes phpinfo() also gives 7.0. Its a bug. It has been fixed when upgraded to php 7.1
I have PHP 7.0 both with apache and CLI but having the follwoing error:
`Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE)'
This error is raising when sending email using gmail smtp
$currency is coming from form input field. $currency = Input::get('currency')
Once something saved in the session it should be persistent. Yes of course on refreshing it should be there.
session()->put('currency', $currency); session()->save();
If I immediately dd the session it shows the new value. But in another place, it shows the old value means not saving. I have been facing this issue with every Laravel project.
I tried with all session drivers, redis, array, file and databse. Anybody, please give a permanent solution of this issue.
This session *** issue in laravel has been making the pain in the ass for the last five years.
shahidkarimi started a new conversation How To Validate Form/API Input In Repository Pattern?
I liked the repository pattern to hide business logic from the controller. However, I didn't find anything related to input validation. Yes, we can do that in the controller, but that may not be the appropriate way.