Member Since 1 Year Ago

Experience Points

4,000 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
Best Reply Awards
Best Reply
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.


    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.


    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
1,000 XP
1 month ago
Activity icon

Started a new Conversation How To Make Web Push Notifications Server?

Hi. I try to make a notification server in real time and run it in the background. I already know how to do everything on the client side, but I don't know how to do this side of the backend.

can you give me some advice, or share some link where I can see how this task is carried out.



1 month ago
Activity icon

Started a new Conversation How To Configure Laravel Mix To Work With Asynchronous Components?


I have a Laravel project and I am using Vuetify.

this my config to plugin vuetify

import Vue from "vue";
import Vuetify from "vuetify";
// import "@mdi/font/css/materialdesignicons.css";
import "material-design-icons-iconfont/dist/material-design-icons.css";
import es from "vuetify/lib/locale/es.js";


const opts = {
  theme: {
    options: {
      customProperties: true

    themes: {
      light: {
        primary: "#283e60", // azul
        secondary: "#606363", // gris
        accent: "#82B1FF",
        error: "#FF5252",
        info: "#2196F3",
        success: "#4CAF50",
        warning: "#dc992d" // naranja
  lang: {
    locales: { es },
    current: "es"
  icons: {
    iconfont: "md" || "mdi"

export default new Vuetify(opts);

This is the configuration of laravel mix

  .js("resources/js/login/app.js", "public/js/login")
  .js("resources/js/dashboard/app.js", "public/js/dashboard")
  .sass("resources/sass/login.scss", "public/css/login")
  .sass("resources/sass/dashboard.scss", "public/css/dashboard");

this is what i get

 DONE  Compiled successfully in 11863ms           

                               Asset      Size                            
/css/dashboard/dashboard.css          0 bytes  
/css/login/login.css                               0 bytes  
/js/dashboard/app.js                        2.3 MiB    
/js/login/app.js                                 2.29 MiB
0.js                                                     63.6 KiB 
1.js                                                     13.9 KiB
2.js                                                     12.7 KiB                                

My question is:

How can I configure Laravel Mix to interpret my SASS files even if I have asynchronous compotent?

4 months ago
Activity icon

Started a new Conversation WebPush Notifications In Background?


attempt to make a system that sends notifications in the background. That is, it does not matter if the browser window is closed, notifications have to continue to be delivered.

I made a websoket with which I can send the notification messages in real time, however I cannot use the websoxket in the service worker

If you know any tutorial where this can be done, I will thank you

this is my code.

// register service worker
const registerServiceWorker = async () => {
  const swRegistration = await navigator.serviceWorker.register("service.js").then(registration => {
      userVisibleOnly: true
    }).then(subscription => {
      registration.showNotification('Hola Mundo');
  return swRegistration;

// service worker

async function load() {
  await axios.get("").then(res => {
    err => {

self.addEventListener('push', event => {
    self.registration.showNotification('Hola Mundo Push')
4 months ago
Activity icon

Started a new Conversation Laravel Web Sockets.

Hello, I am doing a local project with which I send push notifications but I do not have an ssl certificate, however I can access the page but I cannot connect to the socket

window.Echo = new Echo({
    broadcaster: 'pusher',
    key: 'ESDASD2222',
    wsHost: '',
    wsPort: 6001,

    cluster: 'mt1',
    disableStats: false,
    scheme: 'http',
    // encrypted: true,
    transports: ['websocket', 'polling', 'flashsocket'],
    enabledTransports: ['ws', 'wss'],
    disabledTransports: ['sockjs', 'xhr_polling', 'xhr_streaming']

this is intended to connect securely to the sokect but I don't have a certificate to put it to socket.

pusher.js?782e:425 WebSocket connection to 'wss://' failed: Error during WebSocket handshake: Unexpected response code: 404

however I can connect if the protocol is just ws.

can you help me configure the echo instance to connect without the wss protocol

Thanks in advance

4 months ago
Activity icon

Replied to I Can't Run Background Tasks

thanks for your help.

4 months ago
Activity icon

Replied to I Have A Problem With For Models Laravel 6

excuseme but my inglish not is good. In Laravel 5.8 this was not happening to me. I solved it using carbon.

$model->created_at =  Carbon::parse("2019-09-05 10:11:45")->format('Y-m-d H:i:s.u');

But I wanted to see if there is a way to fix it globally in the system

Activity icon

Started a new Conversation I Can't Run Background Tasks

I saw that more people have this problem.

I already have my cron scheduled but it never calls the tasks that have the function runInbackgroud ()

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe php C:\inetpub\task\public\artisan schedule:run 1>> $NULL 2>&1
    protected function schedule(Schedule $schedule)
                        ->appendOutputTo(storage_path() . '\logs\enf-local.log');

                        ->appendOutputTo(storage_path() . '\logs\enf-registro-json.log')

This only runs the first command but if I take the second function runInBackground () also runs it

He has the same problem, we both use windows

in my case windows server 2012

Activity icon

Replied to I Have A Problem With For Models Laravel 6

because I already have the dates of another record

Activity icon

Started a new Conversation I Have A Problem With For Models Laravel 6

I try to insert a record in my database table, but the created_at and updated_at fields take them as invalid fields

this is my query

$model = new Model;
$model->created_at = "2019-09-05 10:11:45";
$model->updated_at = "2019-09-05 10:11:45";

this is error

   InvalidArgumentException  : Data missing

  at C:\inetpub\task\public\vendor\nesbot\carbon\src\Carbon\Carbon.php:917
    914|             return $instance;
    915|         }
  > 917|         throw new InvalidArgumentException(implode(PHP_EOL, $lastErrors['errors']));
    918|     }
    920|     /**
    921|      * Set last errors.

  Exception trace:

  1   Carbon\Carbon::createFromFormat("Y-m-d H:i:s.u", "2019-09-04 19:20:34")

  2   Illuminate\Support\DateFactory::__call("createFromFormat")

  Please use the argument -v to see more details.