I use Native PHP or regular PHP. I want to call function bcrypt in Laravel

My code is like this : 

```
<?php
    $password = '12345678';
    echo bcrypt($password);
?>

```

It's not working

Its error is `Fatal error: Call to undefined function bcrypt() in...`

How to call function bcrypt in Laravel?

Does it can be done?

Thank you