mebjas / CSRF-Protector-PHP

CSRF Protector library: standalone library for CSRF mitigation
https://owasp.org/www-project-csrfprotector/
Other
211 stars 89 forks source link

Install nojs version with composer #61

Closed the94air closed 7 years ago

the94air commented 7 years ago

how to install your nojs version via composer?

mebjas commented 7 years ago

@the94air - yeah there is no way as of now, will check if we can have branch level installation in composer and come back to you.

mebjas commented 7 years ago

Check this out on how to do it - https://lornajane.net/posts/2014/use-a-github-branch-as-a-composer-dependency. Added information in readme as well - https://github.com/mebjas/CSRF-Protector-PHP/blob/nojs-support/readme.md

Also I have pushed some changes to nojs version to support autoload - https://github.com/mebjas/CSRF-Protector-PHP/commit/e67599a8bf4f2665ae05eb320f1add2a05bc7daf

the94air commented 7 years ago

Thanks you are awesome :smile:

mebjas commented 7 years ago

Assuming the issue to be solved, @the94air closing the issue

Thanks!