Category Edit ; admin pannel

hi friends, I am following a tutorial of laravel 5.2 about an online sales page and I am in the administration panel; The problem is that wh...
07

Using both MorphOne and MorphMany between the same models

Suppose you have a Comment model with a morphTo relationship of commentable(). You also have a User model. It can have many comments stored...
02

Cannot update list in vue.js

I have an empty list once i click post button i am calling Spotify api to get the array of tracks with the similar name this is then stored in the...
04

array not updating when calling api through ajax Vue.js

I am trying to save the array data from the api call into an array tracks[] postData(){ $.ajax({ url: '...
00

Convert codeigniter to laravel

how to port codeigniter project to laravel 5....
00

Migrate a project from CodeIgniter to Laravel

I've used CodeIgniter for some years but I've recently discovered Laravel, made a little project with it, and I have to say I'm in love with it :P...
02

Php includes and namespace and use statements

Hello, let's say I have a script A with its own namespace and use statements on top. Now in the middle of it, I include a script B with its own nam...
00

PHPStorm automatic reformat

Hi There, This is my settings :...
08

Artisan Tinker Psy Shell Strange Character Encoding - Windows

Running PHP artisan tinker on Windows, either with the Command Prompt console or Git Bash, I get strange character encoding:...
00

Find country

How to get country of the site visitor based on IP or other options?...
01

Logging unauthorized action

Hello, I want to implement authorization by using the Controller Helper as specified in the...
01

Dropzone and Laravel

Hi everybody ! I want to implement dropzone into my form. When I click the submit button of the general form, it launch the dropzone queue,...
01

Passing ajax data to child component

When my main app is mounted I load in some json in the data. var self = this; $.ajax({ method: "GET", url: &q...
01

Is possible to prepend model name?

Hi! I'm a new Laravel user, coming from cake since its beginnings. Well, I found some situations that with cake I found more comfortable/fast. In t...
00

How to pass id when selecting value through the list box.

when i click on the list box name should appear but when i click save it on database it id should be insert the id of that name in the list box....
06

Update Laravel Installer Version

I am trying to install spark 2.0. The documentation indicates that I should make sure my version of the Laravel installer is >= 1.3.4...
04

How to get value from array in blade view

Hi all, in my controller i have $user->posts return an array of max 7 posts. in my view i have 7 text field with name attri...
12

Using Laravel 5.3 storage with Canvas() from intervention Image

Running Laraval 5.4 with Vagrant and Homestead. Saw a few other questions regarding this issue but none provided a solution which uses the c...
01

Validation always fails when testing file uploads

I am trying to test a file upload action and am struggling to add form validation to it. Without the validation my test passes fine but when I add...
00

orderBy the whereHas count?

Hello, I have two models, Venue and Entry. Where a venue hasMany entry and where a entry belo...
05