KyGenz KyGenz
3

Problem with "EmailVerificationRequest"

Hi, I just started studying Laravel 8. My goal is to be at least intermediate before 2021. My first project as a self-challenge was to create a simple blog. But righ...
codebranch codebranch
1

Laravel Fortify Route Prefix

I want to add a route prefix to Fortify's default routes e.g /login would be admin/login or /register would be /admin/register . How can this be done....
Ap3twe Ap3twe
6

Laravel On VPS Server

Does anyone have experience deploying laravel app on VPS Server? We have our own sets of VPS Servers and I think it will serve us right to deploy our app there. I think goi...
Hekmatyar Hekmatyar
0

Pagination translate is not working

Hi, i have a problem with "SimplePaginate" https://i.imgur.com/oizsM5M....
extjac extjac
1

Gloabal Scope based on Subdomain

Basically, I want to implement a global scope based on the subdomain; which is linked to organization. Is it possible to pass the subdomain to the Traits as parameter or re...
artisticre artisticre
1

Laravel 8 redirectTo

I have this code. It works when someone registers for an account but if I put it on the login page, it always logs in to the home page. Login Controller...
AlexSteele AlexSteele
2

a better way?

I have a situation that is interesting. the project has options, and the project has users. the users have options. a user can be assigned to a project, but not see all...
onsoftAdilsonjose onsoftAdilsonjose
2

regex validation in laravel(getting this error (preg_match(): Delimiter must not be alphanumeric or backslash))

Hi dev am trying to validate this number true request in laravel 5.8 But am Getting this error... preg_match(): Delimiter must not be alphanumeric or backslash... Apreciate...
Mattbylett Mattbylett
19

Additional Question: DB::Insert - SQL Syntax Error

Hi I posted a question the other day that @laracroft was helping with. we made great progress.....
Laravel
19
130
armadillo armadillo
0

Dashboard with Livewire similar to Inertia functionality

I'm new to Livewire and just started porting some older laravel project with it, also looking at inertia with Vue, and one thing that caught my attention is the demo app th...
myregistration myregistration
0

Artisan Serve: Literal vs IP

Can we still use the format "dirname.test" to access a local Laravel sites via the "artisan serve" command in Laravel 8? I can access the site using th...
successdav successdav
5

What am I suppose to do with these stuffs?

Hi! Please don't ignore or feel like its too simple. I know its something I ought to have known but fortunately I don't. I know /** */ to be a multiline comment. But...
click replied
Solved
successdav successdav
3

Refactoring of index method that returns too many variables

Hi! I feel like this method is gross, any better way I can refactor it? All these variables are required for the blade view, and there could be more because its the...
Alex_B Alex_B
6

SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "user_id" violates not-null constraint

I'm trying to create an entry in another table when a new user registers. I put this in my RegisterController protected function create(array $data) {...
Ogot Ogot
12

Target class does not exist - Laravel 8

I have this controller <?php namespace App\Http\Controllers; use App\Models\Member; use Illuminate\Http\Request; class MemberController extends Control...
Laravel
12
214
BrownieCoffee BrownieCoffee
5

Fails get the sender mail (Gmail)

Hi there, I use form to permit to users to send mail to administrators. I mail is sended on my gmail but I cannot retrieve the sender mail on the From...
ali2535 ali2535
1

How we can prevent sending empty arrays in Laravel resource collections

Hi friends. I have a resource and It returns some data. sometimes many sections are null or empty. how I can prevent those sections. for example following codes:...
Viatori Viatori
4

Using Cashier to manage multiple account (for SaaS)

Hey, I'm currently creating a saas for customers who can add stripe account. This permits them to receive payments directly into their stripe account. Is it p...
davidifranco davidifranco
6

Misleading Array Validation

I have the following request data: [ 'quote' => 'RH3342', 'date' => '2020-01-01', 'items' => [ 'name' => 'widget', 'quantity' =...
kaisrmaulo5 kaisrmaulo5
3

Vuetify Tabs destroy mounted view when switching tabs

Im using laravel vue with vuetify framework. In my app there is a page with TABS. Inside tabs I placed reusable dialog componet. It opens when I fired event through event b...
Laravel
3
185
salah1337 salah1337
15

Reading json file from storage in controller triggers CORS problem

I've been having a CORS error in one page of my app, and after some troubleshooting i realized it's because of this (when i remove this part there's no more cors error)...
Laravel
15
146
Vossie Vossie
0

Dashboard and Graphing options

Hi, we have a platform developed in Laravel PhP on a MySQL database. We are however in the process where we need to do the dashboard / graph section of the platform. We are...

New Laravel application + auth scaffolding without Jetstream

I am coming back to some Laravel development after ~1-2 years of using other languages. I want to install Laravel and set up some basic authentication scaffolding....
hueilau hueilau
9

Laravel 8 change email to username for authentication using fortify

Hi, I'm new to laravel and now I'm using Laravel 8 with Fortify. I use username for authentication by changing the fortify.php in config. Now, I add another column in my us...
Laravel
9
104
vkronlein vkronlein
7

Collection Filter By Array

I have an array of Greenscreen List Translator scores from worst to best like so: $hazards = [ 'BM-1' => 8, 'LT-1' => 7, 'LT-P1' =>...
yoseft yoseft
5

Laravel problem

Hi. I am new with laravel. I work in a projet, in my Laptop work perfect. I copy all files to other computer and have this error when i use migrate....
KalimeroMK KalimeroMK
15

SQL qvery return id 1 on all rows

$bookings = Booking::with('client') ->join('room_types', 'room_types.id', '=', 'bookings.room_type_id') ->join('langua...
Laravel
15
93
sagar001 sagar001
3

Laravel Components error

I am trying to make a panel component. the code is like below. <div> <header> {{ $header }} </header> <section> {{ $slot }} </se...
mrperfectionist mrperfectionist
1

Why just one component is showing in Laravel 7 & Vuejs

App.js: require('./bootstrap'); window.Vue = require('vue'); Vue.component('app-navbar', require('./components/snippets/AppNavbar.vue').default); Vue.compo...
777not888 777not888
1

Laravel Passport not for 'users' table

I want to use Laravel Passport for authentication of mobile users. But table with users is 'clients', but not 'users'. How change settings?...
felloz felloz
3

Double click on navbar option = logout

For some reason that I don't understand, when I double click on an option on the navbar that calls a route, laravel log me out from the system. Isn't something that...
noblemfd noblemfd
1

HandleExceptions->handleError(8, 'compact(): Undefined variable: operator',

I have this code: public function welcome() { if(Auth::check()) { return $this->index(); } return view('welcome'); } public...
oxbir oxbir
5

How to save image in categories table?

I'm in a hurry. I want to save image in categories table. I can not save everything I think. categories table...
Sinnbeck replied
Solved
powertech powertech
3

Migration = Nothing to Migrate

I encounter this weird issue where I cannot run any migration that has been created on Laravel Basically What I did is : Download Laravel via composer...
Laravel
3
161
MattB MattB
10

Route param not working - missing required parameters

Losing my mind here. I have a button linked to a Get route like so: Route::get('/addnotes/{index}', '[email protected]')->name('createNotes')...
laracoft replied
Solved
Laravel
10
92
Create a New Discussion Button