skip to Main Content

Laravel – Undefined variable $no_antrian

I want to create a queuing system in Laravel but I have problems with coding and don't understand how to set up the coding correctly. Can anyone help me? public function store(Request $request ){ $latestAntrian = Antrian::where('layanan', $this->layanan) ->where('tanggal_antrian', now()->toDateString())…

VIEW QUESTION

How can I access the following data in PHP laravel

I want to access user_projects from the following data { "id": 1, "title": "Random", "description": "Null", "client_id": 3, "deadline": "2023-10-13 18:30:05", "status": "Proposal", "created_at": "2023-10-13T05:26:17.000000Z", "updated_at": "2023-10-13T05:26:17.000000Z", "user_projects": [ { "id": 1, "name": "Rosendo Pfannerstill III", "email": "[email protected]", "email_verified_at": null,…

VIEW QUESTION

How to download xlsx file in laravel?

I use the library as a means of generating Excel documents. Only I need to either save the file to the root/storage/app/public/export/file.xlsx directory, or immediately download the file in the browser. Everything is implemented in Laravel 9. Tell me how…

VIEW QUESTION

Laravel l5-swagger api-docs.json file not found

I am installed composer require "darkaonline/l5-swagger:5.6.*", and i have a api-docs.json from a swagger that I added to storage/api-docs/api-docs.json. But when i go to http://127.0.0.1:8000/api/documentation I got error Fetch error Not Found http://127.0.0.1:8000/docs/api-docs.json I tried to run php artisan l5-swagger:generate…

VIEW QUESTION
Back To Top
Search