MySql remote login

laravel's .env file's debug mode is ON by default. and for a syntax or whatever error you can see my .env variable, right? well, you have my mysql username, databas...
gazd1977 gazd1977
4

Error when migrating Cashier

Im following the cashier install guide, but having an issue when i come to run the migration. Error as below. Illuminate\Database\QueryException : SQ...
c3422867 c3422867
11

DB::update query

I am trying to use the query using the valided values, $book_name, $isbn_no & $book_price and ofcourse the $Id but the query doesn't work. public function update...
General
11
44
c3422867 c3422867
5

Raw SQL query and binding data?

create.blade.php @csrf First Name Last Name SAVE controller > Route::POST('/form-filled', '[email protected]...
spectatorx spectatorx
2

Two factor authentication as an option

I'm researching now something what i could use for two-factor authentication in laravel 6. What libraries would you recommend? I would assume there already exist decent sol...
serhiiposternak serhiiposternak
3

Undefined property: Illuminate\Database\Query\Builder::$id

I am having this error: Undefined property: Illuminate\Database\Query\Builder::$id Code: $info = DB::table('info') ->j...

Laravel access one more from another controller.

I am trying to retrieve all students from the UserController but when I dump students all array I get empty collection in my view. Is the middleware preventing...
sohexaxok sohexaxok
1

Google calendar events

Hi guys, Do you know a package where I can insert events in google calendar. The documentation is hard to read and I really can use some help. Any resource i...
jamie.cordingley jamie.cordingley
2

General class or model or repository or service - what / where???

Hi All, I'm stuck, what should go in where! I'm looking to implement an "invoice" class amongst others in my laravel project. The project utilises t...
ahmadbadpey ahmadbadpey
0

Datagrip removed some variable inside procedure

I'm using DataGrip v 219.1.4. I created this procedure: CREATE PROCEDURE SP_Add_Edit_Credit_Expiration (IN _ID bigint, IN _User_Id big...
successdav successdav
1

Aws s3 or Vimeo Hosting which do I go with?

Hi! Due to lack of finance I was thinking of hosting my videos personally, on my server but after some research i have decided to go for a video hosting company? I a...
abingpj abingpj
1

why Fatal Error : Class 'Guzzle\Http\Client' not found?

Hello I am facing an issue in a laravel project. It's showing this error Fatal Error : Class 'Guzzle\Http\Client' not found I have Guzzle in...

syntax error, unexpected '<'

I'm receiving a syntax error for the following in a blade syntax error, unexpected '<' Here is my code- @if({{$qwinners->closeq}} == 0)...
strangequirks strangequirks
5

How to use where in Laravel query builder?

Here is my code- $brand = $request->brand == 0 ? "" : $request->brand ; $category = $request->category == 0 ? "" : $request->...
papia91 papia91
2

Count record by user id

I am trying to get record by user id.This is working for login user . But I am Trying to get details for all users .Not only. Here is model public functio...
RidwanIslam RidwanIslam
2

Composer couldn't find error.

Hi, I got an error that composer couldn't find vendor/composer/../laravel/framework/src/Illuminate/Foundation/helpers.php The larave...
ruhulamin ruhulamin
4

Illuminate\\Database\\QueryException::getUserMessage()

Hi, Once I am trying to access my API, I get this error. { "status": "error", "message": "Call to undefined...
RFFRED RFFRED
6

Issue with spatie/laravel-medialibrary

Hello, I am having issues installing the spatie/laravel-medialibrary . Running composer : composer require "spatie/laravel-medialibrary:^7.0.0&qu...
General
6
105
Gabotronix Gabotronix
2

Use model methods in seeder?

Hi everybody, I have a seeder file for creating some default users, I want to seed some relations via using a User instance method, this could be easy in a controller metho...
zhorton999 zhorton999
2

Does Laracasts Have an Affiliate Program?

Honestly I already recommend Laracasts as an incredible resource within any presentations, tutorials, or videos I make. I was curious if Laracasts offered an affiliate prog...

trying to run a raw query and getting a syntax error 1055

I have this code: $resultados = DB::select('SELECT smrt_preguntas.grupo_pregunta, SUM(smrt_respuestas...
mrkarma4ya mrkarma4ya
4

App URL not working properly?

Hello, I started learning Laravel from Traversy Media's tutorial, so like he taught, I used virtual hosts in XAMPP to point my app public folder "localhost/lsap...
InspiredPrynce InspiredPrynce
19

Calculating retirement date

I have a program where there are staff records, it has a date of first appointment and also a date of birth. There are two modes of retirement in the civil service, if you...
General
19
220
Randy_Johnson Randy_Johnson
1

000webhost SSL working then not working

Hi I have a website with an ssl which decides to work and then not work and work etc.. My website is teachingdocs.000webhostapp.com İt seems during the day i...
Bartude Bartude
1

How to combine Socialite + VueJS SPA

Hello fellow developers, I have a Laravel backend where I want to implement Socialite (mainly for facebook and google, possibly others). And I have a VueJS SPA. I'm...
gr_bl gr_bl
14

CRUD update with random entries

I have table with X and Y coordinates and time. Is it possible to update them with random value? Something like coordinate between 40 and 45 degrees and random time in last...
General
14
92
Chron Chron
12

Problem with carousel in svg in chrome

Here is the code: https://jsfiddle.net/SuperSudo/4oukcpv7/6/...
General
12
128
AntLusher AntLusher
3

Spatie Tags

Hey all - I'm currently using Spatie Tags for Nova, and I'm using them in my Post model. My issue, and this may sound dumb, I can't display the name of the tag if the front...
brayniverse brayniverse
1195

Where are you all from?

I'm wondering how far Laravel's reach extends to. I hail from London myself....
General
1195
7010
FareedR FareedR
2

Filter bad words package

Is there any recommended package on filter bad words other than this ? thank you in advance ....
zidance zidance
6

It is possible route a url to different function?

I have a route Route::get("{name}", '[email protected]')->name('product'); Route::get("{name}", '[email protected]...
Heimdall Heimdall
18

The POST method is not supported for this rout

Hi, I want save information by my form on my DataBase but when i send information i have this error : The POST method is not supported for this route. Support...
General
18
164
mehalubozo mehalubozo
2

Screenshots automatically

Hi, I want to make screenshots of my web page automatically. How can I do that?...
Create a New Discussion Button