Skip to content

Tag: laravel

Change login system by API in Laravel 8

I make my first app with API. I am beginner in Laravel and php. I have this migration: and this is my AuthController: Login work’s fine. In addition to the login and password, I need to verify the status column. If status = 1 – then login is possible. How can I do this? Please help me 🙂 How can

Laravel yajrabox relation sort

I have a project with laravel and datatable using yajrabox, it stuck in relationship sort this is my kabupaten datatable class and this is my action column. provinsi model and kabupaten model my question are why $id in kabupaten.action return provinsi.id instead of kabupaten.id and i have try The $id return k…

Laravel variable not getting passed to route

In my page, I have the following anchor: which links to the following function in the controller: and then the blogtitles/edit.blade.php file simply contains: However, in the edit.blade.php, the variable ‘$blogTitle` is empty, even though I know that it isn’t empty in the original page where it is…