Implementations of common Laravel helpers that make it simper to use Laravel libraries with Flarum.

0.1.0-beta.16 2021-03-01 22:23 UTC

This package is auto-updated.

Last update: 2021-05-12 02:41:28 UTC


These helpers have been moved back to flarum/core, but deprecated perpetually. This package should not be used.

Some Laravel repos expect certain Laravel Helpers to be available globally. This package collects some of these helpers for use by extensions. These helpers should NOT be used directly in Flarum extension code; they are available so that Laravel-based libraries that expect them to exist don't malfunction.

If your extension uses a Laravel library that expects a helper not provided here, please open a Github Issue to request that it be considered.

Currently supported helpers

  • app
  • event
  • base_path
  • storage_path
  • public_path