meetgodhani

meetgodhani

Member Since 5 Years Ago

Mississauga, Ontario

Software Developer at Benevity Inc.

Experience Points 13,725
Experience Level 3

1,275 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 126
Lessons
Completed
Best Reply Awards 1
Best Reply
Awards
  • 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.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    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.

27 Mar
3 years ago

meetgodhani left a reply on .vue Files Not Working

@hex your "App" needs <router-view></router-view> injected too since that's what you are passing and starting the router.

meetgodhani left a reply on .vue Files Not Working

You can extract out App component in separate .vue file and try out. For example this is normally what I use https://github.com/mrgodhani/rss-reader/tree/master/app/components It's electron app but basically I use similar structure in all of my apps. This is the lastest one https://github.com/mrgodhani/laterpost/tree/master/resources/assets/js (Including Laravel and using same elixir vuefiy).

meetgodhani left a reply on .vue Files Not Working

Do you use laravel-elixir-vueify to compile your .vue files? https://github.com/JeffreyWay/laravel-elixir-vueify

25 Feb
3 years ago

meetgodhani left a reply on Laravel And Mandrill

They are just merging into mailchimp and making it paid. So if you are good to switch to paid account than I don't think there would be any change needed. Only thing is you might have to do setup DKIM and SPF for your domain verification part.

19 Feb
3 years ago

meetgodhani started a new conversation Form Builder DB Design

I am working on building forms dynamically and scratching my head and thinking how would I design database that would handle following:

  • Section
  • Type of inputs ( text, textarea, checkbox, radio, select)
  • Question with sub question dependent on previous answers (i.e If user chooses yes as answer ask another question).
  • Question having multiple option of choices
  • Order of question

Any ideas or help ?

10 Feb
3 years ago

meetgodhani started a new conversation Best Way To Setup Workflow In Team

Hi

We have team of 5 and I am thinking what's the best way to setup our workflow. Currently we are going with git flow and having one staging environment and using digitalocean.

Any other recommendations? How are current startups/small companies handling QA amongst their team?

Is heroku also best solution if we are using Laravel to ease down OpsWork ?

10 Dec
3 years ago

meetgodhani started a new conversation PHP7 "Redefinition Of Parameter $userService" Error

Hi

I am upgrading my code to make it compatible with new PHP7

And I am getting following error. "Redefinition of parameter $userService" for following code:

 public function __construct(AccountRepo $account,UserService $userService,SlackApiService $slackApiService,InvitationService $invitationService,UserService $userService,OrganizationService $organizationService)
    {
        $this->account = $account;
        $this->userService = $userService;
        $this->slackApiService = $slackApiService;
        $this->invitationService = $invitationService;
        $this->organizationService = $organizationService;
    }
07 Dec
3 years ago

meetgodhani left a reply on Laravel Deployment Using Envoy

@noeldiaz Thanks I will try it out.

meetgodhani started a new conversation Laravel Deployment Using Envoy

Hi

Is there any good deployment script around using envoy for deployment. I used one from server from hackers https://serversforhackers.com/video/enhancing-envoy-deployment but only problem with that is :

  1. Doesn't remove previous releases
  2. Sometimes it doesn't force symlink update properly.

Any help on this would be appreciated.

25 Nov
3 years ago

meetgodhani started a new conversation In Laravel 5.1 How To Configure Multiple Tube's TTR

Hi

In Laravel 5.1 how would I upgrade TTR by specific tube. Right now Laravel sets TTR for only default tube. How to accomplish that for multiple tubes.

22 Nov
3 years ago

meetgodhani left a reply on Syncing Massive Data

Do you recommend any good third party services? I eventually was using beanstalkd. Plus I am also seeing spikes on cpu when storing data in database having many to many relation.

meetgodhani started a new conversation Syncing Massive Data

Hi,

What would be best architecture if there is alot of data to be synced. Should I make microframework that just handles queue to process all those data? or keep queue within the same application?

What is the optimized structural way to accomplish this.

19 Nov
3 years ago

meetgodhani started a new conversation Easy Way To Get Count Of Jobs Running In A Beanstalkd Tube

Hi,

