Derockypeter Derockypeter
5

How can I update many columns in DB when meets a specific logic and also send mails across to three users

I'm trying to update DB and send emails to three users, for every login, but seems like the way I did it isn'nt really working as expected, please what is the best way? I h...
sergionc sergionc
5

select dynamic with livewire

Hello friends, I am trying to do dynamic select using livewire, any help? Component: public $ciudades=[]; public function render() { $regio...
General
5
1271
GrandeDios GrandeDios
0

How to calculate the sum of properties product

Each desktop computer has the ability to select the appropriate component such as: Ram, Graphic Card, etc. Each component has its own individual...
Isaiah Isaiah
7

Pass Html string to view having Eloquent syntax

Would like to pass an html string that includes an eloquent {{$variable}}. So in controller method $data = Model::all(); $htmlString = "< span...
oussamaSid oussamaSid
0

Must not run with Sudo error | GitHub Actions

have anyone work with GitHub actions I'm trying to config the actions runner in my virtual private server and I got Must not run with Sudo with Su...
Ravish Ravish
2

URL::asset() vs asset()

Is there any difference between URL::asset() and asset()?...
Heimdall Heimdall
1

Put variable js on php

Hello, I want recover my variable on Js for load Route on laravel, but i need variable php for that... $('html').on('click', '.resto', functi...
General
1
2415
brayniverse brayniverse
1326

Where are you all from?

I'm wondering how far Laravel's reach extends to. I hail from London myself....
General
1326
25579
MartinZeltin MartinZeltin
14

Chrome is blocking local IP 192.168.0.17 - mixed content

I have a web app where I need to make an AJAX connection to a local server at IP: http://192....
General
14
79
aarselendUX aarselendUX
1

Function level monitoring to find bottlenecks

I inherited around 20,000 Laravel / Php lines deployed with Forge. Is there something that allows me to monitor which functions are running at what time? CPU...
owiesnama owiesnama
5

Carbon interval to two parts only

I'm trying to get time diff between tow dates using Carbon and everything is working fine. assigned_at.diffAsCarbonInterval(created_at) // 5 days 19 hours...
lukegalea16 lukegalea16
2

MQTT vs LwM2M

Hi, I know that this question is not directly related to Laravel however I figured that some here may be experienced enough to help me. I am using a Quectel module over NB-...
davy_yg davy_yg
4

SEO for blog

I would like to ask: I heard that creating blog posts could increase your seo, how to register your article so that it could increase your seo rank in search enginee...
General
4
352
Čamo Čamo
10

Cors issue with login from localhost:3000 to localhost:8000

Hi, I have a problem with Cors policy. I would like to make ajax request from browser on localhost:3000 to server on localhost:8000. But I am getting an error: Acce...
Čamo replied
Solved
General
10
130
yayuj yayuj
20

E-commerce

Hey'all I need to create an e-commerce to a client but I'm running out of options related to platform... OpenCart sucks (sorry for those who likes it, you suck as well - ...
General
20
907
Chron Chron
9

How to only load needed js file?

I'm using Input mask v3.3.11. Here is the github: https://github.com/Ro...
General
9
132
yalsicor yalsicor
4

Scheduled job constructor not called on subsequent calls in containerized environment

Laravel Version: 7.23.0 PHP Version: 7.4.4 Database Driver & Version: psql 12.3.0 I am running Laravel in a Heroku like PaaS envir...
General
4
115
djamiirr djamiirr
7

Laravel and Angular or just Laravel

Hi Laracasts developers. I have a question for you, I'm confusing about angular and/or laravel. I'm planning to hire some developers at my company. but in fact, I ha...
mooseh mooseh
9

18 Digits not displaying correctly?

Setup: Laravel 6.18 VueJS 2.5.17 So i have a bot (discord bot) model which has a pivot table which has a task field that is casted from json into an array. Wh...
mooseh replied
Solved
pietiep pietiep
1

Working on a remote server for development

I want to develop on a remote server with a laravel template called metronic. When I start with "php artisan serve" and I go to the domain it shows me my laravel-...
master_chief master_chief
14

404 Not Found - But Route Exists

Hi everyone. I got a very strange problem with laravel. I get a 404 Not found when a specific url is requested. I have an entire website working on-line, every route works...
General
14
5766
Heimdall Heimdall
8

Array Php to Array Js

Hello, I need convert my array php on array JS, but i dont know do that, because is associatif array : array:2 [▼ 0 => array:2 [▼ "l...
Heimdall replied
Solved
synergy synergy
2

API to download file from another laravel project

I have 2 laravel projects on different server. I'm building an API on Project1 to download pdf file and feed to Project2. So users o...

Automatically pass foreign key when create from relationship

Hi, I have a One-to-Many relationship. A holding can have many users. But a user can only belongs to one holding. This is what I am doing :...
tommasoKuhn tommasoKuhn
1

Geany and blade with css

I use Geany as an Editor to program. I insert the css styles in blade between the style tags. view-style.blade.php ... I would like to see the colors and id...
trifek trifek
3

How to optimize the display of categories in Laravel 7?

Hello, I am beginner php developer. I'm doing a project in Laravel 7 and using:...
t0berius t0berius
19

collection check for existing IDs inside collection

Using this code: //fetch all ids $editableStockItemIds = $product->stockItems()->available()->select(['id'])->get(); How...
General
19
224
fichby fichby
12

Laravel moving app to vapor "UnrecognizedClientException"

Hi I am trying to move my application to laravel vapor Now that I have deployed it, i am trying to log in and I get the error Error executing "Ge...
General
12
2100
Mawunyo Mawunyo
1

Set search form input value on click laravel livewire && alpine js

H i I use laravel livewire and alpinejs, I want to set search form input value on click. How can I do that? <div class="form-group mt-3"...
Gabotronix Gabotronix
3

Stripe, webhooks and SCA European law checkout flow

Hi everybody, I'm working on a website with Stripe payments, it's europe based so I'll have to deal with SCA 3D Secure auth, stripe docs recommend me to deal with payment f...
alnouirah alnouirah
7

Calculate Points from amount of money .

Hello guys :) . i want to calculate points based on specific amount of money . for example : 1 point for 1000$ and when it comes to numbers like 960 i want to store 1 poin...
Gabotronix Gabotronix
4

Stripe CLI sends webhooks with fake data, how am I supossed to test my integration

Hi everybody, I'm working on a website with Stripe payments, it's europe based so I'll have to deal with SCA 3D Secure auth, stripe docs recommend me to deal with payment f...
halloei halloei
1

Sending \Illuminate\Mail\Mailable with Laravel's notifications

I created the notification OrderConfirmation which should send an email. That works great when I use the "MailMessage-Builder" as explained in the...
General
1
207

When to use an Event or Job ?

Hi there, I am watching the course "queue it up" of Jeffrey. And I would like ton understand when should we use an event or a job ? Also, whats motivate ou...
TimeSocks TimeSocks
3

Laravel Lighthouse Config - unable to locate publishable resources

I have installed the latest version of Lighthouse into my Laravel 7 app and it's been working fine with the out-of-the-box config. I now want to tweak some settings for bet...
Create a New Discussion Button