In laravel 5.3, at the time of sending the email it does not return anything. Would you like to return some data to see if the email was sent or not?
Something like this:
$mail = Mail::to('[email protected]')->send(new ContatoEmail($dado...
Good afternoon, I have a question, is it possible for me to upload an image in laravel out of the project folder?
Well I have a project that the site folder is out of the laravel folder and I need to display images uploaded to laravel on this si...
My method detach deletes all data from the student table (it removes the data from the membership table but deletes all data from another table)
$team = Team::find($id);
$team->students()->detach();
$team-&g...
I'll give you a small example to explain my problem.
Tables:
main
itens
The two have a relationship, a main has several itens .
What I'm doing to save:
...
$main = $this->main->create($postCreate);
foreach ($postC...
Good idea and create groups of arrays with example names,
$arrays =
array(
array( 'teamID' => '1151', 'username' => 'iLilithZ'),
array( 'teamID' => '1111', 'username' => 'iLilithZ'),
array( 'teamID' => '115...
This question is a follow up this and this . But I'll try to make them independent.
I have the following tables, weathers :
+--------+-------+---------+
| id | temp | id_freg |
+--------+-------+---------+
| 337 | 12.36 |...
I get an array and I have to scan and insert it into my database.
Array example I'm going to receive on the request:
How to set in my controller to scan and insert into the bank:
public function store(AcademicoRequest $request){...
Personal I use Intervention in Laravel 5.5 and use its routes with the filters to generate the images dynamically. I would like to know how I can test in the filter class and the image I passed it exists on the disk, otherwise I will upload a de...
I'm using Laravel Socialite to sign in to google accounts. It's working perfectly. But if I log into an account and use the browser back button to choose another account to login, the following error is displayed:
Laravel \ Socialite \ Two \...