elieldepaula / form-lib
Bootstrap form generator for CodeIgniter
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2024-10-29 05:22:13 UTC
README
[English]
Formlib.php is a library for CodeIgniter that contains the necessary tools for creating and maintaining forms using CodeIgniter resources together with the styles of Bootstrap.
It is hoped that in this way we can take advantage of security features and stability of the Framework.
Compatibility
- CodeIgniter 2.2.x and 3.x
Dependencies
- Bootstrap (http://getbootstrap.com/)
- Form helper (CodeIgniter)
- Url helper (CodeIgniter)
Installation with Composer
"require" : {
"elieldepaula/FormLib": "*"
}
Note
If you want or need to wrapp the form into a bootstrap panel, you must to copy the folder FormLib/forms
into your views directory.
Use
An example of use of the library is shown in FormLib/src/Examples
.
License
This is a personal project, I am making available under the MIT license, you can use the way you see fit, but without any warranty. If you want to contribute to the project, please contact me by email dev[at]elieldepaula.com.br, clone the repository and start coding.
[Portuguese]
Formlib.php é uma biblioteca para Codeigniter que contém as ferramentas necessárias para a criação e manutenção de formulários usando os recursos do Codeigniter em conjunto com os estilos do Bootstrap.
Espera-se que desta forma possa-se tirar proveito dos recursos de segurança do e estabilidade do Framework.
Compatibilidade
- Codeigniter 2.2.x e 3.x
Dependências
- Bootstrap (http://getbootstrap.com/)
- Form helper (CodeIgniter)
- Url helper (CodeIgniter)
Instalação com Composer
"require" : {
"elieldepaula/FormLib": "*"
}
Nota
Se você quer ou precisa exibir seu formulário dentro de um Bootstrap Panel, você precisa copiar a pasta FormLib/forms
para sua pasta de views.
Utilização
Um exemplo de utilização da biblioteca está demonstrado em FormLib/src/Examples
.
Licença
Este é um projeto pessoal, estou disponibilizando sob a licença MIT, você pode usar da forma que achar melhor, mas sem nenhuma garantia. Se quiser contribuir para o projeto, entre em contato comigo pelo email dev[at]elieldepaula.com.br, clone o repositório e começe a programar.
The MIT License (MIT)
Copyright (c) 2014 Eliel de Paula Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.