phoenixg phoenixg
0

How to integrate Nova with swoole?

When I'm using swooletw/laravel-swoole pacakge, something just broken, not working very well, is there a best solution here?...
Nova
0
1
newSequence newSequence
0

Use Trait to override attributesToArray on Model

I am attempting to override the attributesToArray method on Model.php for use in a trait I am using on another model, lets call it sale.php. I am doing this to decrypt attr...
Ranx99 Ranx99
0

Get vimeo's video duration and other info

In my website, I am allowing users to upload videos to Vimeo through their API to my account, then after uploading.. Vimeo will take sometime for trans-coding the uploaded...
construct construct
0

Email Verification via API with 5.7

Please forgive me for my lack of ignorance, but has anyone managed to get the email verification working in an API environment? Currently I have followed what was stated h...
mstnorris mstnorris
0

Getting Dusk to run from the command line & PhpStorm

Has anyone got Dusk successfully working from both the command line and PhpStorm using a separate database whether thats a MySQL or SQLite DB? I would like to be abl...

Database connection with a AWS server created with Forge.

Hello, I've added my AWS keys and created a server with Forge (region: Virginia). Then, I created a site and added it the repository to pull the code from. So good so far....
Forge
0
11
yoeriboven yoeriboven
0

Which relationship would you choose?

My app functions kind of like Twitter. A User would follow Profiles which have Posts. A user doesn't have posts, profiles do. The User and the Profiles are in a Many...
mirkin93 mirkin93
0

Illuminate\Database\QueryException SQLSTATE[HYT00]: [unixODBC][Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired

When I try to connect to my SQL Server with my Laravel App I got the error: Illuminate\Database\QueryException SQLSTATE[HYT00]: [unixODBC][Microsoft][ODBC Driver 17 for SQL...
kay899 kay899
0

Database Connection not working in DO Server with Forge

Hi, I am hosting some websites on a Digital Ocean Server via Forge. Currently all Database Connections are not working. When I try to restart MySql or Server...
iinventedtheinternet iinventedtheinternet
0

Laravel UTC to Local Time Daylight Savings Time Error

The time zone has been set in Laravel config/app.php. I have ran the command below and cleared the cache in the config file, but the change is not reflected in any n...
martijnvreeken martijnvreeken
0

Ziggy trough webpack

Hi, I'm not an experienced JS dev. I know my way around the basics. We use TightenCo Ziggy on a project with a lot or named routes. This results in @rout...
Mix
0
10
PetroGromovo PetroGromovo
0

Can spatie/laravel-newsletter plugin be used for tasks like confirmation of registered user, forget password etc ?

Hello, In my laravel 5.7 app I need to make integration with mailchimp, for tasks like subscribing of registered users to newsletters of the site Googling I found th...
michael1986 michael1986
0

Make a relation count field sortable in Nova

Hi all, I'd like to know if it's possible to make a relation count field sortable in Nova. Number::make(__('Categories'), function () { return $th...
Nova
0
10
esmaill23 esmaill23
0

can i mock function in my controller in browser test with laravel dusk ?

can i mock function in my controller in browser test with laravel dusk ?...
AbdulBazith AbdulBazith
0

How to fetch rate of a product from db which is selected in select box in array

Guys iam working with a project inventory control i have a purchase order form which is table structure product name(select box), quantity(textbox) and rate(textbox...
MartinZeltin MartinZeltin
0

Vue.js - How to name components if I have many that could be called a User component?

I am at loss how to name my components so that it would look good on the page and not have super long names. For example, I have an app where I have a UsersSidebar componen...
Vue
0
12
Shoken Shoken
0

How to make a page accessible only by clicking on a button?

Title is confusing, I understand. Here's what's happening: my user has a view on their cart where they can review which items they are buying. On that view, they can click...
smartnathan smartnathan
0

Securing Video from being Downloaded

Good day all, Please am developing a learning platforms where videos will be uploaded and viewed directly from the web application after subscribing. I want to be able to p...
mac03733 mac03733
0

Multiple User Types

i am planning out a school management system, the main actors are ( Teachers ,Students , Parent ). i though i will simply have User Model -> will hav...
Tips
0
9
RoboRobok RoboRobok
0

Event when clicking to open page in a new tab

Hi guys, is there any JavaScript event fired when we open page in a new tab, like cmd+click on macOS? I'm pretty sure there's no event for that, but I think it would...
compasscreative compasscreative
0

Mix error handling

Does Laravel Mix offer error handling? I find that when I’m running `npm run wat that every time I save with invalid js or scss mix will crash. I’d rather...
Mix
0
10
mikevador02 mikevador02
0

RSA client side private key stored in local storage webbrowser

Hello, I looking for a solution that : Server side use pulbic key to encrypt all data , that i input to mysql db with public key from form that client input....
GTHell GTHell
0

How do you handle public API?

Currently, I need to publish some api to the third party APP. Their app need to use my API because it's involve some critical calculation. Are all what I need to do...
chrispage1 chrispage1
0

Standard auth package emails not rendering properly

Hi, I've setup Laravel Authentication using php artisan make:auth. Everything worked great other than my reset emails half render as if they are being p...
baeckerman83 baeckerman83
0

Route -> get Path like in Route?

Hi! When I use Route::resource('photos', 'PhotoController'); in my Route file, I also kan use photos/create, photos/1 and so on. Can I get the path original like in...
nexio nexio
0

how to log to file all laravel telescope?

I want to log all laravel telescope requests, model, logs, exception, and etc. to some other file in my project....
nexio nexio
0

laravel nova multiple filter in single nova resource

In laravel nova im using two hasMany field on single nova resource public function fields(Request $request) { return [ ID::make()-&g...
Nova
0
9
chaevnicher chaevnicher
0

Cookie to response

Hello, I requested illuminate/cookie, $app->singleton('cookie', function () use ($app) { return $app->loadComponent('session', 'Illuminate\Cookie\C...
Lumen
0
15
haizone haizone
0

how to laravel cache resources?

i have this list that i get from DB $products = $category ->products() ->with(['reviews','businessProducts','pr...
Fddler3 Fddler3
0

Hosting videos for streaming and trans-coding options?

I am working on a project for an online learning system using Laravel, similar to how Udemy works, where instructors will be able to upload their videos. and students can b...
Tips
0
15
anonymouse703 anonymouse703
0

How to attach query data from model and display it in view per user?

Hello guys, how to attach query data from model to display in view per user? I have a query here to get the average rating in my user model. public st...
bhavuksuthar bhavuksuthar
0

Vue Js open sketchpad in vue-js-modal

I am new with Vue and trying to open sketchpad inside vue-js-modal. I am not sure what am I doing wrong here. I am using...
Vue
0
13
dvdmeer dvdmeer
0

Unable to clear cache for custom package

Hi, I am creating my own package but am currently stuck at some weird caching stuff. My custom package is copied into my sample project that I created with:...
pehbehbeh pehbehbeh
0

Authorization based on Resource Actions

We felt a bit limited with the existing canSee and canSeeWhen methods for authorization on nova fields. We need to have field policies for...
Nova
0
34
Create a New Discussion Button