Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/image/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何将Firebase(Cloud Firestore)中的数据库与Laravel Auth user集成_Php_Laravel_Firebase_Google Cloud Firestore - Fatal编程技术网

Php 如何将Firebase(Cloud Firestore)中的数据库与Laravel Auth user集成

Php 如何将Firebase(Cloud Firestore)中的数据库与Laravel Auth user集成,php,laravel,firebase,google-cloud-firestore,Php,Laravel,Firebase,Google Cloud Firestore,在使用Firestore和Laravel创建它之前,我想检查此用户是否唯一 我可以从您的屏幕截图中看到您正在使用的(我喜欢,因为我是维护人员,您需要使用a,以便首先阅读用户的配置文件文档,如果它不存在,请创建它。谢谢@RenaudTarnec,我会尝试,然后我会尽快返回如果答案有用,请单击向上投票按钮(▲) 在它的左边(虽然你可能还没有足够的声誉来做这件事)。如果它回答了你的问题,请单击复选标记(✓) 接受它(你可以这样做,因为你问了这个问题)。这样别人就会知道你已经(充分地)接受了帮助。如果

在使用Firestore和Laravel创建它之前,我想检查此用户是否唯一


我可以从您的屏幕截图中看到您正在使用的(我喜欢,因为我是维护人员,您需要使用a,以便首先阅读用户的
配置文件
文档,如果它不存在,请创建它。谢谢@RenaudTarnec,我会尝试,然后我会尽快返回如果答案有用,请单击向上投票按钮(▲) 在它的左边(虽然你可能还没有足够的声誉来做这件事)。如果它回答了你的问题,请单击复选标记(✓) 接受它(你可以这样做,因为你问了这个问题)。这样别人就会知道你已经(充分地)接受了帮助。如果仅使用规则就可行,请参阅“非常感谢”,甚至更好!如果您首先检查唯一性,然后编写文档,则事务将确保操作不会失败,但同时文档是从其他地方创建的。