f::base64($file)

Returns the file content as base64 encoded string

  • $file (string)
    The path for the file
  • return (string)

Is something missing or incorrect? Edit this page on Github…