├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── example ├── with-composer │ ├── all-method.php │ ├── get-method.php │ └── post-method.php └── without-composer │ ├── all-method.php │ ├── get-method.php │ ├── lib │ └── csrfhandler.php │ └── post-method.php └── src └── csrfhandler └── csrf.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | .idea/ 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/composer.lock -------------------------------------------------------------------------------- /example/with-composer/all-method.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/example/with-composer/all-method.php -------------------------------------------------------------------------------- /example/with-composer/get-method.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/example/with-composer/get-method.php -------------------------------------------------------------------------------- /example/with-composer/post-method.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/example/with-composer/post-method.php -------------------------------------------------------------------------------- /example/without-composer/all-method.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/example/without-composer/all-method.php -------------------------------------------------------------------------------- /example/without-composer/get-method.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/example/without-composer/get-method.php -------------------------------------------------------------------------------- /example/without-composer/lib/csrfhandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/example/without-composer/lib/csrfhandler.php -------------------------------------------------------------------------------- /example/without-composer/post-method.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/example/without-composer/post-method.php -------------------------------------------------------------------------------- /src/csrfhandler/csrf.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/banujan6/CSRF-handler/HEAD/src/csrfhandler/csrf.php --------------------------------------------------------------------------------