Laravel – home.blade.php form login on left
the login form in the home blade remains anchored to the left, and I need to have it in the center of the page, can you help me? the entire complete view is located in the repository I tried with…
the login form in the home blade remains anchored to the left, and I need to have it in the center of the page, can you help me? the entire complete view is located in the repository I tried with…
I have this error, when open website GET http://127.0.0.1:8000/storage/categories/portable.jpg 404 (Not Found) categories:73 This is link of the code in the browser https://imgur.com/a/VwXavqd In my .env file i wrote: APP_URL=http://127.0.0.1:8000 FILESYSTEM_DISK=public But it doesn't help.
I have a laravel project and in this project there is a table like this: I need to run a query and return a result where the $circulation variable is in range of the column range_from and range_to. So I…
I am developing a Laravel application and need to implement a security feature that allows users to log in from only one device at a time. In other words, I want to enforce a single session per user in my…
I have a problem displaying images when hosting the site. Locally, I was using the dynamic link to display images, but it only works locally. My images are stored in the : : storage/app/public/Images tree. <div class="card-bg" style="background-image: url('{{ asset('storage/ServiceImages/'…
I use XAMPP version: 8.2.4 Control Panel version: 3.3.0 Laravel: 10.33.0 PHP: 8.2.11 Everything should work as fast as lightning, but im waiting 32 seconds to load a page. First image shows loading same page with Larevel and localhost As…
I'm working on a Laravel project and I have a scenario where I need to enforce a unique constraint on multiple columns in a database table. Specifically, I want to ensure that the combination of column1 and column2 is unique.…
I'm trying to create a service on an Amazon Linux 2023 instance to run a mysql database queue for Laravel 10. For various reasons I cant use Supervisor so I'm using Systemd. I'm upgrading the AMI, and from Laravel 9…
I am trying to redirect a user to /login if the authentication token from Laravel is not valid. So I am trying to fetch the user and if resp.ok() is false then I delete the invalid "token" cookie and redirect…
For some reason, I need to map /* to a Controller in Laravel. I am using below mapping: Route::get('/{slug}', [MyController::class, 'index']); It works fine for all URLs tested, but when I access example.com/javascript Instead of calling Controller, it returns 403…