Member Since 1 Month Ago

Experience Points 310
Experience Level 1

4,690 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
Best Reply Awards 0
Best Reply
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement


    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement


    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

04 May
2 weeks ago

Rangana started a new conversation Undefined Variable: Students (View: D:\exam\curd\resources\views\home.blade.php)

working with laravel 5.7 and need display student table data in the home page, home.blade.php

<table class="table">

                      @foreach ($students as $student)
                        <td><a class="button is-outlined" href="">Edit</a></td>
                        <td><a class="button is-outlined" href="">Delete</a></td>




  public function index()
        $students = Student::all();
        return view('home');


Route::get('[email protected]');

but got this error msg like this,

Undefined variable: students (View: D:\exam\curd\resources\views\home.blade.php)

how can fix this problem?

28 Apr
3 weeks ago

Rangana started a new conversation What Is The Best Way For Username?

today we have to make a user name for many web application like GitHub, email, twitter, laracast, etc.. but there are some problems what is the best way to make the username in a web application or are there any specific better rules to make a username. I mean (to remember easy, read easy or any other) as an example consider someone name is John Done? then what is the best username for him?

johndone JohnDone Johndone johnDone

or any other?

17 Apr
1 month ago

Rangana left a reply on API Integration

well, I am trying to learn how to integrate API in Laravel. any way anybody can give me some sample API installation with Laravel (full tutorials) please let me inform.


16 Apr
1 month ago

Rangana started a new conversation API Integration

I need to integrate the following API questing using Laravel. how can I do this

API Integration Guidelines
We would like you to make a connection to the mentioned API using below details and retrieve some data/information. Please see below process.
1. create a simple php class to communicate with the api with the following functions
1. get
1. table
2. page
2. search
1. table
2. query
3. update
1. id
2. table
3. data
2. Should be able to pass any tablename but will only be required to access product and taxrate (so table name is either “product” or “tax”)
3. Fetch a list of all products using the class
4. Convert the products into a paginated table using divs instead of <table> (use html, php and css)
I. Sort the products alphabetically
II. Max 20 products per page
III. Headings
a. ID
b. Name
c. Cost Price
d. Sale Price
IV. Will need to be paginated so can easily browse to e.g page 5
V. Find the product ID for ‘WrightWay Example’ using the table and display details on screen.
5. Change the product “WrightWay Example” to 'WrightWay'
You can use any method you see fit to achieve above.
We prefer to have a simple user interface for all functions above mentioned. As an example to retrieve all products you can use a button named “Get all products”.
See next page for API details….
API Access Details and relevant documentation:
Epos Key (Access key for calls into API ) : F50368501B084C26A480A7F728E4169E
Epos Secret (Password for calls into API ) : E72E8F14846445248890038867E3FB03
To access the API, simply pass an Authorization header with your request, containing Basic and your API access token.
Example Authorization header to be sent with your request:
Authorization: Basic API_ACCESS_TOKEN
You will also need to pass a Content-type header (e.g. application/json) to specify the response data type.
To obtain your API_ACCESS_TOKEN please concatenate your API Key, a colon character ":", and you API Secret in to single string (no spaces) and then Base64 encode it.
API_ACCESS_TOKEN = base64encode(Epos Key:Epos Secret)
GET HTTP://api.eposnowhq.com/api/V1/product/1
Authorization: Basic INSERT_API_ACCESS_TOKEN
Content-type: application/json
Retrieve Product Details To retrieve an existing Product list, send the request:
GET https://api.eposnowhq.com/api/V2/Product/
List of the first 200 Products
You can retrieve more Products by specifying a page number:
GET https://api.eposnowhq.com/api/V2/Product?page={Page_No}
To retrieve a specific Product by ID
GET HTTPS://API.EposnowHQ.com/API/V2/Product/
Authorization : Basic INSERT_API_ACCESS_TOKEN
HTTP/1.1 200 OK
ProductID: 6,
Name: "Green Tea",
Description: null,
CostPrice: 0.3,
SalePrice: 1.5,
EatOutPrice: 0,
CategoryID: null,
Barcode: null,
TaxRateID: 33,
EatOutTaxRateID: null,
BrandID: null,
SupplierID: null,
PopupNoteID: null,
UnitOfSale: null,
VolumeOfSale: null,
MultiChoiceID: null,
ColourID: null,
VariantGroupID: null,
Size: null,
Sku: null,
SellOnWeb: false,
SellOnTill: true,
OrderCode: null,
ButtonColourID: null,
SortPosition: null,
MagentoAttributeSetID: null,
RRPrice: null,
CostPriceTaxRateID: null,
ProductType: 0,
TareWeight: null,
ArticleCode: null
Update Products Details
The parameter(s) of a particular Product can be updated by supplying the ProductID and parameter(s) in a PUT/PATCH request
PUT/PATCH https://api.eposnowhq.com/api/V2/Product/{Product_ID}
Search for a Item by specific property value
To retrieve one or more specific Item, use:
GET https://api.eposnowhq.com/api/V2/{ItemName}?{PropertyName}={Value}
Url params
Item Name: e.g. Customer,Product
Property Name: e.g. Name,Description
Property Value: e.g. Smith,Tea
Search for the Items by property value or range
The API V2 allows you to search for a specific value or range of properties
Allowed Queries
like, contains
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|like|value) GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|contains|value)
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|>|value)
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|>=|value)
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|<|value)
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|<=|value)
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|EndsWith|value)
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|StartsWith|value)
Order results by property value
To order your results ascendingly by a specific property, use:

09 Apr
1 month ago

Rangana left a reply on What Are The Different Between Laravel Shedule And Queues?

@martinbean @nakov Ok, basically I have this question. consider I have some online reservation system. normally customers are visiting online and make a reservation and they confirm their reservation by logging to email and clicking confirmation link via the email. then the system should send an email to the administrator which including reservation customers data. (consider system should send an email to the admin after the email confirmation) then, can we use queues for this system? (for sending an email to admin after reservation)


Rangana started a new conversation What Are The Different Between Laravel Shedule And Queues?

I wanna know that what is the differences between Laravel Schedule and Queues. please explain using some examples.

Rangana left a reply on Laravel Design Pattern?

@sergiu17 yes I clean your answer. but I need to learn more advanced with simple steps. thanks for your reply.

08 Apr
1 month ago

Rangana left a reply on Laravel Design Pattern?

@sergiu17 yes I got but they are not pretty simple and clean.

Rangana left a reply on Laravel Design Pattern?

@sergiu17 what about repository design pattern. I couldn't see in above resources

Rangana started a new conversation Laravel Design Pattern?

I am very new laravel/php design pattern. I need free and simple web resources to study. like (youtube videos, pdf etc). I have watched laracast videos but I need another. please send me your already known resources.