Laravel doesn't publish to Redis

Hello everyone, I am trying to broadcast a message through a websocket but it's not even published in Redis. // The route that I use to trigger the me...

Boadcast event

I have tried to broadcast from a channel class in vain. any advice here? i have implemented the Illuminate\Contracts\Broadcasting\ShouldBroadcast; and added to broadcastto...

45 Useful JavaScript Tips

As you know, JavaScript is the number one programming language in the world, the language of the web, of mobile hybrid apps (like PhoneGap or Appcelerator), of the server s...

Edit column data

Hello guys, I have a model that consists of three columns: site_title, site_description, keywords. In list.blade.php I have list of "keywords":...

Issue with vue directive and fixed navbar

Hi, I decided to give vue directives a go and created one wich checks if the user scrolls past the element and gives it a fixed position on top of viewport, the element get...

I can't figure out how ResponseFactory::stream() works

Hello, I'm building an on the fly image resizer for my photography boutique. (I know that league/glide does it, but I'm not interested.) Once I got the image path (e...

attach needs to be followed by load?

For this example, consider models User and Comment with a many-to-many relationship. In the user model: class User extends Model { public function...

Call to undefined method Illuminate\Auth\TokenGuard::attempt()

I'm trying to make login with api guard so i using in my LoginController protected function guard() { return Auth::guard('api'); }...

413 Request Entity Too Large

Hi all. I use Forge, when I upload files I have this error : 413 Request Entity Too Large nginx/1.8.0 I added to /etc/nginx/nginx.conf in th...
Forge
3
318

Storage::put - External FTP Site

So I have run across an interesting issue and I am hoping someone might have run across this before or might have some advice for me. For a project, with each item w...

Undefined Builder::links() when paginating many to many relation

Good evening, while this bit on my controller works perfect: public function info($coleccao_tematica) { $coleccaoTematica = ColeccaoTemat...

Pagination of data from a relation

$galeriaInfo = Galeria::where('slug', 'LIKE', $slug) ->with(['multimedia']) ->withCount('multimedia')...

Using a global php helper functions when developing a package

When in laravel, to add a "helpers.php" to the global scope so you can use it's functions, you can add a line like this to your composer.json &qu...

How to generate a .txt file with data from a view

Hello, lets say I have a very basic view just containing some text and variables. <p>some text and {{ $some->variable }}</p>...

Laravel + CDN ( CloudFront )

Hello. I wanted to know if there is a easy way to set up cloudfront. Im pretty new to laravel and looking for a guide on how i can achieve this. If anyone has sample...
General
7
251

What is the flow that you're following when developing API application?

I never go full API application between Laravel + Vue. The problem is it's time consuming to develop web app with API. For example, the form validation is extra work when u...

Offline Billing

I'm evaluating spark for my next project and the question for offline billing (paper bills) came up. Is it possible with spark?...
Spark
4
47

Laravel FORM::open - method and named routes

I may be wrong here, but... couldn't FORM::open() determine the method from the route when a named route is given?...

Vue.js - props don't update when input changes

I have this simple component where I try to bind props both ways but it only works one way. When I change the text in my input fields, it shows 'Initial property 1' to be t...
Vue
3
62

Laravel Passport and Alexa Account Linking

Hi, I've got Laravel Passport within my Laravel application. Right now, I'm trying to setup Alexa account linking so that users of my application can login to my ski...
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