amitshahc

amitshahc

Member Since 2 Years Ago

Vadodara

Experience Points
4,650
Total
Experience

350 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
36
Lessons
Completed
Best Reply Awards
0
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.

Level 1
4,650 XP
Mar
11
2 months ago
Activity icon

Started a new Conversation Str::ordereduuid() Returns Error

Using Str::orderedUuid() helper gives below error:

Cannot call Ramsey\Uuid\Converter\Number\DegradedNumberConverter::toHex without support for large integers, since integer is an unsigned 128-bit integer; Moontoast\Math\BigNumber is required.

I found it requires some moontoast/math package but it's obsolete. I am using Laravel 6.

Jan
16
4 months ago
Activity icon

Replied to Laravel Passport Token Idle Time Setting?

I still didn't understand the use of refreshTokensExpireIn.

Can you please explain with a scenario/example explaining in simple words? I can't find anything in the documentation.

Activity icon

Replied to Laravel Passport Token Idle Time Setting?

ok, so using that check of last activity I can make some logic to refresh token. but i am not clear about what exactly the refreshTokensExpireIn() used for.

also, what is the difference between tokensExpireIn() and personalAccessTokensExpireIn().

Jan
13
4 months ago
Activity icon

Started a new Conversation Laravel Passport Token Idle Time Setting?

Is it possible to set the token idle time for Laravel Passport, such that if the user is not active with his API calls for last few minutes then the token gets expired?

Jan
06
4 months ago
Activity icon

Replied to Hierarchical User Management

It's ultimately same as spatie/laravel-permission. I was asking for Hierarchical tree structure in addition.

Jan
04
4 months ago
Activity icon

Started a new Conversation Hierarchical User Management

Is there any best package in Laravel for hierarchical user management, together with roles and permissions? Currently i have choose to use spatie/laravel-permission +kalnoy/nestedset. But i am bit confused how should i approach to integrate the both.

My query is: should I integrate the nested plugin on user table or on roles table? or on both and manage them in coding.

Or is there a better alternative which solves both above?

Dec
31
5 months ago
Activity icon

Started a new Conversation Laravel\Cashier\PaymentMethod API Documentation

Where can i find the documentation of Laravel\Cashier\PaymentMethod collection/class returned from $user->paymentMethods().

Dec
19
5 months ago
Activity icon

Replied to Laravel 6 Custom Package Development: How To Auto Publish The Package Config File?

@johnbraun This is very helpful. I will emphatically try this.

Activity icon

Started a new Conversation Laravel 6 Custom Package Development: How To Auto Publish The Package Config File?

I have developed a Laravel v6.0 package. I am trying to auto publish the package's config file immediately after the package installation using below scripts directives in my package's composer.json file:

package/composer.json:

"scripts": {
        "post-package-install": [
            "php artisan vendor:publish --tag=advertisement-config --force"
        ],
        "post-package-update": [
            "php artisan vendor:publish --tag=advertisement-config --force"
        ]
    }

The above scripts commands are not executing anytime during/after installing the package. I have to run this command manually after the installation completes. Is there any way that the config file publishes automatically after successful installation?