Rymercyble

Member Since 3 Years Ago

Experience Points
13,740
Total
Experience

1,260 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
106
Lessons
Completed
Best Reply Awards
2
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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.

  • Community Pillar

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

Level 3
13,740 XP
Nov
29
1 month ago
Activity icon

Started a new Conversation Modifying Default Files Of Laravel

Hello, I'm wondering about modifying default files of laravel (except vendor of course). I would say it should be completely ok but I want to be sure

Nov
22
2 months ago
Activity icon

Awarded Best Reply on 419 Page Expired When Logging In Twice Using Laravel Jetstream

if u open login screen multiple times CSRF token will be same on all and that's the reason

CSRF token must be used uniquely when you login you invalidate that token and then if you are trying to make request with invalid token or without token 419 page expired is shown

Activity icon

Replied to 419 Page Expired When Logging In Twice Using Laravel Jetstream

Yes I meant verifying csrf first because security is superior

I can understand that from user's view this behaviour is a bit strange but also opening multiple login screens and trying to login in each of them is strange behaviour

Activity icon

Replied to 419 Page Expired When Logging In Twice Using Laravel Jetstream

In my opinion this is more logical order because first of all you have to make sure request is valid. If it's not then what's the purpose of deciding which "group" of requests is this request in ?

Activity icon

Replied to 419 Page Expired When Logging In Twice Using Laravel Jetstream

if u open login screen multiple times CSRF token will be same on all and that's the reason

CSRF token must be used uniquely when you login you invalidate that token and then if you are trying to make request with invalid token or without token 419 page expired is shown

Activity icon

Replied to Blade Style Extending Master Layout But In Vue (3)

@tray2 I don't think so. Mixins looks to me like they are supposed to be for javascript not whole template

Activity icon

Started a new Conversation Blade Style Extending Master Layout But In Vue (3)

I'm building app using laravel, inertia and vue 3.

I didn't find anything like blade so I'm asking here now.

In blade I can do this

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
	@yield('content')
</body>
</html>
@extends('layouts.app')

@section('content')
@endsection

is this somehow possible in vue (3) ?

Nov
19
2 months ago
Activity icon

Replied to Real World Usage Of Interface And It's Meaning

I was thinking about option that interface is there just as contract just to make sure each concretion meets common structure of having same named methods for same things. If that's all what it is then I understand since beginning I was just expecting it to be something more. It's just tool to structure code so when applied in right situation it makes it easier to change functionality

Even then I still want some reaction to my example....are payment options in shopping cart right situation to use interface ? and if yes how it would look ?

Activity icon

Started a new Conversation Real World Usage Of Interface And It's Meaning

Hello

I'm programming for nearly 2 years I'm learning about concepts and theory around OO but what I'm apparently not able to understand is meaning and usage of interface

Let's assume I have shopping cart form at domain/cart I have select with each payment option and after submit of order I have if statement which will determine instance of right class based on selected option and send it to ProcessPayment class where I'm using interface and there I call pay method

Because interface is not magic I have to send instance of right class to part of code where I'm using that interface

Then in my eyes such interface is totally pointless because if I have to manually determine instance of which class will be accessed by using interface I just can skip that step with interface and call pay method right on instance of that class

My question is am I right ? And if not why ? And if this is bad example I would be happy for better one

Oct
25
2 months ago
Activity icon

Awarded Best Reply on Vue3 Cannot Read Property 'startsWith' Of Undefined

for future readers

"@types/webpack-env": "^1.15.3",

was "missing" (nowhere mentioned you need it)

Activity icon

Replied to Vue3 Cannot Read Property 'startsWith' Of Undefined

for future readers

"@types/webpack-env": "^1.15.3",

was "missing" (nowhere mentioned you need it)

Activity icon

Started a new Conversation Vue3 Cannot Read Property 'startsWith' Of Undefined

Hi, I'm trying to setup laravel 8, vue 3, inertia, bootstrap 5. I was getting all sort of errors I figured somehow mainly by starting over but this one I have no idea

Error appears when running npm run dev

package.json

{
    "private": true,
    "scripts": {
        "dev": "npm run development",
        "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
        "watch": "npm run development -- --watch",
        "watch-poll": "npm run watch -- --watch-poll",
        "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js",
        "prod": "npm run production",
        "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
    },
    "devDependencies": {
        "@inertiajs/inertia": "^0.5.0",
        "@inertiajs/inertia-vue": "^0.4.0",
        "@inertiajs/inertia-vue3": "^0.2.0",
        "@inertiajs/progress": "^0.1.2",
        "@vue/compiler-sfc": "^3.0.2",
        "axios": "^0.21.0",
        "bootstrap": "^5.0.0-alpha2",
        "cross-env": "^7.0.2",
        "laravel-mix": "^5.0.7",
        "laravel-mix-vue3": "^0.7.0",
        "lodash": "^4.17.20",
        "popper.js": "^1.16.1",
        "resolve-url-loader": "^3.1.2",
        "sass": "^1.27.0",
        "sass-loader": "^10.0.4",
        "vue": "^3.0.2",
        "vue-template-compiler": "^2.6.12"
    }
}

webpack.mix.js

const mix = require('laravel-mix');

require('laravel-mix-vue3');

mix.vue3('resources/js/app.js', 'public/js', {
    typescript: false,
}).sass('resources/sass/app.scss', 'public/css');

app.js

import './bootstrap';
import { createApp, h } from 'vue';
import { app, plugin } from '@inertiajs/inertia-vue3';
import { InertiaProgress } from '@inertiajs/progress';

const el = document.getElementById('app');
el.classList.add("h-full");

InertiaProgress.init({
    delay: 250,
    color: '#29d',
    includeCSS: true,
    showSpinner: false,
});

createApp({
    render: () => h(app , {
        initialPage: JSON.parse(el.dataset.page),
        resolveComponent: name => require(`./Pages/${name}`).default
    }),
}).use(plugin).mount(el);

error won't appear until running vue init

createApp({
    render: () => h(app , {
        initialPage: JSON.parse(el.dataset.page),
        resolveComponent: name => require(`./Pages/${name}`).default
    }),
}).use(plugin).mount(el);
Sep
08
4 months ago
Activity icon

Awarded Best Reply on Laravel 8 ' The "--jet" Option Does Not Exist. '

run again composer global require laravel/installer and then laravel new urproject --jet

Activity icon

Replied to Laravel 8 ' The "--jet" Option Does Not Exist. '

run again composer global require laravel/installer and then laravel new urproject --jet