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

Alternative to use outside laravel #30

Closed
Stevemoretz opened this issue Sep 8, 2021 · 4 comments
Closed

Alternative to use outside laravel #30

Stevemoretz opened this issue Sep 8, 2021 · 4 comments

Comments

@Stevemoretz
Copy link
Contributor

Hi I use vanilla php sometimes is there any way to get this working without laravel, or do you know any other alternative?

@tormjens
Copy link
Owner

tormjens commented Sep 8, 2021

Hey! Someone forked the package in #14 so you might try that ;)

@Stevemoretz
Copy link
Contributor Author

Hey! Someone forked the package in #14 so you might try that ;)

Hi, thank you so much for the quick answer that fork is a little bit old, you mentioned it is possible to use it on that issue though, would you mind provide an example I rather use the main library rather than that fork.

@tormjens
Copy link
Owner

tormjens commented Sep 8, 2021

The very minimum is that your app uses composer. While my package doesnt directly require the Laravel framework it has a couple of dependencies which will be cumbersome til include manually.

if your app uses Composer the test suite serves as a good example on how to use it outside of Laravel.

https://github.com/tormjens/eventy/blob/master/tests/Unit/ActionTest.php

@Stevemoretz
Copy link
Contributor Author

The very minimum is that your app uses composer. While my package doesnt directly require the Laravel framework it has a couple of dependencies which will be cumbersome til include manually.

if your app uses Composer the test suite serves as a good example on how to use it outside of Laravel.

https://github.com/tormjens/eventy/blob/master/tests/Unit/ActionTest.php

Yes of course what doesn't use composer thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants