Comments (1)
Hi
The v1 is not finished yet. You should use v0.
But if you want to try the v1, do the following:
- Download composer https://getcomposer.org/download/
- Run
composer init
- Install the latest version of package
php-http/curl-client
- Install the
dev-master
version of packagegnumoksha/php-freeipa
- Create the connection like in
<?php
require_once __DIR__ . '/vendor/autoload.php';
use Gnumoksha\FreeIpa\FreeIpa;
use Gnumoksha\FreeIpa\Options;
use Gnumoksha\FreeIpa\Infra\Rpc\Request\CommonBody;
// https://ipa.demo1.freeipa.org/ipa/config/ca.crt
$freeIpa = new FreeIpa(
new Options(
'ipa.demo1.freeipa.org',
__DIR__ . '/ca.crt'
)
);
$freeIpa->login('admin', 'Secret123');
$response = $freeIpa->sendRequest(new CommonBody('ping'));
var_dump($response);
from php-freeipa.
Related Issues (14)
- Is it possible to get all users? HOT 2
- Use PSR interfaces
- Use static analysis tools HOT 2
- Use PSR-12: Extended Coding Style
- Create wiki with examples
- Handle expired password
- Add hability to access custom schema attributes
- Update travis.yml
- Error 77: error setting certificate verify location HOT 2
- Hello, when will the refactored version be released? HOT 1
- Warning curl_close() when null HOT 1
- how to manage change pass expired HOT 1
- Access custom schema attribute HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-freeipa.