werify / laravel
werify package for laravel.
Requires (Dev)
- laravel/pint: ^1.9
This package is auto-updated.
Last update: 2024-11-06 16:16:47 UTC
README
werify/laravel is a library for connecting with Werify services (see more https://werify.net/).
Requirements
- PHP 8.0 and above.
- Built-in libcurl support.
- Laravel 7
Installation
For running this example, you need to install werify/laravel
library before. It can be done by two different methods:
1. Using Composer
You can install the library via Composer. If you don't already have Composer installed, first install it by following one of these instructions depends on your OS of choice:
- Composer installation instruction for Windows
- Composer installation instruction for Mac OS X and Linux
After composer is installed, Then run the following command to install the Omise-PHP library:
php composer.phar install
Please see configuration section below for configuring your Omise Keys.
2. Manually
If you're not using Composer, you can also clone werify/id-laravel
repository into the directory of sample code that you just installed this repository:
git clone https://github.com/Werify/laravel/
However, using Composer is recommended as you can easily keep the library up-to-date. After cloning the repository, you need to replace line 3 in config.php
from
3: require_once 'vendor/autoload.php';
to
3: require_once 'werify/laravel';
Please see configuration section below for configuring your Omise Keys.
Configuration
After you installed werify/laravel
library already. Next, you need to configure laravel. you can publish configuration files and see config in config/werify
config file.
Usage
this package publishes routes and jobs to connect to werify service.
you can see changelog here.