So i am lost and i hope someone can help me. I have a User model that has a name and email fields. A Role User model that has a many to many relationship where
I set up my Laravel 8+ application on Heroku.com. Almost everything works perfectly, but when I try to register/login I got the "419 | Page Expired" error. I am
I am trying to display the Username on the web page, but I keep on getting the error Here is my blade template @extends('layouts.app') @secti
public function patient_aprrovedischarge(Request $request, $id) { //get patient details $patientDischarge = DischargedPatients::where('id'
public function patient_aprrovedischarge(Request $request, $id) { //get patient details $patientDischarge = DischargedPatients::where('id'
My Laravel .env: APP_ENV=local APP_KEY=base64:7HjBWArUX989c8K87678687m2+6786876hs= APP_DEBUG=true APP_URL=http://localhost ... I get the following message if I
Excuse my English, it's from a translator. I am using Spatie to control the permissions of my application, for example, each module I have to see, create, updat
I have a query like this: Product::withMin('promotions as promotion_price', 'promotion_products.price') ->orderByRaw('CASE WHEN promotion_price IS NULL THE
I'm currently developing social listening API with twitter, the flow is logged in user (using basic API Token to send request to the API) are redirected to twit
I want to display the text in the blade as html. To do this, I used this code in the controller section: class MessageController{ public function cus
I have some data i am receiving from new users and extracting the email to send to the new user. This is how i am doing it public function register_mechanic_pos
I am working on a registration form with Laravel 8 and Angular 13. The back-end is an API (link to Github repo). In the UserController I have a signin() and a s
My code suddenly started working really slow. I don;t see any reason, noting was changed or updated. return response()->json([ 'status' => 'su
So I have this table with a start time and an end time and I am calculating hours. This works just fine unless the end time is midnight. I have TIME fields in m
I am in trouble with a little functionnality I want to add in my project, sure someone can help me :) The stack is Laravel with Livewire to add easily some inte
I want to truncate in Laravel text from database with HTML Tag, for example: <p>Hi. I want to say about my story. </p> I found a method: {{ Str::li
After upgrading Laravel 5.8 to 6.0 I get the below error: local.ERROR: Missing required parameters for [Route: playlist-song.show] [URI: public/admin/playlist-
I have a template that change the style if into an input is set the "value" attribute or not, even if it is empty. For example this: <input type="text" class
I created a trait sets up some Global Scopes based on the query parameters. It does that by reading from the request() helper and reading the query parameters f
Hellow guys, so I have 2 tables is Listings is Users in Listings I have some columns, one is user_id, and is related to users tables. I want to display the user