Deekshith

Deekshith

Member Since 1 Year Ago

Experience Points
1,650
Total
Experience

3,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
3
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.

Level 1
1,650 XP
Jan
13
1 week ago
Activity icon

Replied to Create Ecommerece Product Attributes And Combinations

@bugsysha I need database structure for attributes combinations. any help?

Activity icon

Started a new Conversation Create Ecommerece Product Attributes And Combinations

I need to build a database structure that will allow us to create attributes and combinations right now I have DB structure like below,

Products id, product_name 1, T-shirt

attributes

id, name 1, Size 2, Color

attribute_values

id, attribute_id, attribute_value 1, 1, L 1, 1, M 1, 2, Blue 1, 2, Green

Now i want to create combinations like,

T shirt with Large size and Blue color Attribute. T shirt with Medium size and Green color Attribute.

Anyone please help me out with this just like Prestashop.

I want to follow the same combination flow like prestashop.

Dec
27
4 weeks ago
Activity icon

Replied to Onesignal Integration With Laravel For Web Push Notifications.

@lacasera In the tutorial, I found below step,

Next, you'll need to add the OneSignal SDK files to your site. To do so,

Download the OneSignal SDK files. (You can also download the files here).

Unzip the OneSignal SDK files. There should be two files:

https://yoursite.com/OneSignalSDKWorker.js https://yoursite.com/OneSignalSDKUpdaterWorker.js Upload the OneSignal SDK files to the top-level root of your site directory, making them publicly accessible.

But in laravel it is not accessible at root level as it stores in public folder.

Any solutions?

Dec
26
4 weeks ago
Activity icon

Started a new Conversation Onesignal Integration With Laravel For Web Push Notifications.

I have laravel website where i want to integrate onesignal push notifications. once the user opens the website it should ask for subscribe to allow for notifications then it will store user tokens in one signal dashboard. I just need to integrate a subscription channel where users subscribe for notifications by clicking allow.

I have installed below library,

https://github.com/berkayk/laravel-onesignal

but it provides the documentation only for already subscribed users. please help me out how to ask user to allow for notifications in laravel.

Nov
29
1 month ago
Activity icon

Started a new Conversation How Do I Open Specific Page In My Android When Click The Push Notification Which Has Been Sent By Laravel

How do I open specific page in my android app when click the push notification. I have created a php script to push the FCM push notification but its just opening app front page..... I want the push notification to redirect to a differet page which has api => /api/get-notifications

public function send_push_notification($device_id,$title,$content) { //API URL of FCM $url = 'https://fcm.googleapis.com/fcm/send';

  /*api_key available in:
  Firebase Console -> Project Settings -> CLOUD MESSAGING -> Server key*/
  $api_key = "api key goes here"


  // prepare the message
    $message = array(
      'title'     => $title,
      'body'      => $content,
      'vibrate'   => 1,
      'sound'      => 1,
    );

    $registrationIds = array($device_id);


    $fields = array(
         'registration_ids' => $registrationIds,
         'data'             => $message,
         'notification' => array(
         'title' => $title,
         'body' => $content,
         'vibrate'   => 1,
         'sound'      => 1
        )
        );

  //header includes Content type and api key
  $headers = array(
      'Authorization: key='.$api_key,
      'Content-Type:application/json'
  );

  $ch = curl_init();
  curl_setopt( $ch,CURLOPT_URL,$url);
  curl_setopt( $ch,CURLOPT_POST,true);
  curl_setopt( $ch,CURLOPT_HTTPHEADER,$headers);
  curl_setopt( $ch,CURLOPT_RETURNTRANSFER,true);
  curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER,false);
  curl_setopt( $ch,CURLOPT_POSTFIELDS,json_encode($fields));
  $result = curl_exec($ch);
  curl_close($ch);
  return $result;

}