PHPackages                             lcloss/cpanelapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lcloss/cpanelapi

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lcloss/cpanelapi
================

CPanel API2.0

0111PHP

Since Aug 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lcloss/cpanelapi)[ Packagist](https://packagist.org/packages/lcloss/cpanelapi)[ RSS](/packages/lcloss-cpanelapi/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

LCloss\\CPanelApi
=================

[](#lclosscpanelapi)

CPanel API 2.0 for Laravel 5.8^

[![Latest Version on Packagist](https://camo.githubusercontent.com/762d1411c22c901de5d1de69986885d95756e75314762c6470f0632a54aef561/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261636b7061636b2f4e657773435255442e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backpack/NewsCRUD)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/7879e7acf21c292cfcab634592fb419a39ae75b0b7c0d2dfc587889f71196d7a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4c61726176656c2d4261636b7061636b2f4e657773435255442f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Laravel-Backpack/NewsCRUD)[![Coverage Status](https://camo.githubusercontent.com/7e12d7a6654c4842df8c60d486b7ddbb44084f525e53903fa576b78ca9bb37e4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f4c61726176656c2d4261636b7061636b2f4e657773435255442e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Laravel-Backpack/NewsCRUD/code-structure)[![Quality Score](https://camo.githubusercontent.com/c8fc9961dad23f1b69771881ae95a922b7b79509ee1670cdc65e906bbbab2d67/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4c61726176656c2d4261636b7061636b2f4e657773435255442e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Laravel-Backpack/NewsCRUD)[![Total Downloads](https://camo.githubusercontent.com/7b5c51e8e647e00a99ce946c46a71bd9cc4d86191489c0f084e5cd3d9fea1f20/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261636b7061636b2f4e657773435255442e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backpack/NewsCRUD)

A Laravel package to use [CPanel API 2.0](https://documentation.cpanel.net/display/DD/Guide+to+cPanel+API+2). You can use CPanel API from Laravel project.

Install
-------

[](#install)

**Install as a Package**

1.

**Download all files and place in your application**

1. Download the latest release

Since NewsCRUD is just a Backpack\\CRUD example, you can choose to install it one of two ways.

**(A) Download and place files in your application** (recommended; remember to also `composer require cviebrock/eloquent-sluggable`)

or

**(B) As a package**

The only PRO of installing it as a package is that you may benefit from updates. But the reality is there is very little (if any) bug fixing to do, so you probably won't need to update it, ever.

#### Installation type (A) - download

[](#installation-type-a---download)

1. [Download the latest build](https://github.com/Laravel-Backpack/NewsCRUD/archive/master.zip).
2. Paste the 'app' and 'database' folders over your projects (merge them). No file overwrite warnings should come up.
3. Replace all mentions of 'Backpack\\NewsCRUD\\app' in the pasted files with your application's namespace ('App' if you haven't changed it):

- app/Http/Controllers/Admin/ArticleCrudController.php
- app/Http/Controllers/Admin/CategoryCrudController.php
- app/Http/Controllers/Admin/TagCrudController.php
- app/Http/Requests/ArticleRequest.php
- app/Http/Requests/CategoryRequest.php
- app/Http/Requests/TagRequest.php
- app/Models/Article.php
- app/Models/Category.php
- app/Models/Tag.php

4. Run the migration to have the database table we need:

```
php artisan migrate

```

5. Add NewsCRUD to your routes file:

```
Route::group(['prefix' => config('backpack.base.route_prefix', 'admin'), 'middleware' => ['web', 'auth'], 'namespace' => 'Admin'], function () {
    // Backpack\NewsCRUD
    Route::crud('article', 'ArticleCrudController');
    Route::crud('category', 'CategoryCrudController');
    Route::crud('tag', 'TagCrudController');
});

```

6. \[optional\] Add a menu item for it in resources/views/vendor/backpack/base/inc/sidebar.blade.php or menu.blade.php:

```

    News

       Articles
       Categories
       Tags

```

#### Installation type (B) - package

[](#installation-type-b---package)

1. In your terminal, run:

```
composer require backpack/newscrud
```

2. Publish the migration:

```
php artisan vendor:publish --provider="Backpack\NewsCRUD\NewsCRUDServiceProvider"

```

3. Run the migration to have the database table we need:

```
php artisan migrate

```

4. \[optional\] Add a menu item for it in resources/views/vendor/backpack/base/inc/sidebar.blade.php or menu.blade.php:

```

    News

       Articles
       Categories
       Tags

```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Overwriting functionality
-------------------------

[](#overwriting-functionality)

If you need to modify how this works in a project:

- create a `routes/backpack/newscrud.php` file; the package will see that, and load *your* routes file, instead of the one in the package;
- create controllers/models that extend the ones in the package, and use those in your new routes file;
- modify anything you'd like in the new controllers/models;

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Please **[subscribe to the Backpack Newsletter](http://backpackforlaravel.com/newsletter)** so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.

Credits
-------

[](#credits)

- [Cristian Tabacitu](https://github.com/tabacitu)
- [All Contributors](../../contributors)

License
-------

[](#license)

Backpack is free for non-commercial use and 49 EUR/project for commercial use. Please see [License File](LICENSE.md) and [backpackforlaravel.com](https://backpackforlaravel.com/#pricing) for more information.

Hire us
-------

[](#hire-us)

We've spend more than 10.000 hours creating, polishing and maintaining administration panels on Laravel. We've developed e-Commerce, e-Learning, ERPs, social networks, payment gateways and much more. We've worked on admin panels *so much*, that we've created one of the most popular software in its niche - just from making public what was repetitive in our projects.

If you are looking for a developer/team to help you build an admin panel on Laravel, look no further. You'll have a difficult time finding someone with more experience &amp; enthusiasm for this. This is *what we do*. [Contact us - let's see if we can work together](https://backpackforlaravel.com/need-freelancer-or-development-team).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e3338044b423a7d652c1788cb6a2247ac01877258d3c16362ac2645ff4de4707?d=identicon)[lcloss](/maintainers/lcloss)

---

Top Contributors

[![lcloss](https://avatars.githubusercontent.com/u/10761341?v=4)](https://github.com/lcloss "lcloss (8 commits)")

### Embed Badge

![Health badge](/badges/lcloss-cpanelapi/health.svg)

```
[![Health](https://phpackages.com/badges/lcloss-cpanelapi/health.svg)](https://phpackages.com/packages/lcloss-cpanelapi)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