Is there a way to get count from beanstalkd queue tube. Do we use Pheanstalk for that?

Help is appreciated.

15 Nov
3 years ago

meetgodhani started a new conversation What Is The Best Way To Show Progress Of Queue To User?

Hi

How do we show progress of a queue job and notify user when job is completed or finished using Laravel 5?

04 Nov
3 years ago

meetgodhani started a new conversation Easiest Way To Clone Data From Table And Repost It With Different User_id

Hi,

What is the easiest way to reclone data and assign it to different user_id or foreign key id.

02 Nov
3 years ago

meetgodhani left a reply on Getting Reflection Exception Error When I Deleted My Custom Class

Nvm Found the culprit. The error was triggered from Command. Weird as I wasn't using that class and was just using Other class.

meetgodhani left a reply on Getting Reflection Exception Error When I Deleted My Custom Class

[2015-11-02 15:24:28] local.ERROR: exception 'ReflectionException' with message 'Class Clip\Services\SharedService does not exist' in /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php:791
Stack trace:
#0 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(791): ReflectionParameter->getClass()
#1 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(772): Illuminate\Container\Container->getDependencies(Array, Array)
#2 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(627): Illuminate\Container\Container->build('Clip\\Services\\R...', Array)
#3 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('Clip\\Services\\R...', Array)
#4 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(838): Illuminate\Foundation\Application->make('Clip\\Services\\R...')
#5 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(801): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#6 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(772): Illuminate\Container\Container->getDependencies(Array, Array)
#7 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(627): Illuminate\Container\Container->build('Clip\\Services\\C...', Array)
#8 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('Clip\\Services\\C...', Array)
#9 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(838): Illuminate\Foundation\Application->make('Clip\\Services\\C...')
#10 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(801): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#11 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(772): Illuminate\Container\Container->getDependencies(Array, Array)
#12 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Container/Container.php(627): Illuminate\Container\Container->build('Clip\\Console\\Co...', Array)
#13 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('Clip\\Console\\Co...', Array)
#14 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Console/Application.php(109): Illuminate\Foundation\Application->make('Clip\\Console\\Co...')
#15 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Console/Application.php(123): Illuminate\Console\Application->resolve('Clip\\Console\\Co...')
#16 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(226): Illuminate\Console\Application->resolveCommands(Array)
#17 /vagrant/clip-team/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Illuminate\Foundation\Console\Kernel->getArtisan()
#18 /vagrant/clip-team/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

Yes I made sure it doesnt exist anywhere else.

meetgodhani started a new conversation Getting Reflection Exception Error When I Deleted My Custom Class

Hi,

I keep getting annoying bug ReflectionException after deleting my custom classes.

I tried using composer dump-autoload and it doesn't work. On php artisan I get same error.

Any Help ?

23 Oct
3 years ago

meetgodhani started a new conversation Package To Integrate Elastic Search With Laravel 5

Hi

Is there any good maintained package for integrating Elastic Search with Laravel 5?

21 Oct
3 years ago

meetgodhani left a reply on Database Schema For Users Belonging To Groups With Roles

@bobbybouwmann If we go adding extra attribute in pivot table how would I query just to retrieve organization where user is admin.

20 Oct
3 years ago

meetgodhani left a reply on Database Schema For Users Belonging To Groups With Roles

@bobbybouwmann So basically role would be simple string rather than having extra Table just for roles.

meetgodhani started a new conversation Database Schema For Users Belonging To Groups With Roles

Hi,

What is the best way to design database schema for Users belonging to multiple Organization/Group and their roles in that Group.

For example,

Sam is part of group PHP and he is also owner of the group Joe is part of group PHP and his role is member.

So how do we design that kind of schema ?

14 Oct
3 years ago

meetgodhani started a new conversation Configuring Redis For Socket.io

Hi

What's most efficient configuration for Redis for socket.io. I have two apps one in staging and production. How to divide it so that they use different database/cluster for redis.

And I also see because of redis sometimes process of api calls gets slow down.

Any help will be appreciated.

15 Sep
3 years ago

meetgodhani started a new conversation Search With Relevancy

Hi

How to use eloquent to search or query posts by relevancy ? I tried using this plugin https://github.com/nicolaslopezj/searchable. But problem I found out that it doesn't go well with boolean where i.e where('status',true). Gives me error for it.

11 Sep
3 years ago

meetgodhani started a new conversation Best Way To Query Complex Feed For The User

Hi

What's the best way to query complex Feed using Eloquent for the user to show all the posts from the topics they have subscribed + all the posts from users they follow. ?

08 Sep
3 years ago

meetgodhani left a reply on How To Handle Login Routes?

If you are intending to have different dashboards for both user types. Than I would say having different slugs would make sense. But if it is something like community like this discussion forum. Than same login make sense. Laravel just came with ACL feature so probably you can just use that to give group rights per user.

meetgodhani started a new conversation How To Config NGINX For React And Laravel To Use HTML5 Pushstate

HI

I have an application where I my backend is Laravel and frontend is React. I am using same application folder. Using api routes to communicate with React. I want to use react-router pushstate. So was wondering what configuration should I do on nginx serverside that it works with Laravel.

Help would be really appreciated.

Thank you.

21 Jul
3 years ago

meetgodhani started a new conversation Using JWT And Laravel How Do We Handle Authentication For Social Providers?

Hi

I have implemented JWT Auth using tymondesigns/jwt-auth. But now issue is that if I implement Slack using socialite provider I won't be able to access authenticated user without passing token and store slack token in database.

What's the best approach to resolve such issue? How do we get user info stored in backend database right after user signs in ?

Help would be really appreciated.

16 Jul
4 years ago

meetgodhani started a new conversation How To Design Database For Something "Marking As Read" Or "Completed"

Hi

I am creating a database schema migration similar to what Laracast current has right now for video where user can mark each video as completed. Similarly I want to implement that for reading article/content where user can mark it as read on specific article. So what's the best approach to do that ?

Help would be really appreciated.

Thank you.

05 Jul
4 years ago

meetgodhani started a new conversation Best Way To Schedule Task As Per User's Timezone

Hi all,

How do we schedule task as per user's timezone in Laravel 5 ?

28 Jun
4 years ago

meetgodhani started a new conversation Is Elixir Installation Slow For Anyone?

Hi

I am installing Elixir using npm and is really damn slow. So I am wondering is it only me or does anyone has that same issue?

27 Jun
4 years ago

meetgodhani started a new conversation What Is The Best Way To Update One Field With Rows Resulting 15k?

Hi

What is the most optimized way to update mass rows which are more than 15k in number without getting time out ? Using Laravel.

Any suggestion.

21 Jun
4 years ago

meetgodhani left a reply on 'No Supported Encrypter Found. The Cipher And / Or Key Length Are Invalid.' With Laravel 5.1

@bashy I have this in my app settings

" 'key' => env('APP_KEY', 'SomeRandomString'),
'cipher' => 'AES-256-CBC'," 

and I have my APP_KEY set in my .env file. But still getting same error.

meetgodhani started a new conversation 'No Supported Encrypter Found. The Cipher And / Or Key Length Are Invalid.' With Laravel 5.1

Getting this error on my Forge Instance. Even though I have set my "APP_KEY". I tried to regenerate my key several times but still getting this error. Anyway to solve this issue?

Following is full log:

[2015-06-21 17:15:10] production.ERROR: exception 'RuntimeException' with message 'No supported encrypter found. The cipher and / or key length are invalid.' in /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:29
Stack trace:
#0 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Container/Container.php(733): {closure}(Object(Illuminate\Foundation\Application))
#1 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Container/Container.php(626): Illuminate\Container\Container->build(Object(Closure$Illuminate\Encryption\EncryptionServiceProvider::register;364564376), Array)
#2 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(643): Illuminate\Container\Container->make('encrypter', Array)
#3 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Container/Container.php(837): Illuminate\Foundation\Application->make('encrypter')
#4 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Container/Container.php(800): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#5 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Container/Container.php(771): Illuminate\Container\Container->getDependencies(Array, Array)
#6 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Container/Container.php(626): Illuminate\Container\Container->build('InstaMint\Http\Middleware\EncryptCookies', Array)
#7 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(643): Illuminate\Container\Container->make('InstaMint\Http\Middleware\EncryptCookies', Array)
#8 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(123): Illuminate\Foundation\Application->make('InstaMint\Http\Middleware\EncryptCookies')
#9 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(42): {closure}(Object(Illuminate\Http\Request))
#10 (): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure$Illuminate\Pipeline\Pipeline::getSlice;552322374))
#11 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#12 (): {closure}(Object(Illuminate\Http\Request))
#13 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure$Illuminate\Pipeline\Pipeline::getSlice;552322374), Object(Illuminate\Http\Request))
#14 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\Pipeline\Pipeline->then(Object(Closure$Illuminate\Foundation\Http\Kernel::dispatchToRouter;85524752))
#15 /home/forge/picstats.io/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(86): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#16 /home/forge/picstats.io/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#17 {main}

