Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow running without aliases defined #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kohenkatz
Copy link

@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.

None yet

1 participant