xsuchy09 / form-phone
Forms control for adding phone filed for Nette Framework
v2.0.0
2019-11-01 08:41 UTC
Requires
- php: >=7.1.0
- ipub/phone: ^3.0
- ipub/phone-ui: ^2.0
- latte/latte: ^2.5
- nette/application: ^3.0
- nette/di: ^3.0
- nette/forms: ^3.0
- nette/utils: ^3.0
Requires (Dev)
- nette/bootstrap: ^3.0
- nette/mail: ^3.0
- nette/robot-loader: ^3.0
- nette/safe-stream: ^2.4
- nette/tester: ^2.0
- pds/skeleton: ^1.0
- tracy/tracy: ^2.6
README
Forms control for adding phone number filed for Nette Framework
Installation
The best way to install ipub/form-phone is using Composer:
$ composer require ipub/form-phone
After that you have to register extension in config.neon.
extensions: formPhone: IPub\FormPhone\DI\FormPhoneExtension
And you also need to include static files into your page:
<script src="{$basePath}/libs/ipub.formPhone.js"></script> </body>
note: You have to upload static files from client-site folder to your project.
Documentation
Learn how to extend your forms with phone field in documentation. For JavaScript part of this extension please checkout JS documentation
Homepage http://www.ipublikuj.eu and repository http://github.com/iPublikuj/form-phone.