crushedcoder

crushedcoder

Member Since 4 Months Ago

Experience Points 410
Experience Level 1

4,590 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 0
Lessons
Completed
Best Reply Awards 0
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.

04 Jul
1 month ago

crushedcoder started a new conversation Permission Error On Installation Of Vagrant/Homestead Laravel On Storage Folder

I did all permission command but still i got the storage permission error. please help

/home/vagrant/code/PhoneParLoan/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php

        }
 
        return;
    }
 
    private function createDir()
    {
        // Do not try to create dir if it has already been tried.
        if ($this->dirCreated) {
            return;
        }
 
        $dir = $this->getDirFromStream($this->url);
        if (null !== $dir && !is_dir($dir)) {
            $this->errorMessage = null;
            set_error_handler(array($this, 'customErrorHandler'));
            $status = mkdir($dir, 0777, true);
            restore_error_handler();
            if (false === $status && !is_dir($dir)) {
                throw new \UnexpectedValueException(sprintf('There is no existing directory at "%s" and its not buildable: '.$this->errorMessage, $dir));
            }
        }
        $this->dirCreated = true;
    }
}
 

Arguments

"There is no existing directory at "/home/ajeet/code/PhoneParLoan/storage/logs" and its not buildable: Permission denied"
30 Apr
3 months ago

crushedcoder left a reply on Create Rule Engine

@AFGHANY - Suppose i have framed business rules

1.After total cart value more than 3000 INR then he will get 20 points in his loyalty points

2.if customer visits shops and buy regularly 10 times after that 15 points credited

Now i want to implement it as rule engine it means i write some cases and run in backend and whenever matches it will automatically credited. Later someone wnat more rule added or edit it can be done any times and start reflecting.

Hope i am able to clear some points. Please see https://medium.com/@ibrahimgunduz34/lets-make-a-simple-rule-engine-ab111bef536a

i didnot understand much hoping you get something which might help me?

29 Apr
3 months ago

crushedcoder started a new conversation Create Rule Engine

I want create rule engine for the loyalty module like if cart >10000 total add 20 points and how to apply ?Could anybody example in larvel to do it?

23 Apr
3 months ago

crushedcoder left a reply on One Field Is Not Inserting Value Using Model

@SOMNATHSAH - Thanks buddy. I got mistake i misspelled the fill-able fields in models.

crushedcoder started a new conversation One Field Is Not Inserting Value Using Model

$col_values = ... [ ... "retailer" => "Muthoot Finances", ... "name" => "Muthoot Finances", ... "type" => "1", ... "loyaly_card_barcode" => 173424, ... "date_of_issue" => "2019-02-12", ... "issuer_name" => "ajeet", ... ]; => [ "retailer" => "Muthoot Finances", "name" => "Muthoot Finances", "type" => "1", "loyaly_card_barcode" => 173424, "date_of_issue" => "2019-02-12", "issuer_name" => "ajeet", ] use App\LoyaltyCards; LoyaltyCards::create($col_values); => App\LoyaltyCards {#1377 retailer: "Muthoot Finances", name: "Muthoot Finances", type: "1", date_of_issue: "2019-02-12", issuer_name: "ajeet", updated_at: "2019-04-23 11:36:48", created_at: "2019-04-23 11:36:48", id: 12, }

This tinker output .Here i try to insert the loyalty table with fields -value.but " "loyaly_card_barcode" is missing in table and fill the value 0 . i dont unnderstand why?

15 Apr
4 months ago

crushedcoder started a new conversation Difference Between The API And WEB Controllers

I would like to know what is difference between API and web controller except namespace ...Since in both code work as similar ? Is there any performance difference ..Why should i use API controller?

09 Apr
4 months ago

crushedcoder started a new conversation Package Service Provider Is Not Found

App\Providers\AppServiceProvider::class, App\Providers\AuthServiceProvider::class, // App\Providers\BroadcastServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, App\Providers\EvantoCustomServiceProvider::class, App\Providers\CalculatorCustomServiceProvider::class, ===> Wisdomlab\Todolist\src\TodolistProvider::class,

I have include the service provider in config\app.php

I have created composer.json for package { "name": "wisdomlab/todolist", "description": "to create the task", "type": "alpha", "license": "nil", "minimum-stability": "dev", "require": {}, "autoload": { "psr-4": {

        "Wisdomlab\Todolist\":"packages/wisdomlab/todolist/src/"
    }
}

}

And Global composer.json is "autoload": { "classmap": [ "database/seeds", "database/factories" ], "psr-4": { "App\": "app/", "Wisdomlab\Todolist\":"packages/wisdomlab/todolist/src/" } },

namespace in service provider :

crushedcoder left a reply on Applying Design Patterns In Laravel

@PAPA - thanks to clear the concept

crushedcoder started a new conversation Difference In Helper And Services On Performance Basis

which is more optimised/performance to create helper or services and what is difference?

08 Apr
4 months ago

crushedcoder left a reply on Applying Design Patterns In Laravel

@PAPA - Could please elaborate with example to both ?

crushedcoder started a new conversation Applying Design Patterns In Laravel

I want to know how design patterns will helpful be in laravel with real example and frequently use design pattern for app?

crushedcoder left a reply on /public_html/cache/files Permissions

use this command sudo chmod -R 777 ./public_html/

crushedcoder left a reply on Redis Not Working When I Upload Laravel Project In Cpanel

Connection refused has two reason: 1.Check redis install or not use this

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-redis-on-ubuntu-16-04

2.Check whether redis-server has started if started then check credential.