正规365体育投注

Questions tagged [laravel]

Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony. The source code of Laravel is hosted on GitHub and licensed under the terms of MIT License.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Using Ionicons 5 in Laravel React Application

I tried using CDN and CDN works fine but I want to use it from node modules and as I try to do this: import 'ionicons/dist/ionicons'; I get this error in my console: Loading module from “http://...
0
votes
0answers
8 views

Laravel: Validate empty array in request

In my Laravel application im trying to validate the body of my request, but one specific situation throws a ValidationException. My code looks like this: public function updateData(Request $request){...
0
votes
0answers
3 views

All the actions that need to be over the screen don’t work, but the rest of it does Vuetify / Laravel

I have install Vue and Vuetify in my project Laravel 7 but Vuetify is probably not installed properly. Because When I try to click to the button for open modal or when I search with autocomplete ...
0
votes
0answers
9 views

how to get page count of a .doc file with php

hello i'm trying to get the page count of a .doc file, and so far i didn't find a solution that allows me to do it without the need of installing some software on the server (On the server where the ...
0
votes
0answers
16 views

data is not incrementing at mysql server

I am using laravel 5.5 in project. i stuck at a point where i have to implement limitation to user. i have to prevent user to watch video after a limited time of played count. to this i am using ...
0
votes
2answers
20 views

How can I reverite this blade if statement using ternery operator?

How can I rewrite this if statement using ternery operator? @if($headerStyle->header_bg_color == NULL) @else style="background-color: {{ $headerStyle->header_bg_color }};" @endif thanks
-2
votes
0answers
8 views

Laravel hashids laravel v.5.4.36 PHP version 5.6.31

I probably annoy in this issue What should I use to install composer require vinkla/hashids ??? version? for my laravel and php version?
0
votes
1answer
23 views

Check if a column is null in relationship, Laravel

I try to check if a column from a relationship table is null, . But with my current code I get an error. The column is "best_match" in the second whereNotNull. SQLSTATE[42P01]: Undefined table: 7 ...
0
votes
1answer
19 views

Laravel - get the data in a certain order…

I have a question about Laravel - Eloquent…. I have a table that has (amongst other things) id name (varchar) position (int) parent (int) -> id of the parent page (which results in 0 when it is part ...
0
votes
0answers
8 views

How to mock a response from a package?

I am trying to mock a response while using php-oppwa I created this wrapper around that package: use Bryangruneberg\OPPWA\Factory; use Bryangruneberg\OPPWA\OPPWAResponse; use Illuminate\Support\...
0
votes
0answers
6 views

List of radio input in edit page - Laravel

I have a page to edit a post. In this modification page there are the relative categories in loop in case the administrator wants to change category. The categories are shown via a radio input list. ...
0
votes
2answers
17 views

How to get the inserted id of create() method in laravel?

I'm trying to get the last inserted id made from create() eloquent in laravel. Here's my laravel code $product = ProductModel::create([ 'prodCode' => $prodCode, 'prodTitle' =&...
0
votes
0answers
9 views

Chromedriver does not store the cookie when running Laravel Dusk

I am writing E2E tests using Laravel Dusk and have encountered a problem that my session starts again on each request. Digging deaper I have found that Chromedriver is not storing any cookies at all, ...
0
votes
0answers
37 views

select2 dropdown box value not set in the form

I have using select2 drop down to get list of items, but I couldn't set existing value on the form. <div class="modal" id="edit_assignment" tabindex="-1" role="dialog" aria-labelledby="...
1
vote
0answers
12 views

Autoload_static.php - Syntax error, unexpected end of file [closed]

On the very last line of code, 818, I'm getting a syntax error for unexpected end of file. Mentions expecting ')' ';' or '}' but none seem to work? Error is on the end of the "Payment" line. '...

15 30 50 per page
1
2 3 4 5
9786