firebase auth functions in larvel
firebase.auth().createUserWithEmailAndPassword(email, password) .then((user) => { // Signed in // ... }) .catch((error) => { var errorCode = error.code; var errorMessage = error.message; // .. });email.js