{"_id":"@degreerichi/laravelform","_rev":"9-bc5fc75a646187458690901ad9b4830d","time":{"1.0.0":"2021-01-28T16:24:02.291Z","created":"2021-01-28T16:37:00.820Z","1.0.1":"2021-01-28T16:37:00.980Z","modified":"2022-04-05T03:39:30.567Z","1.0.2":"2021-01-28T16:40:47.589Z","1.0.3":"2021-01-28T16:43:03.158Z","1.0.4":"2021-01-29T16:33:01.260Z"},"name":"@degreerichi/laravelform","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.1":{"name":"@degreerichi/laravelform","version":"1.0.1","description":"Laravelform helps you to handle laravel validation automatically directly on you react app using axios","author":{"name":"degreerichi"},"license":"MIT","repository":{"type":"git","url":"degreerichi/@degreerichi/laravelform"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1"},"dependencies":{"axios":"^0.21.1"},"gitHead":"0218562be0e27b083e9f23e85573b380e72836c1","_id":"@degreerichi/laravelform@1.0.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-srvi2i5kR2/nn7NFWM8HUKnDSj9U0GqBy9VQX/+nuboA9hpRLz551HEd722Rx7TxFYXU4I3miZf3h9zu9QKvUw==","shasum":"5f63ad3aefc311f7fa59c85de112ed31cfc85b32","tarball":"https://registry.npmjs.org/@degreerichi/laravelform/-/laravelform-1.0.1.tgz","fileCount":7,"unpackedSize":50797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEugtCRA9TVsSAnZWagAAAAAQAJ/npLugB8tleu8wfp2B\nGpUiaJtO+2wDOz7WaQxmunPNEzPb8gz1bPu7l62xHpMlBEV04SS45oPsrBii\nomB5C1lBFwEPUlCUlcfCoiN8E9rPiGccXZbUiDBEv5a/5ib+1FoQvQKfJkPm\nVYCxuYuhQ2Ch1cOcdoRJag+r65fUMOff4kRxWSwnjZgwkpcB1ezicdcwQLjF\nYWrXQi5+cI8+5ZZxoCyg/nkhU6WWagJkIIQU5oKUIGeR6QHkhj7n6mxnt/LE\nXv4r/bPq1nqXadJj4wjrzSCfIIIJmQxfNRx2nxbp4DII6olGvMQDkPVDl9Ze\nBk6eqMExPwnPauo0IRkIMijxqAW7AYIfbJvUwe4FXgrRS1bsP3jT6Favcz+8\na80NMN3wHYfhVWMWaUfQxIWuN0s+0sx7QWGXs+zs3QsWKSme1C10y2W83/Gi\nDHE8/JBO3ys+VeVOoWR5F6TQ9kaEzUM9ANzHyV15sBfqtAcfZ1q4SMdW/QCN\nAWvl5Nl/jPcb6NbR7IALGgmOi3fJjkSTnAZhdCZzUgYfu+OknW/sdaMISsXU\nrfiyvhXGQqfp3Nz1muKEg/JwCdMyAIi6YM4s5nw2DAfEJ9zDiiqIVo1+xAko\nSvH5oQylL2sP7scxRho8fNqa3OO/YVKaSf3HyN5me31WJC5aJwXzdLmCL+k3\nO1Ns\r\n=DlcF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSzipEA+YBXU9cvI0dwfCo4okw7K5vnT7DNo3r6vjMZgIhAOCnPaNdHbFF03/zULo0nTYkUM+iiommYomdXDnn5E29"}]},"_npmUser":{"name":"degreerichi","email":"rick_valladares@hotmail.com"},"directories":{},"maintainers":[{"name":"degreerichi","email":"rick_valladares@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/laravelform_1.0.1_1611851820870_0.47611246792633244"},"_hasShrinkwrap":false},"1.0.2":{"name":"@degreerichi/laravelform","version":"1.0.2","description":"Laravelform helps you to handle laravel validation automatically directly on you react app using axios","author":{"name":"degreerichi"},"license":"MIT","repository":{"type":"git","url":"degreerichi/@degreerichi/laravelform"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1"},"dependencies":{"axios":"^0.21.1"},"gitHead":"0218562be0e27b083e9f23e85573b380e72836c1","_id":"@degreerichi/laravelform@1.0.2","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-xBotC8g8eOb+ExDeon1c9o7fI9+HpoIQ6Kb0kwceJveaH/xGf8Z2Ig5JDzRXR8zX9GVA/qX8HRfjnMuDhX64AA==","shasum":"75e88de0dbaf16ab23fa1ea31477b978bc1dcc17","tarball":"https://registry.npmjs.org/@degreerichi/laravelform/-/laravelform-1.0.2.tgz","fileCount":7,"unpackedSize":50907,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEukPCRA9TVsSAnZWagAA0FsP/iMlhdj3GMMUD871DnVu\nKZrQhga3QoJ11NtG9ORjWI5sDavDujhBNT2Kb3wDJgBRET7xEHdMjVGamN9P\nb+NpcJ0r3ftkgd2S6wJsPvl4uXmSUyarvzVwvEfHE2Wt7R6Eh5rgTe/PK9QA\nX/XLfTUTRQjAzB2avVpBU8BaN3XERaVDxHAfJSHRoRiaE3QX2TNTha9yH1CZ\nmqy1pdy1SiN/gr1NqaEVhtXLS4BTtPEtWt43PUXngdwgp66HPV8zFbngMfVO\n9Fcrpv6qefVnf01ycPzc19xHm6vflnonH/mppup6OZ1cq0OPSppX6IP5DMKP\nBhQ4f4U1ux7MDqwX2JIU/JHyiMsakk0gkhxxxfmTCe6YUZ6f4XOP3J5M0Fne\n0SUKGUSUBi+NkrZWYE90zsKF9z4Y3VvBp2j/DpA5hIMrYPaz71tpiqXWDtxy\nsEit5omlKMHaxgJsZOG7MAvuC6wBMJIZ/F1jSvb5cT1TKn0CmaMZFkHSW9Ds\n2WJ3kXluxn8fwbxUPLaoGtx9z4TdHMt+shhUxreC+mbi8d/pb5i/Z5Ng89KL\nNTq/87vfN4xsBvMWDWCw7ZJi9eT6hnUEyGFMYDLL9z9FjyAabH2BnB7Wh+jv\nk6lM4R5szdy5O1I5jvEZav2jqXdh6eCsyjHCGlkhIXDzi03+xuFppsNl0g8z\nhtvM\r\n=lUz8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFd+Cu9ZEvF47SNIfgAWuGGiyVo2n3XH0cgN8omcOESlAiEA7JE0rO4MxhtxiNOcwWjROrYLCtNI1gChyOrcvoHpTQY="}]},"_npmUser":{"name":"degreerichi","email":"rick_valladares@hotmail.com"},"directories":{},"maintainers":[{"name":"degreerichi","email":"rick_valladares@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/laravelform_1.0.2_1611852047448_0.08755186949140836"},"_hasShrinkwrap":false},"1.0.3":{"name":"@degreerichi/laravelform","version":"1.0.3","description":"Laravelform helps you to handle laravel validation automatically directly on you react app using axios","author":{"name":"degreerichi"},"license":"MIT","repository":{"type":"git","url":"degreerichi/@degreerichi/laravelform"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1"},"dependencies":{"axios":"^0.21.1"},"gitHead":"0218562be0e27b083e9f23e85573b380e72836c1","_id":"@degreerichi/laravelform@1.0.3","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-9JWmX77pFzVkpLcSnjpML8th67240hDIZSIt8Gprjfzg7F2MX/D+fTbjW40kZQgF5bWz5rrRs1yM3HQBUIc6zw==","shasum":"600dfe3daa231c25757e9ab5397a9596af0c0c8b","tarball":"https://registry.npmjs.org/@degreerichi/laravelform/-/laravelform-1.0.3.tgz","fileCount":7,"unpackedSize":51127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEumXCRA9TVsSAnZWagAAVRYP/j2S0SO4o57BpEkyIusM\nyGVDb/ZPcAnxyoRKbtRgnvMCRe5fUAqXo03KGghRMYElDi0c4b9B/CVEzsGZ\nkYSvg8noVVUd5Fxa8q7CB+Vz31EVXh7WjrKaCSUwiLBl+8yXZ2KjDawGTOHi\nZPfQj3kRA19sOrbe7ZxFHhs0reUxp3YeEcKLE3aTs7e3Tm8N+2PiNewT5okJ\nbrHv9WMIKNqULFJpbIJpVHcq5eYA17/Hu+lwh5P92hhchAGO+l3q3GOi38Ex\n4tSn0kEmQGnj9wO/iZpDU5/VR/CseoStBVSZPoOoRKj31Z1bweJgQa4ZaZtc\nZzRCaLUouiR/6BVFILHcsgw5QjCwBrA8EJvrPx5FJid+g5Q7VSTrtL1a6iJB\n5/Uvnk3mUHSNoaC0EoxDNBzCzbbmqstvND4o7upNaDXw9syUsJsy4EObBskQ\nDWKVFY2RHwVFl80TN+4o7sL0lAlrZks/8aVhpn9kmFo0Fzv68huFMz9QuXwI\nXOOvCFuuhCh6ZvSI8Bjkh3imdAM7Oi2Lp3Y/3QqraifH/JpGJWRPNCTItcP4\na1fFdpSHSo/PXd9TdOd2bzTRC/4F2wQB3w4div9tvqxIEKbfRh0+TnxG4Esq\n/VDpddxig4OlO9yjY0SIF7KhixSxnQl90fQD5ibN4pXsCFcW2j4YZHNyOlRm\nO1Ab\r\n=6hOo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAMQzoU9JCY+uOxYe0/a6oVz8OxGRB6/2PhhEVvj2WMaAiEAz+uDQfHsepv7FJch/5xSB/XeSLjRaJdlnEJj295dGVM="}]},"_npmUser":{"name":"degreerichi","email":"rick_valladares@hotmail.com"},"directories":{},"maintainers":[{"name":"degreerichi","email":"rick_valladares@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/laravelform_1.0.3_1611852183060_0.8059570777541738"},"_hasShrinkwrap":false},"1.0.4":{"name":"@degreerichi/laravelform","version":"1.0.4","description":"Laravelform helps you to handle laravel validation automatically directly on you react app using axios","author":{"name":"degreerichi"},"license":"MIT","repository":{"type":"git","url":"degreerichi/@degreerichi/laravelform"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^3.4.1"},"dependencies":{"axios":"^0.21.1"},"gitHead":"50bd4b89b08720980f70d465e1c8d7160ea2f2ce","_id":"@degreerichi/laravelform@1.0.4","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-cDejTD0xSSW1U3+DY5n6bqa8X7GAxSEMqsxJRrF+2WGViI5c8LZkJRfROVFg2unR1yceZloKWzOVnfHLnHml3w==","shasum":"a0b3a7ef7fd09424d5e11f7a19e1a39b83f64344","tarball":"https://registry.npmjs.org/@degreerichi/laravelform/-/laravelform-1.0.4.tgz","fileCount":7,"unpackedSize":52594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFDi9CRA9TVsSAnZWagAAx6UP/1OvW7Hw3KG9xu+UNjRX\n37Se8wx/+8judBsLMv274J3RCjqYBcni0J1fI7NKl7GGthkzRO2q0FYsrsXk\nLtp4Swfbr0h/Rs0pQPq3642JrP8ebr27d63KPD8A/8jKVtfUQREKwG0+ytPb\nak2H9eEnmIDkmtGknRjDye7VBYacqZfVMyMtn8KBGFe1i2A0+kksjkNsL2oL\nOfm8FwBMJInm2vA5YYishmN7tS3kxxNKoQLgNGwVCkDXPRRyjMBvGbx9fyz3\nTCRioRf5Lgi1gOYtxmdGV4Yth3cd3CZeD/t5uQUv0ZQ7a0CwygBkygvj0v9w\nohutvmQsnLykM57u5unl6HTDV9O3U9EEJ6HEbMLZbvtGp2rQFc9QDla7uU+t\npYFxw3iq5bTUpjwXvqFm0IzZeBhjy2GK3VKjT/YS71GH5tzaPz/YTu0NLbkx\nLwXlrW0c7eJx5RjD814Tmnru/brrl3Rdlp0LcoYYNhA+4Zt2Br3XTQy1WEdC\nZ0vXYIitJu5pKJRlFj3cb2CUnQy7acSdLtIX35AzBaBS8G/vEn9D5ml06rZ+\nVl1UXplte5+m2KqwHEhY+zNIDWr3cPeLq6rp2WKfh3w+NCGYt+iCtOGe7Lgn\nLL0oNsdvdYydndLVq5IIt5gPjO8PNtfLkeiMhAtHWXDMYXZTzM8b8s7gb2DY\nqiCC\r\n=uOr+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFM1OZpbfkhVoJCmum+tHSpQ4dYxCnzdF+ltET/pvmt8AiEAtUWOBTkMyfvKf9iK8TwTOr5pvC43Iqt7Zc7oBW5Mnls="}]},"_npmUser":{"name":"degreerichi","email":"rick_valladares@hotmail.com"},"directories":{},"maintainers":[{"name":"degreerichi","email":"rick_valladares@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/laravelform_1.0.4_1611937981008_0.6148575614689167"},"_hasShrinkwrap":false}},"maintainers":[{"name":"degreerichi","email":"rick_valladares@hotmail.com"}],"description":"Laravelform helps you to handle laravel validation automatically directly on you react app using axios","repository":{"type":"git","url":"degreerichi/@degreerichi/laravelform"},"author":{"name":"degreerichi"},"license":"MIT","readme":"# @degreerichi/laravelform\n\n> Laravelform helps you to handle laravel validation automatically directly on you react app using axios\n\n[![NPM](https://img.shields.io/npm/v/@degreerichi/laravelform.svg)](https://www.npmjs.com/package/@degreerichi/laravelform) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save @degreerichi/laravelform\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from 'react'\n\nimport LaravelForm from '@degreerichi/laravelform'\nimport '@degreerichi/laravelform/dist/index.css'\n\nclass Example extends Component {\n  render() {\n    return (\n      <LaravelForm url=\"http://www.example.com\" method=\"get\">\n        <div>\n          <div>\n            <label htmlFor=\"\">Username</label>\n            <input type=\"text\" name=\"username\" className=\"customclass\"/>\n          </div>\n          <div>\n            <label htmlFor=\"\">Email</label>\n            <input type=\"text\" name=\"email\" className=\"customclass\"/>\n          </div>\n          <div>\n            <label htmlFor=\"\">Pass</label>\n            <input type=\"password\" name=\"pass\" className=\"customclass\"/>\n          </div>\n          <input type=\"submit\" value=\"Send\"/>\n      </div>\n    </LaravelForm>\n    );\n  }\n}\n```\n> **Important note:** The **name** attribute on each input is required\n> and has to be the exact same name placed on the laravel validation rule on the backend.\n\n## LaravelForm parameters\n\n```jsx\n/**\n* @param string {url} Action for the form (expect laravel app and validation via api)\n* @param string {method}[get, post...] Method to be used on the request\n* @param any {inputComponent} If you want to use a custom input react component, just pass the raw component to be used\n* @param function {success([])} Called once the form was succesfully submitted without validation errors\n* @param function {onChange(state)} Called every time any form input has changed its value (onchange event)\n* @param function {error([error])} Called when a validation error was found\n* @param boolean {submitDisabled} Variable to handle externally if the submit button is disabled\n*/\n```\n\n## License\n\nMIT © [degreerichi](https://github.com/degreerichi)\n","readmeFilename":"README.md"}