Laravel Excel returning only NULL values

I have an excel.xls file type: Microsoft Excel 97-2003 and when I try to read that using...
03

convert array of object into associative array in laravel

I am trying to do a bulk insert in laravel. My frontend post data to my laravel backend. The data that is posted looks like this: ro...
01

Access notified model from notification

Hi, I was wondering if there is a way to access the notified model when you send a notification using the Notification facade For i...
02

cash-control in .htaccess not working

i use laravel 5.5 i uploaded my site to a shared hosting , i want to cash static files like .css and js ...... . so i put this code in my .htac...
01

Check if user is active in Laravel 5.4

Hi I trying to check if user account is active so I used example from the docs, now it's looking like this: <?php namespace App\...
13

Can't connect to AWS API

Hey guys, so today ive registered in AWS and Laravel Forge as well as Laravel Envoyer. Firstable i wanted to create the server on AWS. Ok i've logg...
04

Class 'Memcached' not found

Running on Lumen 5.5 on vagrant and i can't run any artisan command at all. been googling and have followed all the solutions but they wouldn't ju...
01

Calling save() method doesn't output anything in Tinker.

Hello, When i build up an object and call save() method in tinker, it doesn't output anything nor does it save any data into database table....
04

How can I pass localStorage data to database ?

i'm trying to save my guest's selected products and I want to show them those selected products when they logged in. I'm using js localStorage when...
02

Call to undefined method Illuminate\Database\Query\Builder::withTimestamps()

Hello! I have a problem. Call to undefined method Illuminate\Database\Query\Builder::withTimestamps() Model: Project.php...
04

Undefined variable and other problems

I would like to display the created posts of the user with type 4 and 5 on his profile. The newest posts should be displayed first. But I always ge...
22

JWT Error

I am got an error when creating the auth with laravel, his error as below, I need help :( Symfony \ Component \ HttpKernel \ Exception \ Unauthoriz...
04

Looking for a social media api package

Hi, I am looking for a package which can fetch social feed from all social media channels. package should be all in one (all social channels API in...
01

error: cannot lock ref

Hi im new to forge and Git and im not sure why but im getting a new error when pushing to the server. Sat Jan 20 18:13:11 UTC 2018 F...
03

uploading CSV file failing

For a customer I need to upload a cvs file. The file has nearly 35000 lines. I used maatwebsite/excel package. Excel::filter('chunk'...
06

Laravel Notification thru Slack - works when called from controller, fails from Command

I have a notification called TaskExpires public function toSlack($notifiable) { $slack_id = $this->task->CreatedBy->sla...
02

How to return a model when defining relationship

class Book extends \Illuminate\Database\Eloquent\Model { public function owner() { if ($this->owner_id === 0) {...
01

How to list all the models that belong to children models?

I have a Tournament model that has many Event models, which have many Player models. I need an unique list of all players in a tournament. T...
02

Spatie permission: get permissions based on user role

Hi there, I use spatie permission, but is there anyway to get permissions which belong to a user role? I know "hasAnyRole" will ge...
02