I have a laravel app deployed on an apache2 server in an ubuntu VM. It took an awful lot of time to set up, but I would like to make some more changes to the we
My colleague has created a docker-composer.yml file and has shared that image with me. When I run the container and attach this image, I am unable to create mig
I keep getting status 500 when 200 is expected. These are the files: ExampleTest.php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\T
after i added livewire using composer require livewire/livewire and creating new livewire component using php artisan make:livewire search I keep getting an er
whats the best or the usual way to remove all roles from a user? I tried $roles = $user->getRoleNames(); $user->removeRole($roles); Return value of App\Us
I have a portfolio website written using Vue and Laravel that renders out project thumbnails with v-for. This works completely fine on every browser apart from
I've made a website with Laravel which uses email to notify users of certain things. For testing on my personal computer, I used my gmail account for sending em
I have a strange problem. I am using Laravel 5.6, When there is a PHP error or Laravel error (E_NOTICE, E_WARNING etc) in my controller then instead of throwing
I am working on a Laravel 5.7 based project in which Eloquent is used as an ORM. I need to execute a raw SQL statement on my database. Howev
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-left">
I installed MailHog in my staging environment by following these steps: sudo apt-get -y install golang-go go get github.com/mailhog/MailHog In order to manually
I am new to repository in laravel and trying to work on it , But when i run the application it throws the error Class 'App\Repositories\User\UserRepoServicePr
the more I read about Laravel Spa (Vue) authentication, the more I ask myself about the "best way" to authenticate with Sanctum. Official Laravel documentation
I've had 3 developers look at this now and we cannot figure out why this test webhook on Shippo is returning a 406 error. The site is live and working fine oth
I have a Laravel Spark Account with a token registred. I have install laravel spark installer but failed to create a new project. When i launch the command spar
I have a users table which has many debitur. I already set the user_id in debitur with onDelete('cascade'). Schema::table('debitur', function ($table) { $t
I've a fetch a Laravel Eloquent collection by: $product = Product::query()->with(['merchant', 'picture'])->where('id', $id)->first(); and get the du
I am uploading a simple subscription page for my website using cPanel. I uploaded the files to public_html, moved the files from public folder and modify index.
I have been using Laravel powered API and VueJS powered frontend, two separate projects for single page application. Now I want to switch to Laravel Jetstream w
I tried to get the environment variable from the .env in my root with Route::get('/test', function () { return "value is". getenv('APP_ENV'); }); and Ro