Relative Content

Tag Archive for phplaravellaravel-11

How to move Laravel 11 public folder?

I have tried to search for tutorial to move the public folder, but from all the guide it seems like the code is different than version 11. The folder structure I want to move will be like:

Export Word laravel

public function ExportWord($id) { $client = Demanderendezvous::findOrFail($id); $customData = []; foreach ($client->getAttributes() as $key => $value) { switch ($key) { case ‘created_at’: $key = ‘Date Pris rendez-vous’; $value = date(‘Y-m-d H:i:s’, strtotime($value)); break; case ‘updated_at’: case ‘etat’: case ‘Id_agent’: case ‘id’: continue 2; } $customData[$key] = $value; } $phpWord = new PhpWord(); $section = $phpWord->addSection(); […]