Listening for Events Triggered by an External Application

Is there any way I can have a Laravel application listen and respond to an event triggered by another Laravel application? The system I am currently building consists of th...

Laravel Gate, policy and supper admin

Hi Guys, I am implementing Gate in my application, where I have following setup. Users Roles Route & policy middleware Ro...

str_limit truncates at the wrong point

Hello! First of all, I'm still learning Laravel so my apologies if my question may seem obvious. I'm making a content manager for a project we're working on school,...

What's supposed to happen?

Hi Folks, I installed https://github.com/spatie/crawler and found this test...
Laravel
9
103

mcrypt extension for wamp or xampp

hey guys. i want to work with laravel 5.0 because my customer php server is 5.4 i install wamp 2.4 with php 5.4.12 but it have not mcrypt , i google to how install m...

Dynamic polymorphic (?) relationships

Hello, I'm developing a CMS based on Laravel and I'm facing a logical problem. The idea is that each page owns many content blocks of different types : html,...

How to laravel validate to input only numbers and letters a-z and A-Z and space?

I need store some data with input validation using laravel 'project' => 'required', I need input only numbers between 0-9...

laravel collect in php

hey guys. is there replace for laravel collect in php? i mean how can i do this in php and without laravel? $persons = collect([ 'name' => 'John'...

check if the user own the file before show it

Hi I trying to make a middleware that shows the file for who only have the privilege to show it I mean that is the user upload file, he only can show the file, if he...

Dusk Click Element in Iframe

Hello, i am trying to automate a process (using dusk) on another site but the last page has an iframe which i need to click a button in. is there any way to do this in dusk...
Laravel
10
196

add more image to a post

Hi laravel family I am developing a small application I block on the party image backup I do not know how to save more image for an article that you could consider me! I ha...

Allow guest users to participate to a presence channel

Hi, How does a guest user participate to a presence channel? I made a status display if users are online but it only works if the viewer is signed in. How do I make...

auth()->user() returns null using passport as authentication

So I am using passport to create access tokens. Now previously I was struggling to create access tokens on a per tenant basis which has now been solved. The next step was t...

Money Exchange Rate

Which method is the best method for money exchange rate??...

Laravel 5.4 mix

I installed a fresh laravel 5.4 application. I followed the documentation on how to set up laravel mix. However, when I run npm run dev i get the following error: 0...

File storage link

I use: php artisan storage:link After that i can access my file in public/storage But when I add file like this: request()->image->store('public/storage/foto')...

How to set up cronjobs in AWS

How to set cronjobs for laravel app effectively without being affected by load balancers in AWS...

GuzzleHttp hang up my laravel app

Hello . When I use GuzzleHttp and send the request, my laravel program is interrupted and I will stop the server and run it again. if use online api or just use localhost w...

Understanding Laravel queue's jobs when failing..

I am using redis and laravel horizen for manging my queues.. this is only for testing queues, to understand how it works. Now, when I dispatch this job, It will be p...

How to access data from Vue/Axios in Laravel Controller

I'm making a SPA with Vue and Laravel as the backend, this is my first such attempt so I beg mercy. The problem: I can't figure out how to access data sent from a fo...
Laravel
13
265
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