路径 mehods

路径方法可以从任何地方轻松访问与应用程序相关的路径。

public_path()

此方法返回应用程序的完全限定的公共路径。这是公共目录。

$path = public_path();