sort a collection according to an array of IDs in Laravel

Suppose I have a collection like this named categories : Collection {#447 #items: array:3 [ 0 => array:6 [ "...

Echo.listen is not working/ logging

I am trying to listen/ console.log (to) a Broadcast Event. Connection to pusher is provided, the Event is also pushed to the debug console. But I can't listen to th...

How do I preview laravel blade and vue files in the browser?

I am new to open source and github. I want to make some contributions to the newly released laravel telescope. I cloned the repo but now I don't understand...

Laravel-newsletter seems to work, but not add to list

I had got problems with laravel-newsletter, it just didn't work. One time I received email, confirmed, but it is not visible on Mailchimp list... So, it is like, laravel-ne...

Webpack-dev-server - Missing Origin Validation

When I do a fresh install of laravel 5.7, and run npm install, I get this 1 high severity vulnerability about the Missing Origin Validation of the webpack-dev-server....

Laravel telescope showing wrong durations ?

Hello to everyone. I just installed Laravel telescope and I saw that one API call isn't using eager loading. I have 15 queries in that request (445ms duration). Then I impl...

home route(/) not working on cPanel

All routes work except the home(/) on cPanel. What can be the case ? On logs there is nothing for home(/) route....

Bootstrap workflow

Hi, Im new to web development I just installed laravel and I want to use bootstrap 4 but I dont know if i understood what should be the correct workflow. It seems th...

Simply shop

Hey, I need make website with simple shop (20 product), shop will be part of website. Can you recommend something specific on github...

How to exclude users from collection where email address end .test

Hi, I have users table and it contains registered users and also users registered by me. Users registered by me have email address like this: example1...

interview question !!

the recruiter has asked me a question I can't find a solution yet , he say what the deference way to migrate the database if we have 500 migration file , he say it wi...

Adobe sign transient 2 documents

Hello, someone has tried to send two documents to sign using adobesign api??...

Getting Started

Just finding my way around laravel, I've started discovering the phpunit tests and I have created one that doesn't work, (sound familiar guys?) Code borrowed from he...

Laravel Forge and AWS Hosting environment

Hey guys. Ok firstable, Laravel Forge is super awesome! i totally love the idea behind it. But i have one question if this scenario can be achieved with it: Ok we ar...
Forge
1
15

Stuck in Learn Vue Step by step: episode 6

At the end of episode 6 we are suggested to do some homework, namely to add buttons to a UL list and tick off completed tasks in that list. I got stuck immediately on addin...

How reload index table

Hello, How can, in a custom card in index view, reload the table?? thx...
Nova
0
11

Replace Dashboard with custom tool

Hi guys, Is it possible to replace the current Dashboard for users without admin rights to just show a custom Tool. So: The admins see the defaul...
Nova
0
4

Get number of selected items in Action fields()

Hello Can I get the number of selected items in and Action’s fields() method? I need to vary the properties of the field based on the number of items selected. Thank you!...
Nova
2
20

Signed urls with dynamic query params

We have a signed url which for downloading a report as pdf. Know it would be great, if we can provide a filter as query parameters like ?state=open or...

laravel-soap

Hi, i'm trying to get data about a SOAP interface using the SoapWrapper. I use the Laravel Soap Wrapper:...
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels