title: Is there any function alternative to laravel bcrypt function
body: <p>I have a laravel app now i'm to built it in core php in which i'm experiencing a problem in login page because the password is encrypted through bcrypt method in laravel. Help me to verify encrypted password through core php</p>
  
  <p>i have tried <code>password_hash('admin@12', PASSWORD_BCRYPT)</code> but <strong>still did't find the solution</strong>Plain text is admin@12 and encrypted text is $2y$10$EHC8pQIUSYIBas943P6HEOEvZlQYAxI2zVGkwQiAkLTIDZrhbe6VG
  <a href="https://i.stack.imgur.com/y2wnI.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <pre><code>\Session::flash('success', 'Your Account is activated please login to continue.');
  
  User::create([
              'username' =&gt; $request['username'],
  
              'password' =&gt; bcrypt($request['password']),
  
              'name' =&gt; $request['name'],
  
             'card_number' =&gt; $request['card_number'],
  
              'email' =&gt; $request['email'],
  
              'phone' =&gt; $request['phone'],
  
              'cnic' =&gt; $request['cnic'],
  
              'address' =&gt; $request['address'],
  
              'role' =&gt; "registered",
          ]);
  </code></pre>