[Help Needed] SVG Sprites with Laravel.Mix

I would like to use svg-sprites with Larvel.Mix. I added following rule to the mix.webpackConfig: { test: /\.svg$/, loaders:...
06

Store request() in a variable

This is probably not the cleverest question but : Inside a class, is there any benefit to store request() in a variable (as $this->reques...
05

Store file

I store image on my laravel app the path is returned correct but the image does not store in folder on local store very good but on server d...
01

Where should one store functions that are utilized in views?

I have a blade template that needs to make use of a PHP function. In short, the function echoes out a random background colour, from a predefined l...
01

Handle API Routes and Web Routes on the same Methods?

Suppose I have a controller with your typical CRUDdy resource routes (index, show, store, etc.), and associated routes in the api.php...
02

debugbar specified in app.php

If you install laravel-debugbar as recommended; composer require barryvdh/laravel-debugbar --dev and then add it to config/app....
04

Transformer

What is the purpose of using Transformer ?...
01

How to split frontend and backend folder structure

Hi I am new to Laravel 5.5, How to split front end and back end folder structure. I need separate folder into front end (Controller/Model/Vi...
01

Laravel doesn't eager load the pivot part of many-to-many relation.

I have this relation in my Job model: public function materials() { return $this->belongsToMany('App\Material')->withPivot...
00

Cannot push model to object array

Hi all. Im new at vue and im trying to make a simple app with vue&firebase. Here is my problem: When i get the values of inputs with v-m...
00

Problem with custom validation rule

Hello Guys! I have a problem with a custom validation rule. As it is wrote:...
05

Perform Delete Post with Sweet Alert wont delete anything

lets go to the point, I want to make delete button for my destroy method of post the controller is fine, but the problem is from javascript and may...
02

Some feedback on my new package would be awesome!

Hi, In the past month this has been my side project (just for fun). Github:...
05

Method [[email protected]] does not exist.

Hi,using Laravel 5.5. When opet Edit page, all si fine, data from Database is ok, but when try to update record get error : BadMetho...
03

Problem running Laravel Dusk test in Travis

Hello everyone, I'm trying to get Travis to run the Dusk test, but I always get an error. The tests work well on my local environment, but when Tra...
00

Laravel Valet share: Failed to connect to 127.0.0.1

Hello! I'm trying to use the command "valet share" but I'm getting this error: [Httpful\Exception\ConnectionErrorException] Unable...
14

Laravel 5.3.0 throwing error Field 'test_1' doesn't have a default value

Hello Guys, I've worked with Laravel for quite some time and I've never encountered any major problem a google search could not solve. This...
14

scan barcode

i want to scan barcode by javascript i tried to use quagga but i dont know use it with laravel ?? any help...
00

Timestamps error when ->using('PivotModel')

class Order extends Model { public function sms() { return $this->belongsToMany('App\Sms')->using('App\OrderSms')->...
00