Download the PHP package prashant7july/aadhar-number-validator without Composer
On this page you can find all versions of the php package prashant7july/aadhar-number-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download prashant7july/aadhar-number-validator
More information about prashant7july/aadhar-number-validator
Files in prashant7july/aadhar-number-validator
Package aadhar-number-validator
Short Description India Aadhar Number Validator Moduel for zf2/Apigility
License BSD-3-Clause
Informations about the package aadhar-number-validator
aadhar-number-validator
India Aadhar Number Validator Moduel for zf2/Apigility
IndiaAadhaarNumberValidator Install in zf2 or Apigility
Run the following composer command:
- $ composer require prashant7july/aadhar-number-validator
OR
And then run composer update to ensure the module is installed.
Finally, add the module name to your project's config/application.config.php under the modules key:
OR
How to create custom module (Like custom validator etc) and convert it in to the 3rd party vender module?
Step 1 - Structure in Module for IndiaAadhaarNumberValidator
Step 2 - Create a new repository -
Step 3 - Take git branch in your local -
git clone https://github.com/prashant7july/aadhar-number-validator.git
Step 4 - Set Composer - composer.json and run $ composer dump-autoload -o
RUN Composer Validator Command
- $ composer validate
Step 5 - Just Commit the Code
- $ git add .
- $ git commit -m "add module"
- $ git push origin master
Step 6 - Submit Package in to Packagist
https://packagist.org/packages/submit
Step 7 - How to update packages?
This package is not auto-updated. Please set up the GitHub Service Hook for Packagist so that it gets updated whenever you push!
Enabling the Packagist service hook ensures that your package will always be updated instantly when you push to GitHub. To do so you can:
- Go to your GitHub repository
- Click the "Settings" button
- Click "Integrations & services"
- Add a "Packagist" service, and configure it with your API token, plus your Packagist username
- Check the "Active" box and submit the form
You can then hit the "Test Service" button to trigger it and check if Packagist removes the warning about the package not being auto-updated.
Step 8 - Set Git Versioning [How to change version (dev-master) in packagist.org]
- create php composer package
- how to release a composer package
- create-a-tag-in-github-repository
- During execute $ composer require prashant7july/tutorial-validator getting an issues as below -
[InvalidArgumentException]
Could not find package prashant7july/tutorial-validator at any version for your minimum-stability (stable). Check the package spelling or
your minimum-stability - Creating Releases form Github
Solution -
- $ git tag -a 1.0.0 -m 'release of version 1.0.0'
- $ git push origin 1.0.0