themenace themenace
0

Upgrade from Yearly to Forever ?

Hi Did a quick search but could not locate this specific question. Apologies if it has been answered already. A couple of Months in (Subscribed August 2019 Ye...
Gabotronix Gabotronix
0

get url query string value with javascript

Hi everybody, I have a laravel-vue app where after a vue component is mounted I want to chek if the url has the a given query string parameter and its value, for example g...
richbreton richbreton
2

Job success

I know how to get info when a job is failed but is there an event or something on job success? how would I know a queued job was successful at the moment it succeeded?...
Gabotronix Gabotronix
2

Array to string conversion error when running laravel seeders

I'm getting the error below when running seeders for my appointments table: ErrorException : Array to string conversion at C:\xampp\htdocs\daisyspet\ve...
General
2
111
Gabotronix Gabotronix
1

Adding v-model to non-input custom component in Vue?

Hi everybody, I created a custom calendar component and I was wondering how I can send value upwards, I thought about using v-model but all the posts I saw about it use inp...
Gabotronix Gabotronix
1

Applying css properties to multiple children on hover

Hi everybody, I want to apply different properties to a element on hover, all elements are children of the class I apply hover but it's not working for some reason......
Gabotronix Gabotronix
1

Laravel for backend/API for nativescript-vue app?

Hi everybody, I have been reading a lot about nativescript-vue recently for developing native apps on mobile while using vue's single file components and familiar syntax an...
General
1
106
Gabotronix Gabotronix
1

Vue v-visible directive help

Hi everybody, I want to create a custom directive similar to v-show and v-if but it sets the visibility of the element to hidden instead, how can I evaluate id the expressi...
Gabotronix Gabotronix
4

Can't use laravel singleton inside Middleware

I have a custom middleware where I want to use a singleton I use to pass php variables into my frontend, however I get the following error: ReflectionExcept...
Gabotronix Gabotronix
4

Programatically check if Mailgun mail was sent correctly with PHP SDK

Hi everybody, I 'm tinkering with Mailgun's PHP SDK in my laravel app, the emails are sent correctly after checking Mailgun's dashboard but I'm wondering if there's a way t...
Gabotronix Gabotronix
1

Lodash filter not working with multiple conditions

Hi everybody, I'm using lodash library to filter an array of objects but for some reason the filter it's returning the same value I pass to it, any idea what am I doing wro...
Gabotronix Gabotronix
2

Issue with sending data from my backend to frontend after redirect

Hi everybody, I have an auth middleware which redirects back to home page if you are not logged in, once the user is redirected to home page I want to open a modal for him...
mstnorris mstnorris
7

Games and Players (Users) for Table Tennis scores app (simple)

I have two models, Game, and User (a player). In my games table, I store the ID of player_one_id,...
yougotnet yougotnet
0

Cashier 10 - How to get Stripe Subscription?

Prior to Cashier 10, there was a asStripeSubscription(); but I don't see that anymore. How can I get the subscription from Stripe?...
Fifiasco Fifiasco
1

Resizing images with Intervention / Imagick

Hello all, I am just looking for some advice on resizing images using intervention/imagick. My case is unique but not obscure. I have a system that builds labels from param...
bhhussain bhhussain
2

smtp.mailtrap.io - connection refused

I have uploaded my project to Godaddy CPANEL to test it.. When I try to register the user I am getting the below error message Connection could not be establi...
david2000 david2000
14

checking date payment for my function update()

I have to do a checking between the payment date and the seance date in my method store(). The method store() is OK! $datePayment = Payment::where('fk_studen...
General
14
711
henninghorn henninghorn
7

Validation: Only run exists validation if input is not empty array

Is it possible to only run a validation if an input is a filled array and not an empty array? I wan't to be able to update an article with an empty tags array, which...
General
7
1598
Mawunyo Mawunyo
1

Laravel Passpost with multi auth

Hi every one How can I manage laravel API Passport with multi auth 'guards' => [ 'patient' => [ 'driver' => 'session',...
Sinnbeck Sinnbeck
1

Hover in episode list wrong on laracasts

@jeffreyway I just noticed a small bug in chrome (version 77.0.3865.120 on Ubuntu) When hovering over the icon of an active episode...
florent6001 florent6001
3

Laravel Vapor = Server include ?

Hi all, I have a simple question. I want to take a Vapor subscription, do i need to rent my server or a server et free with my vapor subscription ? Thank you....
uematsusoft uematsusoft
0

Error with open_basedir and translation strings containing "?" on windows

Hi. I get an exception (Laravel, OctoberCMS) when a translation string contains "?" character like in "Forgot your password?" and PHP open_basedi...
Chron Chron
2

make a carousel from posts

Is there a way to grab all the posts that has images in them and make a carousel from that? And when I clicked an image in a carousel, I'll get redirected to its post....
General
2
469
ryansmith030 ryansmith030
0

How to Listen to Songs on the Latest MacOS

Numerous MacOS users have waited years for Apple to wrap up the complicated story of iTunes and distribute it into individual-specific apps. Well, the day has finally come...
afrasiyabhaider afrasiyabhaider
3

Best Resource to Implement Google Drive API ??

I want to get and send data into google drive from my laravel application. Anyone can tell me that how to implement Google Drive Api in Laravel 6?...
Heimdall Heimdall
18

update BDD

Hello, i have little problem with update on my BDD: my problem is : i have 2 table : 1 table = chiens and 1 table images I want edit information on my...
General
18
584
bigweld86 bigweld86
16

Laravel Passport error: createToken method doesn't exist

I'm trying to generate a token to authenticate users in my Controller the following way: namespace App\Http\Controllers\API; use Illuminate\Foundation\Auth\A...
General
16
487
dev740 dev740
2

Why is the loop printing wrong value?

echo($a[5]); //this is not printing 0 why? for($x=-2;$x<2.1;$x+=0.4){ $a[] = $x*$x; } Output is: Array ( [0] =>...
TaylorOtwell TaylorOtwell
214

Informal Poll: Routes File

Quick little informal poll here... Currently, Laravel 5 ships with a "routes.php" file in the App\Http directory. This file is included by the RouteSer...
General
214
641
ChinusGomes ChinusGomes
1

Laracasts - Thoughts? Opinions? Roadmap to proper use?

Totally new to Laravel. I know a bit of PHP but most of my web development experience has been with Rails, although I've never done anything overly complicated with it eith...
Jmrtech Jmrtech
1

ngrok for app url

I was trying to access my app using ngrok, and I kept getting errors with the routes. I changed the application url to: 'url' => '...
kardo_qadir kardo_qadir
0

How to show grabled text into unicode in mysql?

I had a database which it is charest latin1, the unicode texts are stored like this چیه‌ Ùˆ بۆچی به‌كاØ...
Dunzo Dunzo
2

how easy is it to crack "hashids"?

i dont want to expose my database primary key. so i was thinking to use hashids with salt to generate random short string . since it generate random string based on numbers...
consil consil
2

Job dispatch options - how does this actually work?

This is something I am trying to wrap my head around, and I'm sure I am simply missing something really simple. I can dispatch a job like this: dispat...
Create a New Discussion Button