use Illuminate\Filesystem\Filesystem; $filesystem = new Filesystem(); $includedFile = $filesystem->requireOnce('/path/to/file.php');In this example, we create a new instance of `Filesystem` and call the `requireOnce()` method on it with the path to the file we wish to include. The method will ensure that the file is only included once, regardless of how many times this code is executed. Overall, the `Illuminate\Filesystem` package provides a simple and intuitive way to work with files and directories in PHP, making it a valuable addition to any PHP project.