sunedall sunedall
0

Querying model based by two different pivot tables

Hi folks. Been scratching my head with this one, since I'm not hardly skilled in Laravel and Eloquent yet. I've been searching in here (...
FareedR FareedR
0

checking multiple table for unique validation

i separate table by their role. how can i check their email has been taken or not & how can i update same user with same email address ? can i just put ignore('$user-&g...
developerRijan developerRijan
0

How to dynamic- "Bootstrap multi column carousel" using laravel please help...

hi , I am newbie in laravel & just creating multi column carousel using bootstrap but I can`t dynamic this ... please below my source code. My requirement is in...
Punksolid Punksolid
0

Is it viable to make a CRUD just to add one field to serve as Only Read Relationship?

Hi, I want some feedback because I think something it's a little bit wrong here but I don't now the principles that it's wrong. I have an SPA and there a form to cre...
uxmahbub uxmahbub
0

Auto select with jQuery

Html code: <div class="per-input per-businessHour"> <select name="closing_time[]" class="closin...
oliverbusk oliverbusk
0

Auth policy, extend to "sub pages"

In my web application, users can create "Streams". A Stream have an owner (owner_id). To only let the owner access the Stream, I have created a policy:...
fredemagi fredemagi
0

Transpile CKEditor to ES5 using Webpack/Laravel mix

In order to get CKEditor to work on previous versions of Safari in iOS 10, I was recommended to transpile CKEditor to ES5 using their guide:...
Mix
0
23
ludo1960 ludo1960
0

Insert predefined values into mongodb

Hi guys, I can insert a Boolean as true or false like so: 'color' =>$faker->Boolean, But what if I want to make predefined valu...
Belio Belio
0

Using Metrics with relations

Is there a way to sum relations in Trends? I have an accessor in my Invoice model that goes through the Lines in order to get the total but I can't use eloquent here as far...
Nova
0
18
JohnM1 JohnM1
0

Displaying forum latest activity

Hi! I have a simple forum app with topics and replies and I want to display latest activity on main page. I want to keep things simple so I put all the logic in the...
eleven0 eleven0
0

Members(Persons and Companies) > Teams > Projects Members ->Project

Hi there, can someone share some opinions about a membership structure I am trying to establish? I already have; Projects have many teams (But team can have one proj...
mikepmtl mikepmtl
0

Auth::id returns null in ServiceProvider when Feature testing

I have a package I wrote for User/Role/Group permissions that loads up through a ServiceProvider. It works fine generally, but for some reason in Feature Tests Auth:...
johnnyCC johnnyCC
0

Laravel 5.2 + Dingo + JWT - Multiple Auth with different prefixes

Hi, Current settings: Laravel: 5.2.44 Dingo Api V1 JWT Auth Stuck for a few days now with my next problem, please help: I have an ongoing app as...
moukbel moukbel
0

how to connect Pusher with Service worker Push Notification

I'm trying to add PushNotificaion to my web app, can anyone tell me how to connect service worker to Receive Push Notification also, don't know how to get applicatio...
oliverbusk oliverbusk
0

Relationship - Unique values for shared relationship

I am trying to create a web application, where users can: Upload documents Upload emails (inbound emails) The documents/emails will be u...
splendidkeen splendidkeen
0

Event Listener with Popup Notification?

Hello, I am currently thinking about a simple logic in terms of visually outputting a push notification or just a partial on the user side of the application, if a button i...
baptiste_c baptiste_c
0

Class Swift_KeyCache_DiskKeyCache does not exist

Hello, I'm facing a problem with laravel email integration. Please find my code here : <?php namespace App\Http\Controllers; use Illuminate...

Laravel Jobs (redis/database) + FFMpeg = application/octet-stream

So i discovered something very strange. Whenever i try to use FFMpeg within a queue using redis or database my converted videos always turn out with MIME "application/...
angelorigo angelorigo
0

Nuxtjs and Lumen API

Hi, Would be nice to have a series of videos about constructing an application using Lumen as API and NuxtJs as the front end....
Vue
0
23
GoldeNx3 GoldeNx3
0

Sort by morph author

Hello! I have query like: Offer::with(['author', 'offerCategory', 'attribute', 'metaPremium'])->latest()->paginate(20); My offers can...
takdw takdw
0

How can I create files (images/documents) in model factories?

Hi guys, I'm writing a couple of test in the project I'm working on I need some help. There is a mode called Photo which will store the information related to...
chriss39 chriss39
0

Custom Navigation

I am looking to build either a custom left hand navigation or custom dashboard and not sure if either are possible without editing core nova files so looking for some advic...
Nova
0
29
pramanadiputra pramanadiputra
0

Any recommendation for Text Editor with Image Uploads?

Hi, do you have any recommendation for text editor with image upload feature that supports Amazon S3 / DigitalOcean Space? When user upload an image, it directly sav...

Multiple variants of same app...how to manage

We have a partner for whom we are going to build a white label app that is very similar to our own app. The core functionality will be the same. There will be minor change...
Desory Desory
0

Laravel Chatapp 5.2 and latest

So I've decided to implement a chat app on my running 5.2 website but everything I can find online is with laravel 5.4 and vue and I don't really know how elixir and webmix...
zfdeveloper zfdeveloper
0

Create a custom API wrapper

This is not directly related to Laravel but I'm going to use in a Laravel application. I need to create a wrapper to an API and I wanted to create something similar...
Gabotronix Gabotronix
0

Issue with chart.js and vue

Hi everybody, I'm trying to use chart.js with vue, so far results have been good but when I get my chart data via axios (data is not there when chart component is mounted)...
nikocraft nikocraft
0

how to process my array to be associative on first two levels and on third to have simple value

I'm trying to construct an array where there only strings and the array would look like this key->key->value To explain it I attached two screenshots below....
chechogrom chechogrom
0

which loop while I should use and how

Hello everyone, I have a form in which I have a select with the plugin select 2 and I have the option of tags = true, in this select I send name-value-description (optional...
tmcguire tmcguire
0

Using hasMany on a pivot/intermediate model

Hey everyone! Quick question about intermediate/pivot models, and how to hook up relationships from those models. I have four models: Us...
winner1 winner1
0

Generating guest tokens

I'm using passport on my project I want to make some specific routes accessible for all of my API users without using username and password to take an access token...
jjmu15 jjmu15
0

Laravel Nova Actionable trait for non-nova events

Hi all, I'm wondering if it is possible to log requests from a user (via an authenticated API request for example) using the actionable trait of Nova so I can see in...
Nova
0
15
Shirshak Shirshak
0

Interpolation of Async Methods

Sometime I need to calculate heavy async calculation and return which returns promise so How would i interpolate in vue way. I cannot store them in data because ther...
Vue
0
243
Alphal1234 Alphal1234
0

Passport unable to generate refresh token

I want to generate refresh token in passport. I can generate a refresh token only if I use default hash password from Laravel. What I mean is this situation: I creat...
leisure_webdev leisure_webdev
0

I need a 'injector' to inject plannings to calendar. Where should it be?

Hello, I have 2 resources (Collections). One returns a calendar and the other one returns plannings. I need to inject the plannings into the calendar somewhere. The...
Create a New Discussion Button