-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from smileidentity/develop
Develop
- Loading branch information
Showing
11 changed files
with
138 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,44 @@ | ||
# smile-identity-core-php | ||
# Smile Identity PHP Server Side | ||
|
||
The Official Smile Identity PHP library | ||
Smile Identity provides the best solutions for real time Digital KYC, identity verification, user onboarding, and user authentication across Africa. Our server side libraries make it easy to integrate us on the server-side. Since the library is server-side, you will be required to pass the images (if required) to the library. | ||
If you haven’t already, sign up for a free Smile Identity account, which comes with Sandbox access. | ||
|
||
## Dependencies | ||
|
||
* Composer build tool | ||
|
||
## Documentation | ||
|
||
For extensive instructions on usage of the library and sample codes, please refer to the [official Smile Identity documentation](https://docs.smileidentity.com/server-to-server/php) | ||
|
||
## Installation | ||
|
||
Download smile-identity-core-php repo to a directory on your server where PHP and Composer is installed. | ||
### Installing from the Repository | ||
|
||
Download [smile-identity-core-php repository](https://github.com/smileidentity/smile-identity-core-php) to a directory on your server where PHP and Composer is installed. | ||
|
||
In that directory, run `composer install` | ||
|
||
### Installing from Packagist | ||
|
||
View the package on [Packagist](https://packagist.org/packages/smile-identity/smile-identity-core). | ||
|
||
Alternatively, the package can be searched locally from a composer-based project by typing the command `composer search <PACKAGE_NAME>` in the command line where `PACKAGE_NAME` can the full name of the package (in this case `smile-identity/smile-identity-core`) or any part of the name distinct enough to return a match. | ||
|
||
In the project's directory, run `composer install smile-identity/smile-identity-core` | ||
|
||
## License | ||
|
||
MIT License | ||
|
||
## Documentation | ||
|
||
In that directory run `composer install` | ||
For extensive instructions on usage of the library and sample codes, please refer to the official Smile [Identity documentation](https://docs.smileidentity.com/server-to-server/php). | ||
|
||
### Usage | ||
## Getting Help | ||
|
||
Edit the example_core.php file and replace sections marked with <> | ||
For usage questions, the best resource is [our official documentation](docs.smileidentity.com). However, if you require further assistance, you can file a [support ticket via our portal](https://portal.smileidentity.com/partner/support/tickets) or visit the [contact us page](https://portal.smileidentity.com/partner/support/tickets) on our website. | ||
|
||
### Run tests | ||
## Contributing | ||
|
||
In same directory run `vendor/bin/phpunit tests` | ||
Bug reports and pull requests are welcome on GitHub at https://github.com/smileidentity/smile-identity-core-php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,16 @@ | |
"homepage" : "https://github.com/smileidentity/smile-identity-core-php", | ||
"license" : "MIT", | ||
"authors" : [{ | ||
"name" : "Smile Identity", | ||
"email" : "[email protected]" | ||
}], | ||
"name" : "Smile Identity", | ||
"email" : "[email protected]" | ||
} | ||
], | ||
"require" : { | ||
"php" : ">=7.4", | ||
"ext-curl" : "*", | ||
"ext-json" : "*", | ||
"ext-openssl" : "*", | ||
"ext-zip": "*", | ||
"ext-zip" : "*", | ||
"guzzlehttp/guzzle" : "^7.0", | ||
"letsdrink/ouzo-goodies" : "~1.0" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.