vncore/cms
Composer 安装命令:
composer create-project vncore/cms
包简介
Free CMS source code built with Laravel for your system.
README 文档
README
Free CMS source code built with Laravel for your system
composer create-project vncore/cms
About Vncore CMS
- Vncore CMS makes it easy for you to build a website for your business.
- Vncore CMS is a complete system, combining
Vncore/frontandVncore/core.
What can Vncore CMS do?
- Fully inherits the power and convenience of
Vncore/core. - Plugins will be continuously updated.
- 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 core
│ ├── Blocks(+)
│ ├── Helpers(+)
│ ├── Templates(+)
│ └── Plugins(+)
├── public
│ └── Vncore
│ ├── Admin(+)
│ ├── Templates(+)
│ └── Plugins(+)
├── resources
│ └── views/vendor
│ └── vncore-admin(+) //Customize view admin
├── vendor
│ └── vncore/core
├── .env
└──...
Support the project
Support this project 😜 🙏
Quick Installation Guide
Initialize vncore cms
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
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-15