Overriding default str_slug - possible?

We have users from Japan and China and it looks like Laravel's default str_slug() cannot handle characters like: 木 李 . It simply returns a blank string. Th...

Echo + Pusher + Vue - listening for event does not work

I followed this tutorial to create a commenting system... https://pu...

Vue.js listen for Key Events on div

Is there an way to listen for space or other key OUTSIDE from input fields? Something like <div @...
Vue
5
70

send mail verifiction after register work locally But doesn't work after upload in server

I got this error after i register Swift_TransportException Connection could not be established with host smtp.gmail.com [Connection refused #111]...

invalid invitation code after implementing email verification

Hello, I have successfully implemented the new email verification but now everytime a new member is invited to a team the message of This invitation code is invalid...
Spark
4
29

I got error setting ->change method in miigration

Hello, In laravel 5.7/mysql 5 app I want to set default value to timestamp field(it was not set on creation): $table->timestamp('created_at')-&g...

Run Dusk in production mode

Hi every one Do you know why it's a danger to run dusk in production mode?...

How do i add theme template css and js in the laravel and vue ?

Need help badly, i add theme template css and js in the public folder. Want to use those as vue. <p> i added vue js <link href="/css/app.css&...
Vue
1
12

How to auth my Laravel API for my IOS app

Hi , i have to develop the backend of an IOS app and i'm concerned about some stuff : To use my app you have to be logged in (create an account) I want to kno...

How to apply the translation in the .js script

I created a page to upload images. I use javascript to enhance the appearance. I want to apply the language translation to the CHANGE button in the xxx.js. script. If the h...

Authentication as activation key

hi all, My Process.. step1:Registrations Step2:otpverification step3:codeactivation step4:redirect to another page with loging. I done to step2.. after otpve...

Testing a secure route laravel 5.5 NotFoundHttpException

Hi Today's testing question is on secure routes. Within my routes file I have: if (App::environment() == 'deployed') { \URL::forceScheme("...

Code Review: Is this okay, or should I be doing something...

Here is my code for attaching files to client notes. Is this okay or should I be doing something different? public function upload(Request $request) {...

Service Layer in laravel

Is it good idea to have a service layer in the application which holds the business logic, so that the controller work is to get the user data and return the response from...

Decrement Model Value every day

So I'm building an invoicing application. I have a Company model where I have a 'credits' field and refill_datetime field . I want to decrease the credits column everyday a...

Error with relationship instance

Hello everyone, I have updated my Laravel from 5.4 to 5.7, everything works fine, I have adapted the code by removing and replacing the deprecated codes... But... Bu...

How to show data in database in Vue devtools?

When I click in Cars. I want show me the image below. Has anyone experienced this problem? I'm using Vue Devtools but can't inspect any components on a...

how to add themeforest custome css file in the resource/asset/sass file ?

Please help how do i add the css file in the resource folder to be use for vue front end....
Vue
1
11

Caching and Repository pattern libraries/packages?

Does anyone have a good package they use for caching and for repository pattern? For repository pattern i find it confusing to use a package which just have find() a...
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