Skip to content

Allow running without aliases defined#37

Open
kohenkatz wants to merge 1 commit into
worksome:mainfrom
kohenkatz:patch-1
Open

Allow running without aliases defined#37
kohenkatz wants to merge 1 commit into
worksome:mainfrom
kohenkatz:patch-1

Conversation

@kohenkatz
Copy link
Copy Markdown

@kohenkatz kohenkatz commented Dec 10, 2023

Some environments do not have aliases defined. (This could be because the developer chose to remove them from config/app.php, or in an environment that does not have them in the first place, such as Laravel Zero).

This PR adds explicit imports of the Str class in the Blade templates. This does not affect anyone using the default aliases, but allows this package to work without relying on the alias being present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant