Code Monkey home page Code Monkey logo

cpanel-whm's People

Contributors

mgufrone avatar sunnyr avatar timgws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cpanel-whm's Issues

Remove account timeout

Hi, When using removeAccount, it always times out. Guzzle timeout. how do i change this?

Override config

Anyway to override the host, user, password using the Facade? Couldn't figure this one out.

Question about WHM

First, awesome work !

For example: Is it possible to get the FTP Details of a specific user ?

So i can fully implement all features in my own website, so that the user dont have to log in to the control panel.

Email syntax

What is the syntax in this case?
/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=accountname&account="[email protected]"

cURL error 3: <url> malformed

Hi i am using Laravel 5.1, and performed the following steps to create an email account but i keep getting the error - cURL error 3: malformed

Step 1: Add to compposer.json -> require -> "gufy/cpanel-whm":"~1.0"
Step 2: composer update
Step 3: added to routes.php
use Gufy\CpanelPhp\Cpanel;
Route::get('/temp', function () {
$cpanel = new Cpanel;
$cpanel->addEmailAccount('test', '[email protected]', 'test123!');
echo 'Done';
});

Could i please request some help with this?

how use from database

Hi! Congratulations for pakage

I have a CRUD where I register my servers, and I need to instantiate the CpanelWhm object with information from the database. How to make?

$cpanel = new CpanelWhm([
            'host'        =>  $server->host, // ip or domain complete with its protocol and port
            'username'    =>  'root', // username of your server, it usually root.
            'auth_type'   =>  'hash', // set 'hash' or 'password'
            'password'    =>  $server->whm_token, // long hash or your user's password
        ]);

dd($cpanel::listaccts());

return error

cURL error 7: Failed to connect to 127.0.0.1 port 2087: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

It forces the search for config. Is there a way?

Tks!

Create Tables in database

Great i think this is not a really issue, but i want to know how to create database objects in database, using this package, ive already managed to create databases and attach users to it.

cPanel API 2

Hi, great tools there, and it save lots of my time of using this to access WHM api. but how about cPanel account level? Example if i would like to create a new database for an user, what should i do?

Remote Access Key

Remote Access Key is being depreciated and will be using API Tokens instead.

"Warning: This interface is deprecated and will be removed in a future release. We strongly suggest that you use the Manage API Tokens interface."

Looks like a few updates may be needed.

vendor publish not working

Trying to use this with Laravel 5.4

Installed then trying to run

php artisan vendor:publish gufy/cpanel-whm

gives the error

[Symfony\Component\Console\Exception\RuntimeException]
Too many arguments, expected arguments "command".

Laravel 5.4 support?

I get an error like this in CpanelWhmServiceProvider.php line 32

Call to undefined method Illuminate\Foundation\Application::share()

There where some changes in the framework, share() method was dropped.

Is this compatible with laravel 7

i am experiencing a problem when installing.
Installation request for laravel/framework (locked at v7.12.0, required as ^7.0) -> satisfiable by laravel/framework[v7.12.0]

API 1

Could deploy the API 1 WHM

WHM API version 1

Using this package I'm unable to use WHM API version 1, only version 0. Is there a switch for that or something like that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.