siangboon

siangboon

Developer at Kuala Lumpur, Malaysia

Member Since 3 Years Ago

Kuala Lumpur

Experience Points
161,760
Total
Experience

3,240 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
1233
Lessons
Completed
Best Reply Awards
52
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 33
161,760 XP
Nov
18
11 hours ago
Activity icon

Replied to Factory Error : Unexpected Character "" (ASCII 19) On Line 1

factory(App\User::class)->create()->id
Nov
15
3 days ago
Activity icon

Replied to PHP 7.3 Curl SSL Error

ping and telnet is different thing... ping is just to test whether able to reach the destination whereas telnet is direct access to the port of the service of the destination...

Activity icon

Replied to PHP 7.3 Curl SSL Error

able to telnet?

telnet api.bitbucket.org 443
Nov
14
4 days ago
Activity icon

Replied to POST Request Mixing Or Doubling Queries

you should show the codes....

Activity icon

Replied to Vue2

it took everyone "sometimes" to help others, but you asked many "sometimes" from all that you supposed to spend "sometimes" to do it your own.

Please spend the "sometimes" it worth and help to save you a lot of times and helps others a lot of times as well... i watched twice or more when i don't understand....

Don't be a selfish person.

Nov
13
5 days ago
Activity icon

Replied to Laravel And Wordpress

think wordpress as instant noodle, it's pre-cook and ready to eat in few minutes, and you can add as many ingredient as you like to make it suite to your appetise ...

and laravel will be just the cooking equipment only, and you can cook anything as you like but it take longer time and efforts, whether it's tasty or not it highly depend on your skills....

Nov
12
6 days ago
Activity icon

Replied to Vue

It's covered in laracasts, what you need is to search and watch, and understand it, and keep repeat it 3 times at least before you ask here. Or search it in discussion or google, I believed someone had asked and answered before.

Activity icon

Replied to Vue2

This is not a problem at all. These code are your own projects and own tasks, study and understand your code on your own. You are paid for work not to ask questions only

Nov
11
1 week ago
Activity icon

Replied to Class 'Illuminate\Hashing\AbstractHasher' Not Found

check and ensure your namespace is correct

namespace Illuminate\Hashing;

and the AbstractHasher is located at the namespace your specify..

otherwise rectify accordingly...

Nov
08
1 week ago
Activity icon

Replied to SQLSTATE[HY000]: General Error: 1364 Field 'parent_id' Doesn't Have A Default Value

make sure you have the parent_id value when insert the comment, or either set a default value for parent_id or make it nullable,

Activity icon

Replied to Multiple Variable Check Using One @error Directive

this is not a rocket science... you can easily test it out in a minute yourself and let folk here know if you can't get it...

Activity icon

Replied to "Forgot Your Password?" - Login

it's not related to your original thread. please ask in another thread.

Activity icon

Replied to Where Query Using And Md5 Value - Lavavel 5.3

usually people will stored the encrypted value in table to prevent other to see plain value

 User::whereRaw('md5(unique_id) = "' . $mdId . '"')->first();

meant that your unique_id is not md5() value, hence the purpose to use md5() is meaningless... that's why Jaytee answer is proper one, but everyone have their own reason to do so, we can't judge your code as long as you ok with it...

Nov
07
1 week ago
Activity icon

Replied to Where Query Using And Md5 Value - Lavavel 5.3

there is no specify column to compare and md5 return positive value hence always true...

Activity icon

Replied to Route List Not The Same As Web.php

i would probably put the one route that i would like to test and comment out all others to test it out....

Activity icon

Replied to "Forgot Your Password?" - Login

signup mailtrap account or other smtp email account. fill up the .env accordingly

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

google mail may not work, you can try your luck...

Activity icon

Awarded Best Reply on Failed To Upload Profile Image

most common mistake for file upload is did not include this:

 enctype="multipart/form-data"
Activity icon

Replied to Failed To Upload Profile Image

most common mistake for file upload is did not include this:

 enctype="multipart/form-data"
Activity icon

Replied to Removing Password Field From Log Files

you could try it out...

Activity icon

Replied to "Forgot Your Password?" - Login

You need a workable smtp account. Fill it in . env file.

Activity icon

Replied to Removing Password Field From Log Files

In your user model

protected $hidden = ['password'];
Activity icon

Replied to MassAssignmentException

Do you update the username in the Register controller as well?

laravel/app/Http/Controllers/Auth/RegisterController.php
Nov
06
1 week ago
Activity icon

Replied to MassAssignmentException

Mind to show the declaration of $fillable in the user model?

Activity icon

Replied to Delete Button Not Functioning

check your route have the exact same name restock if you are trying to use model binding

Route::delete('/masterStockist/{restock}', '[email protected]');

in model biding, you do not need to find the id any more, simply remove

Restock::findOrFail($id)->delete();

and use

$restock->delete();

will do

Activity icon

Replied to Route Redirect

LOL, you make Laracasts forum like your exclusive private tutors...

Davy Gunarso, why you paid for the forever plan but you don't learn yourself?

I learned that to be High EQ, just filter out what you don't want to see/listen and continue on whatever you focus on...

Nov
04
2 weeks ago
Activity icon

Replied to "message": "Server Error" Response After Clicking Submit

show the result of dd($email)

Activity icon

Replied to Json Error In MySql Database "PHPMyadmin"

mind to screenshot where you get the version number or run the query in phpmyadmin query.

select version()
Activity icon

Replied to Json Error In MySql Database "PHPMyadmin"

MySQL 5.7.8 onward supports a native JSON data type, check your mysql version.

Activity icon

Replied to Check Time Is Between Two Times Or Not - Laravel

full api is here https://carbon.nesbot.com/docs/

why not try it out yourself first and let us know what problem you face...

Activity icon

Replied to Action And View/edit/delete Buttons At Beginning Of The Table

as my practice, the view/edit/delete buttons are standalone form buttons or just a simple link, and it usually tied to each records. I'm not so sure what you mean buttons at beginning of the table? probably showing your code will help others to understand more your question

Activity icon

Replied to Check Time Is Between Two Times Or Not - Laravel

what is your question then?

Nov
03
2 weeks ago
Activity icon

Awarded Best Reply on Laravel 6.0: Resetting Password: 404 Not Found

is your service listening on port 80 or http://localhost:8000?

Nov
02
2 weeks ago
Activity icon

Replied to Scrollspy Not Working

do you include the js?

Activity icon

Replied to Can't Watch Episode 31 Of Laravel 6 From Scratch

it's working fine here even not sign in.... maybe try again later...

Activity icon

Awarded Best Reply on How To Add TinyMCE To My Laravel Project

just follow the setup guide and include the code snippet into in the php file

https://www.tiny.cloud/docs/general-configuration-guide/basic-setup/

Activity icon

Awarded Best Reply on Php 7.2 To Php 7.3 - Upgrade

Upgrade php 7.2 to 7.3 still seem not too much but laravel 5.3 to 6 will have a lot of impacts. no one understand your system better than you, you should check it yourself

you should always check their upgrade guide https://www.php.net/manual/en/migration73.php

Laravel Upgrade:

https://laravel.com/docs/5.5/upgrade https://laravel.com/docs/5.6/upgrade https://laravel.com/docs/5.7/upgrade https://laravel.com/docs/5.8/upgrade https://laravel.com/docs/6.x/upgrade

Nov
01
2 weeks ago
Activity icon

Replied to Php 7.2 To Php 7.3 - Upgrade

Upgrade php 7.2 to 7.3 still seem not too much but laravel 5.3 to 6 will have a lot of impacts. no one understand your system better than you, you should check it yourself

you should always check their upgrade guide https://www.php.net/manual/en/migration73.php

Laravel Upgrade:

https://laravel.com/docs/5.5/upgrade https://laravel.com/docs/5.6/upgrade https://laravel.com/docs/5.7/upgrade https://laravel.com/docs/5.8/upgrade https://laravel.com/docs/6.x/upgrade

Activity icon

Replied to Unique Email Not Working On Validator

'email' => ['required', 'unique:users,email', 'email'],

by the way, you should set the email column as unique in database as well.

Activity icon

Replied to Database Issues

Connection could not be established with host 127.0.0.1 [No connection could be made because the target machine actively refused it. #10061

this error meant you application not able to establish connection with the database, there are number of possibilities but since you said mysql is running and database configuration is ok, hence the only chance is your .env file configuration not setup properly...

however i still not so confident in what you claimed as ... suggest that it's better to run a mysql command to try to connect from your terminal/command prompt before you debug further to confirm the connection to the database is working fine...

mysql --host=localhost --user=myname --password=password mydb
mysql -h localhost -u myname -ppassword mydb
Oct
30
2 weeks ago
Activity icon

Replied to Download A Series

there are many reason not to do so... i think one of the main reasons is it will causing huge bandwidth usage and may affect the other who watch online also... imagine each series at least 10 episodes and each episode about 40-50MB, it's about 500MB just for one person, if more than 10 persons download, it will cause a lot, how about 20 or 30 episode series...

i think you may try to use other browsers to watch it online.. it's smooth and save a lot of your disk space also..

Activity icon

Awarded Best Reply on Update Laravel From 5.4 To Newer Version In Live

As what i understand, even shared hosting, cPanel support multple php veresion selection, for each site you can choose any php version you need even both site siting within a same server..

howerver, don't think this suggested solution should last long... suggest that to migrate your old version to new version of laravel or move out the new laravel project to other hosting plan with a proper environment setup, stick the old one use the default setup.

Oct
29
2 weeks ago
Activity icon

Replied to How To Add TinyMCE To My Laravel Project

just follow the setup guide and include the code snippet into in the php file

https://www.tiny.cloud/docs/general-configuration-guide/basic-setup/

Activity icon

Replied to Accessing Post Data

simply paste or screenshot the exact result will more helpful

return $request->all();

better not interpret the code/result in your own way it may confusing at least i not understanding what it mean actual object:

{"invoice=123456&amount1=1&amount2=0_01522&currency1=USD&txn_id=CPDJ3BBCVJWGA9ULVHBHJLTY1Q"}
Activity icon

Replied to Add If Condition In Controller?

take a look on this example and try it out yourself....

   if(!empty($location))
   {
      $query = $query->where('location_id', '=', $location );
    }

   if(!empty($condition))
   {
      $query = $query->where('condition_id', '=', $condition );
    }

    $cars = $query->paginate(15);