PHPackages                             gp247/core - 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. [Admin Panels](/categories/admin)
4. /
5. gp247/core

ActiveLibrary[Admin Panels](/categories/admin)

gp247/core
==========

Core laravel admin for all systems (ecommerce, cms, pmo...)

1.2.7(6mo ago)3812↓33.3%5MITPHPPHP ^8.2

Since Jan 30Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/gp247net/core)[ Packagist](https://packagist.org/packages/gp247/core)[ Docs](https://gp247.net)[ Fund](https://gp247.net)[ GitHub Sponsors](https://github.com/gp247net)[ RSS](/packages/gp247-core/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (47)Used By (5)Security (1)

 [![](https://camo.githubusercontent.com/d5ceffc7a92e605a19bc02fe26f65f2add6c6da3d0454b8a98b76a8edf105146/68747470733a2f2f7374617469632e67703234372e6e65742f6c6f676f2f6c6f676f2e706e67)](https://camo.githubusercontent.com/d5ceffc7a92e605a19bc02fe26f65f2add6c6da3d0454b8a98b76a8edf105146/68747470733a2f2f7374617469632e67703234372e6e65742f6c6f676f2f6c6f676f2e706e67)

Core Laravel admin for all systems (ecommerce, cms, pmo...)
 `composer require gp247/core`

 [Installation and documentation](https://gp247.net) | [Facebook Official](https://www.facebook.com/GP247.official/)

[![Total Downloads](https://camo.githubusercontent.com/4d9de24da59e3a9cf84102ae4bc3543eef50355779c56dae498a7405fe9034a7/68747470733a2f2f706f7365722e707567782e6f72672f67703234372f636f72652f642f746f74616c2e737667)](https://packagist.org/packages/gp247/core)[![Latest Stable Version](https://camo.githubusercontent.com/8af881b16b159ec1f3d875fc642ecb903cb559aaacf10119b9dcfb87eb561508/68747470733a2f2f706f7365722e707567782e6f72672f67703234372f636f72652f762f737461626c652e737667)](https://packagist.org/packages/gp247/core)[![License](https://camo.githubusercontent.com/7bf76545636affc2197a7b2255a97351ced00165e4b605c4b1ff25e5fed1942f/68747470733a2f2f706f7365722e707567782e6f72672f67703234372f636f72652f6c6963656e73652e737667)](https://packagist.org/packages/gp247/core)[![Ask DeepWiki](https://camo.githubusercontent.com/0f5ae213ac378635adeb5d7f13cef055ad2f7d9a47b36de7b1c67dbe09f609ca/68747470733a2f2f6465657077696b692e636f6d2f62616467652e737667)](https://deepwiki.com/gp247net/core)

About GP247
-----------

[](#about-gp247)

GP247 is a compact source code built with Laravel, helping users quickly build a powerful admin website. Whether your system is simple or complex, GP247 will help you operate and scale it easily.

**What can GP247 do?**

- Provides a powerful and flexible role management and user group solution.
- Offers a synchronous authentication API, enhancing API security with additional layers.
- Build and manage Plugins/Templates that work in the system
- Comprehensive access log monitoring system.
- Continuously updates security vulnerabilities.
- Supports multiple languages, easy management.
- GP247 is FREE

**And more:**

- GP247 builds a large, open ecosystem (plugin, template), helping users quickly build CMS, PMO, eCommerce, etc., according to your needs.

 [![](https://camo.githubusercontent.com/d0035ec79557de122acf21b29ddfb922ea3569688e2bc46bd7dcdd734c3df7c6/68747470733a2f2f7374617469632e67703234372e6e65742f706167652f67703234372d73637265656e2e6a7067)](https://camo.githubusercontent.com/d0035ec79557de122acf21b29ddfb922ea3569688e2bc46bd7dcdd734c3df7c6/68747470733a2f2f7374617469632e67703234372e6e65742f706167652f67703234372d73637265656e2e6a7067)

Laravel core:
-------------

[](#laravel-core)

GP247 1.x

> Core laravel framework 12.x

Website structure using GP247
-----------------------------

[](#website-structure-using-gp247)

```
Website-folder/
|
├── app
│     └── GP247
│           ├── Core(+) //Customize controller of Core
│           ├── Helpers(+) //Auto load Helpers/*.php
│           ├── Plugins(+) //Use `php artisan gp247:make-plugin --name=NameOfPlugin`
  //(IF you have gp247/front installed)//
│           ├── Front(+) //Customize controller of Front
  //(IF you have gp247/shop installed)//
│           ├── Shop(+) //Customize controller of Shop
│           └── Templates(+) /Use `php artisan gp247:make-template --name=NameOfTempate`
├── public
│     └── GP247
│           ├── Core(+)
│           ├── Plugins(+)
  //(IF you have gp247/front installed)//
│           └── Templates(+)
├── resources
│            └── views/vendor
│                           |── gp247-core(+) //Customize view core
│                           └── gp247-front(+) //(IF you have gp247/front installed)//
├── vendor
│     ├── gp247/core
│     └── gp247/front
├── .env
│     └── GP247_ACTIVE=1 //ON|OFF gp247
└──...

```

Quick Installation Guide
------------------------

[](#quick-installation-guide)

- **Step 1**: Prepare the Laravel source

    Refer to the command:

    > `composer create-project laravel/laravel website-folder`
- **Step 2**: Install the gp247/core package

    Move to Laravel directory (in this example is `website-folder`), and run the command:

    > `composer require gp247/core`
- **Step 3**: Check the configuration in the .env file

    Ensure that the database configuration and APP\_KEY information in the .env file are complete.

    If the APP\_KEY is not set, use the following command to generate it:

    > `php artisan key:generate`
- **Step 4**: Configure database

Default, GP247 uses mysql. The configuration will be saved in the .env file as follows:

```
  DB_CONNECTION=mysql
  DB_HOST=127.0.0.1
  DB_PORT=3306
  DB_DATABASE=gp247
  DB_USERNAME=root
  DB_PASSWORD=

```

If you want to use sqlite for quick testing, please change the connection in the .env file to sqlite, and comment out the DB\_HOST, DB\_PORT, DB\_DATABASE, DB\_USERNAME, DB\_PASSWORD lines.

```
    DB_CONNECTION=sqlite
    #DB_HOST=127.0.0.1
    #DB_PORT=3306
    #DB_DATABASE=gp247
    #DB_USERNAME=root
    #DB_PASSWORD=

```

- **Step 5**: Initialize gp247

    Run the command:

    > `php artisan gp247:core-install`
- **Step 6**: Add error handling

    To add custom error handling to your application, open the `bootstrap/app.php` file and add the following code to the `withExceptions` function:

    ```
    ->withExceptions(function (Exceptions $exceptions) {
        $exceptions->report(function (\Throwable $e) {
            if (function_exists('gp247_handle_exception')) {
                gp247_handle_exception($e);
            }
        });
    });
    ```

    This code will help you handle exceptions through the `gp247_handle_exception` function if it exists.

Useful information:
-------------------

[](#useful-information)

**To view GP247 version**

> `php artisan gp247:core-info`

**Update gp247**

Update the package using the command:

> `composer update gp247/core`

Then, run the command:

> `php artisan gp247:core-update`

**To create a plugin:**

> `php artisan gp247:make-plugin  --name=PluginName`

To create a zip file plugin

> `php artisan gp247:make-plugin  --name=PluginName --download=1`

**To create a template (`IF you have gp247/front installed`):**

> `php artisan gp247:make-template  --name=TemplateName`

To create a zip file template:

> `php artisan gp247:make-template  --name=TemplateName --download=1`

Customize
---------

[](#customize)

**Customize lfm configuration for upload**

> `php artisan vendor:publish --tag=config-lfm`

**Customize core admin view**

> `php artisan vendor:publish --tag=gp247:view-core`

**Overwrite gp247\_* helper functions*\*

> Step 1: Add the list of functions you want to override to `config/gp247_functions_except.php`

> Step 2: Create new php files containing the new functions in the `app/GP247/Helpers` directory, for example `app/GP247/Helpers/myfunction.php`

**Overwrite gp247 controller files**

> Step 1: Copy the controller files you want to override from vendor/gp247/core/src/Core/Controllers -&gt; app/GP247/Core/Controllers

> Step 2: Change `namespace GP247\Core\Controllers` to `namespace App\GP247\Core\Controllers`

**Overwrite gp247 API controller files**

> Step 1: Copy the controller files you want to override from vendor/gp247/core/src/Api/Controllers -&gt; app/GP247/Core/Api/Controllers

> Step 2: Change `namespace GP247\Core\Api\Controllers` to `namespace App\GP247\Core\Api\Controllers`

Add route
---------

[](#add-route)

Use prefix and middleware constants `GP247_ADMIN_PREFIX`, `GP247_ADMIN_MIDDLEWARE` in route declaration.

References:

Environment variables in .env file
----------------------------------

[](#environment-variables-in-env-file)

**Quickly disable GP247 and plugins**

> `GP247_ACTIVE=1` // To disable, set value 0

**Disable APIs**

> `GP247_API_MODE=1` // To disable, set value 0

**Data table prefixes**

> `GP247_DB_PREFIX=gp247_` //Cannot change after install gp247

**Path prefix to admin**

> `GP247_ADMIN_PREFIX=gp247_admin`

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance68

Regular maintenance activity

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~5 days

Total

46

Last Release

208d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/086acce7df4c04e787054a5d38cddce4fb7d3eca2caa45c700bcf15fff95cbd5?d=identicon)[gp247](/maintainers/gp247)

---

Top Contributors

[![gp247net](https://avatars.githubusercontent.com/u/193377302?v=4)](https://github.com/gp247net "gp247net (127 commits)")

---

Tags

core adminbackend systemwebsite admin

### Embed Badge

![Health badge](/badges/gp247-core/health.svg)

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[spatie/mailcoach

Self-host Mailcoach

4007.0k](/packages/spatie-mailcoach)

PHPackages © 2026

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