Model::create not allowing me to use data from a passed in array

public function create($info) { //dd($info[0]); payment::create([ 'amount' => $info[0], 'wechat' => $info[1], 'mes...
02

Relationship Advice (hasMany, hasManyThrough?)

Hi guys and gals, I need some relationship advice! Laravel 5.6.x. I have the default 'users' table that is created when authentication is sc...
00

Broken tab icons

Did a fresh install of Spark for a new project and found that all tab icons are uncolored and missing some margins. I have no errors in cons...
01

Best Way to Group Data From Model

Hello everyone! I am thinking there must be a better way to accomplish what I am doing. The problem: I want to send a lot of user sta...
00

best design tool for front-end

hi for front-end design i little work with Adobe Muse And its good And I want to learn it more , but before that i want to know what...
02

Getting collection data from database suitable for showing in html table

I'm building inventory app, which will primary be used for managing information about tools in company and how many and which tools are available o...
10

Policy always returning: This action is unauthorized.

I have a basic resource controller and I'm trying to apply policy to it using the method: $this->authorizeResource, but it always s...
02

Multiple assets emit to the same filename bundle.js

when i try to run mocha using laravel mix it gives me this error Conflict: Multiple assets emit to the same filename bundle.js how ca...
02

Statement on SQLite test database returns null while record is available

I'm trying to test a function that tries to fuzzy match a name to a name in the database. Basically: givenName = 'Peter'...
01

JavaScript executing problem in laravel 5.6

Hi, I am encountering problem as following java script not executing in laravel 5.6 blade (view) ====app.blade.php====...
03

user is typing functionality

How can i show a user is typing functionnality using laravel-echo server vuejs and redis. I have already a real time tchat that is functionning per...
01

Connect Laravel to amazon S3

When I connect to amazon using the following code $file = $request->file('upload'); $path = $file->storeAs('pr...
01

Using views for columns in Datatables

Hello everybody.. I'm using yajra/laravel-datatables in my project and need to have an additional column for view/edit/delete actions.. Curr...
08

Can someone review my eloquent ?

// Skill Controller public function edit($id) { $skill = Skill::with('category')->get(); return view('admin.skill.ed...
06

Unable to integrate live search. Vue not being detected no matter what i do.

Greetings, i'm trying to integrate a live search into my Laravel site using Scout+Algolia but for some reason the instantvue component would...
00

Task Scheduling

I am facing a problem with task scheduling. I would like to have a code in which scheduler is used to execute a task every 5 minutes where the task...
11

Vimeo for Business

Hey Folks, I'm currently building an LMS and I'd like to get some feedback on the use of Vimeo Business to host and manage the videos, and w...
13

how to turn of phpinfo on freshly deployed forge server?

if server is accessed directly by ip in browser it displays phpinfo, how can this be turned off?...
01

Errors are not sent to Bugsnag in Laravel 5.6

Hi, i have the problem that not all bugs are sent to Bugsnag. In config/app.php I added "bugsnag" to the "stack" channel...
00

How would you go about browser compatibility

Before now I've been working on projects where you kinda don't have time to bother about such stuff: if nobody tells you if it's not working in the...
02