meetgodhani left a reply on Laravel 5 Installation - Runtime Exception In Compiled.php Line 6911

Did anyone solved this? I still get error after setting a key in Laravel Forge ? It just driving me crazy on how to solve this.

23 Apr
4 years ago

meetgodhani started a new conversation Integrating Lumen As API Service With Laravel

Hi

I have a SaaS app with username and password/Social Oauth. My question is how would I use Lumen as restricted API service for only users that authenticate in Laravel app.

I think it would be great to have video on it in creating sub modules for Laravel Apps using Lumen.

10 Apr
4 years ago

meetgodhani started a new conversation Envoyer Deployment Question

Hi

I have noticed that whenever envoyer deploys it just re clones fresh piece of code from gihtub repo instead of just deploying code files that are changed like what deployhq does.

So I was wondering is that same behaviour applicable on envoyer. I don't want to keep running composer install again on each deploy.

Also is envoyer only tuned for Forge structure or Laravel what about Project repos having multiple laravel instances.

Regards, Meet

26 Jan
4 years ago

meetgodhani started a new conversation Matching String With The Data Inside A Text File

Hi

Using Laravel how do we match string with string data inside a text file?

For example I want to match word "Sample" with the specific word "Sample" from text file.

How do we achieve that using Laravel.

23 Jan
4 years ago

meetgodhani started a new conversation How To Handle 404 Errors For Sub Domain/different Domain Route Group In Laravel 4

Hi

I have two different domain groups in my Laravel application. One is example.com and other one is sub.example.com. So how do we separate 404 for both. Reason why I am saying it because I have a navbar and when sub.example.com triggers 404 it shows default 404 from example.com too. But now all routes are pointing to sub.example.com.

How do we solve this? Any Help will be good.

21 Jan
4 years ago

meetgodhani left a reply on How To Remove Query String ?

Ye but than redirecting to same route is giving redirect loop

meetgodhani left a reply on How To Remove Query String ?

@JohnRivs Ye but it also gives me redirect loop

meetgodhani started a new conversation How To Remove Query String ?

Hi

I want to remove query string from the link. So here is what I want to do.

If some one goes to say http://example.com?name= I want to store name value in session and remove that query string to return to original url i.e http://example.com.

How do we accomplish that?

10 Jan
4 years ago

meetgodhani left a reply on Laracasts/PHP-Vars-To-Js-Transformer For Laravel 5

Hmm. For now I guess I would just do it hard code way. By Manually assigning global variables than.

meetgodhani started a new conversation Laracasts/PHP-Vars-To-Js-Transformer For Laravel 5

Hi

I tried to install laracasts/PHP-Vars-To-Js-Transformer package with Laravel 5. but it gives out Following error ''BadMethodCallException' with message 'Call to undefined method [package]' ".

Not only this package but most of the packages. How to resolve this?

meetgodhani started a new conversation Using Laravel Elixir Can We Move Directories?

Hi

How do we move directories and all files inside from one folder to other using Laravel Elixir? For example I want to move contnets from one of my bower_component package. How do we accomplisht that ?

02 Jan
4 years ago

meetgodhani started a new conversation Integrating Intercom.io With Laravel

Hi

Has anyone integrated https://www.intercom.io/ with Laravel Application ? I wanted to know if there is any tutorial out there ?