Using Laravel 8.75 and trying to upgrade to php 8.1 in composer.json to "php": "^8.1" and receive the error of Illuminate\Contracts\Container\BindingResolutionE
I'm trying to update some data in Model using API in Laravel and Vue.js but I can't do this because FormData() is empty, I'm checking the data from formdata us
I recently started implementing the unit testing in Laravel 9.x framework. So far, I was able to write some basic rules without any complications. However, in m
I ask this question after doing various searches without finding any clarifying information that helps me solve the problem that I am presenting. I have created
In my application, I am using Passport for Authentication. I have created a Password grant client for generating access tokens for our mobile and web app. Now I
I'm trying to access variables in different views. But I get the error variable undefined. I have tried as below @include('admin.layouts.vendorpartial',
I was recently given a Laravel app that uses Nova and Vue in it - all three of which I've never worked with before, so apologies in advance if I ask something t
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