vncore/core
最新稳定版本:v1.1.13
Composer 安装命令:
composer require vncore/core
包简介
Core laravel admin for all systems (ecommerce, cms, pmo...)
README 文档
README
Core Laravel admin for all systems (ecommerce, cms, pmo...)
composer require vncore/core
Installation and documentation
About Vncore
Vncore is a compact source code built with Laravel, helping users quickly build a powerful admin website. Whether your system is simple or complex, Vncore will help you operate and scale it easily.
What can Vncore 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.
- Vncore is FREE
And more:
- Vncore builds a large, open ecosystem (plugin, template), helping users quickly build CMS, PMO, eCommerce, etc., according to your needs.
Laravel core:
Vncore 1.x
Core laravel framework 11.x
Website structure using Vncore
Website-folder/
|
├── app
│ └── Vncore
│ ├── Core(+) //Customize controller of Core
│ ├── Front(+) //Customize controller of Front (`if vncore/front installed`)
│ ├── Helpers(+) //Auto load Helpers/*.php
│ ├── Blocks(+) // The list of blades will be used to display on the admin homepage.
│ ├── Templates(+) //Use `php artisan vncore:make template --name=NameOfTempate`
│ └── Plugins(+) //Use `php artisan vncore:make plugin --name=NameOfPlugin`
├── public
│ └── Vncore
│ ├── Admin(+)
│ ├── Templates(+)
│ └── Plugins(+)
├── resources
│ └── views/vendor
│ └── vncore-admin(+) //Customize view admin
├── vendor
│ └── vncore/core
├── .env
│ └── VNCORE_ACTIVE=1 //ON|OFF vncore
└──...
Support the project
Support this project 😜 🙏
Quick Installation Guide
-
Step 1: Prepare the Laravel source
Refer to the command:
composer create-project laravel/laravel website-folder -
Step 2: Install the vncore/core package
Move to Laravel directory (in this example is
website-folder), and run the command:composer require vncore/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: Initialize vncore
Run the command:
php artisan vncore:install
Useful information:
To view Vncore version
php artisan vncore:info
Update vncore
Update the package using the command:
composer update vncore/core
Then, run the command:
php artisan vncore:update
To create a plugin:
php artisan vncore:make plugin --name=PluginName
To create a zip file plugin:
php artisan vncore:make plugin --name=PluginName --download=1
To create a template:
php artisan vncore:make template --name=TemplateName
To create a zip file template:
php artisan vncore:make template --name=TemplateName --download=1
Customize
Customize vncore-config and functions
php artisan vncore:customize config
Customize view admin
php artisan vncore:customize view
Overwrite vncore_ helper functions*
Step 1: Use the command
php artisan vncore:customize configto copy the fileapp/config/vncore_functions_except.php
Step 2: Add the list of functions you want to override to
vncore_functions_except.php
Step 3: Create a new function in the
app/Vncore/Helpers folder
Overwrite vncore controller files
Step 1: Copy the controller files you want to override in vendor/vncore/core/src/Admin/Controllers -> app/Vncore/Core/Admin/Controllers
Step 2: Change
namespace Vncore\Core\Admin\Controllerstonamespace App\Vncore\Core\Admin\Controllers
Overwrite vncore API controller files
Step 1: Copy the controller files you want to override in vendor vendor/vncore/core/src/Api/Controllers -> app/Vncore/Core/Api/Controllers
Step 2: Change
namespace Vncore\Core\Api\Controllerstonamespace App\Vncore\Core\Api\Controllers
Add route
Use prefix and middleware constants VNCORE_ADMIN_PREFIX, VNCORE_ADMIN_MIDDLEWARE in route declaration.
References: https://github.com/vncore/core/blob/master/src/Admin/routes.php
Environment variables in .env file
Quickly disable Vncore and plugins
VNCORE_ACTIVE=1// To disable, set value 0
Disable APIs
VNCORE_API_MODE=1// To disable, set value 0
Data table prefixes
VNCORE_DB_PREFIX=vncore_//Cannot change after install vncore
Path prefix to admin
VNCORE_ADMIN_PREFIX=vncore_admin
vncore/core 适用场景与选型建议
vncore/core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 151 次下载、GitHub Stars 达 65, 最近一次更新时间为 2024 年 05 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「core admin」 「backend system」 「website admin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 vncore/core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vncore/core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 vncore/core 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Contao Open Source CMS
2lenet/EasyAdminPlusBundle
This bundle offers a simple backend explanation form field (inputType).
Preview of settings in footer of tt_content element in page module.
Analysis module for finding problematical shop data.
DiZed Team Core module for the Magento 2 project
统计信息
- 总下载量: 151
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 65
- 点击次数: 10
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-20