laravel Questions

3

I'm using laradock and I can access the page in browser http://localhost:8088/api/getakicks/get without any problems. But when I try to access it in controller I'm getting this error: GuzzleHtt...
Silma asked 14/9, 2018 at 8:37

3

As seen in the image below. When we select the record from the listing than action drop down appear. But I need to show it always, either user selects some record or not.
Malapropism asked 20/3, 2020 at 12:58

2

Solved

Im trying to work with ai on my project in Laravel. Most of them are a bit outdated, so if I want some scheduling they suggest using kernel.php in app/Console. I did some research and kernel.php fi...
Brigette asked 25/5 at 12:24

2

Solved

I have a the following routes defined: //Leases Route::resource('properties.leases', LeaseController::class) ->only(['show']) ->shallow(); //Invoices Route::resource('leases.invoices', Inv...
Otoole asked 8/2, 2022 at 7:32

2

Can you help me on how to customize the default Page Expired page in Laravel? BTW, I'm new to Laravel.
Paperboy asked 27/11, 2019 at 8:6

3

Solved

I'm using Laravel's schema builder with mysql to make a unique column. But when I use the unique method it is case insensitive. I need it to be case sensitive. How can I do that? Schema: Schema:...
Sisco asked 4/2, 2017 at 19:2

3

I'm using Laravel and I just added a new migration for increasing column size. The first generated table has a column named latlong of type Point. I can't modify any column size? When I try to modi...
Bookcraft asked 25/11, 2017 at 9:57

5

I have a problem in my production environment with Laravel Socialite's Google auth. The error is same as on this post: laravel socialite not working on live server, only works on local machine b...
Uneven asked 25/11, 2019 at 12:5

7

Is there a built-in way to do something like this? Let's say I have a search-page that has a few parameters in the URL: example.com/search?term=foo&type=user A link on that page would redir...
Limitless asked 8/2, 2014 at 18:32

5

I've used Laravel Fortify to write some authentication for my app and I've setup the enable part of the 2FA, and that all works fine, but the problem I'm having is that it doesn't seem to trigger t...
Koah asked 3/4, 2022 at 2:19

10

I am facing a strange issue, When I install app first time on test store, installation goes smooth but after re-installation after OAuth, Shopify show me "There’s no page at this address"...
Cassation asked 7/1, 2021 at 10:54

2

Solved

Hi i'm using laravel and I want to validate create a regex which will allow a specific format for duration (not time as this can exceed a 24 hr format). so for example 124hrs 30 mins and 24 secs wo...
Zealous asked 21/11, 2015 at 22:50

2

Solved

I am intermediate in Laravel. I have some published projects in Laravel for my clients. I started a Project with Laravel with Vue using Inertia. I used a starter kit of Laravel 10 with the breeze a...
Mortgage asked 5/3, 2023 at 10:15

2

Solved

In Laravel im using this code in my controller to get files from directory: public function galleryImages($album) { $images = File::allFiles('gallery/'.$album); return View::make('galleryimages...
Orcus asked 14/12, 2014 at 12:19

7

Solved

I want to write a Laravel Migration auto increment ID as a primary key. I want to start this ID with a another value rather than 1. How can I do so ? The migration up() function: public function...
Initiation asked 3/2, 2020 at 14:39

4

Solved

So as the title says, how can I know if a field of a Model is a foreign key in Laravel ? Supose I have a FK column called show_type_id and a model named Event and I want to know if there is a funct...
Cappella asked 1/10, 2020 at 10:45

4

I am trying to get the current user in my laravel vue application. And whenever I trie to get it i am getting this error: Symfony\Component\Routing\Exception\RouteNotFoundException: Route [login]...
Nuncle asked 12/10, 2021 at 0:21

9

Solved

Im very new to laravel applications.What im trying to do is developing an outlook web addon that uses the API written in laravel . The problem here is ,it produces the CORS error while accessing AP...
Cithara asked 22/6, 2020 at 8:30

9

DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE= DB_USERNAME=root DB_PASSWORD= this is my configuration for laravel 5.4 but php artisan migrate is not working and have error ...
Brachiopod asked 21/1, 2018 at 11:57

4

Currently I am building rest API using Laravel. For authentication, I am using the Sanctum package. Every time a user is logged in it generate a token that looks like this: "token": &quot...
Region asked 7/9, 2021 at 6:37

6

Solved

I got some weird error code after I pulled a project out of my github. My first things I do is composer dumpautoload, composer update, and php artisan migrate:fresh --seed whenver I get to a new te...
Lift asked 11/3, 2020 at 10:47

3

Solved

I have a PHP application running on docker and based on php:7.3-alpine3.9 For a big form, I am posting more than 1000 inputs, and I not only I get the error Warning: Unknown: Input variables exce...
Expecting asked 8/8, 2019 at 13:40

3

Solved

What is the difference between Laravel auth, Passport and Sanctum and when are they used?
Scat asked 12/4, 2020 at 22:41

2

Solved

I've created a package (innovareti/password-policy) and now I am trying to install it, but it is not found: $ composer require innovareti/password-policy ... [InvalidArgumentException] Could not...
Ferriferous asked 2/12, 2022 at 1:40

2

Solved

I am using Laravel 5.8 . I use Nikto to scan my site, I saw these issues. Cookie XSRF-TOKEN created without the httponly flag How do I patch these issues in my Laravel Site ? I've tried , but it ...
Brigitta asked 2/1, 2020 at 19:27

© 2022 - 2024 — McMap. All rights reserved.