Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 66 | All time: 10,366 This week: 524 |
Version | License | PHP version | Categories | |||
habjoomlalogin 1.0.0 | Freeware | 5 | PHP 5, User Management, Web services |
Description | Author | |||
This class can authenticate users of a Joomla installation. Innovation Award
|
Joomla Login functionality for external sources.
Copy files from joomla-site
directory to the root of your Joomla website.
Copy files from other-site
directory to where you want to access this API from.
Send POST params user
and pass
to hab-joomla-login.php located inside joomla-site
. And it will return user data like json_encoded: username, name, email etc.
To use script inside other-site
. Simply include the HabJoomlaLogin.php, to your code and call the HabJoomlaLogin
class. here is an example:
<?php
include "path/to/HabJoomlaLogin.php";
//Login Data username and password
$data = [
"user" => "user123";
"pass" => "pass123";
];
//Path to the hab-joomla-login.php located on the server with Joomla installation.
$pathJoomla = "path/to/hab-joomla-login.php";
//Contains the array with user information
$login = HabJoomlaLogin::doLogin($data, $pathJoomla);
Files (3) |
File | Role | Description | ||
---|---|---|---|---|
joomla-site (1 file) | ||||
other-site (1 file) | ||||
README.md | Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.