Copyright © Graham Campbell 2013
Laravel Binput is an input protector for Laravel 4.
- Laravel Binput was created by, and is maintained by Graham Campbell.
- Laravel Binput relies on my Laravel Security package.
- Laravel Binput uses Travis CI to run tests to check if it's working as it should.
- Laravel Binput uses Scrutinizer CI to run additional tests and checks.
- Laravel Binput uses Composer to load and manage dependencies.
- Laravel Binput provides a change log, releases, and a wiki.
- Laravel Binput is licensed under the MIT, available here.
- PHP 5.3.3+, 5.4+ or PHP 5.5+ is required.
- You will need Laravel 4 because this package is designed for it.
- You will need Composer installed to load the dependencies of Laravel Binput.
Please check the system requirements before installing Laravel Binput.
To get the latest version of Laravel Binput, simply require it in your composer.json
file.
"graham-campbell/binput": "dev-master"
You'll then need to run composer install
or composer update
to download it and have the autoloader updated.
Once Laravel Binput is installed, you need to register the service provider. Open up app/config/app.php
and add the following to the providers
key.
'GrahamCampbell\Binput\BinputServiceProvider'
You will also need to have registered the Laravel Security service provider.
'GrahamCampbell\Security\SecurityServiceProvider'
You can register the Binput facade in the aliases
key of your app/config/app.php
file if you like.
'Binput' => 'GrahamCampbell\Binput\Facades\Binput'
The latest and greatest source can be found on GitHub.
Before submitting a pull request, you should ensure that your fork is up to date.
You may fork Laravel Binput:
git remote add upstream git://github.com/GrahamCampbell/Laravel-Binput.git
The first command is only necessary the first time. If you have issues merging, you will need to get a merge tool such as P4Merge.
You can then update the branch:
git pull --rebase upstream master
git push --force origin <branch_name>
Once it is set up, run git mergetool
. Once all conflicts are fixed, run git rebase --continue
, and git push --force origin <branch_name>
.
The MIT License (MIT)
Copyright (c) 2013 Graham Campbell
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.