pixel-penguin/pixel-admin
Composer 安装命令:
composer require pixel-penguin/pixel-admin
包简介
This is the admin used by Pixel penguin to maintain websites
README 文档
README
If you have difficulty using this package, please follow the tutorial at:
Add
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
or
SET GLOBAL default_storage_engine = 'InnoDB';
In AppServiceProvider.php
Then in cmd prompt in laravel 7 or lower
composer require laravel/ui:^2.4
php artisan ui vue --auth
Or Laravel 8
composer require laravel/jetstream
php artisan jetstream:install inertia
npm install bootstrap -save
npm install jquery -save
Remember to do
npm install
For npm installs:
npm install @mdi/font --save
npm install simple-modal-vue --save
npm install apexcharts --save
npm install vue-apexcharts --save
npm install vue-multiselect --save
npm install vue-tables-2 --save
npm install vue-vanilla-datetime-picker --save
npm install vue-clipboard2 --save
npm install sortablejs --save
npm install @voerro/vue-tagsinput --save
npm install @neos21/bootstrap3-glyphicons --save
npm install @riophae/vue-treeselect --save
npm install vuejs-datepicker --save
npm install vue-sweetalert2 --save
npm install v-tooltip --save
npm install @tinymce/tinymce-vue@3 --save
npm install font-awesome --save
npm install vue-nestable --save
npm install font-awesome --save
npm install pretty-checkbox --save
npm install vue-axios@2 --save
npm install pretty-checkbox-vue --save
npm install hooper --save
npm install --save vue-swatches
For composer includes do:
composer require pixel-penguin/pixel-admin
composer require jrm2k6/cloudder
composer require doctrine/dbal
composer require spatie/laravel-analytics
composer require laravel/helpers
composer require doctrine/dbal:2.*
After this: remember to run:
php artisan migrate
In you wepback.mix.js insert:
mix.js('vendor/pixel-penguin/pixel-admin/src/assets/js/admin.js', 'public/js')
.sass('vendor/pixel-penguin/pixel-admin/src/assets/sass/admin.scss', 'public/css');
mix.styles([
'vendor/pixel-penguin/pixel-admin/src/assets/themeincludes/style.css',
], 'public/css/admin-main.css');
mix.scripts([
// vendor
'vendor/pixel-penguin/pixel-admin/src/assets/themeincludes/jquery.slimscroll.js',
'vendor/pixel-penguin/pixel-admin/src/assets/themeincludes/app.js'
], 'public/js/admin-main.js');
In your .env file, these are required
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
CLOUDINARY_CLOUD_NAME=
ANALYTICS_VIEW_ID=
CLOUDINARY_BASE_FOLDER_PATH=
MIX_CLOUDINARY_CLOUD_NAME=
MIX_APP_URL=
MIX_CATEGORY_MAX_LEVEL=3
INVOICE_NOTICE=
EMAIL_ADDRESS_ORDER_1=
EMAIL_ADDRESS_ORDER_2=
EMAIL_SEND_USER_EMAIL=1
Extract the contents of this zip file
vendor\pixel-penguin\pixel-admin\src\database\seeds\seeds.zip
to
database\seeds\
Then run the following command in the terminal:
php artisan db:seed
JSON requests:
Pages Routes
Search Products
Method: Post
Params: search
Path: /search/products
Get list of Pages in tree form
Method: Get
Params: unpublished ['Y, 'N', or blank for N]
Path: /pages/{unpublished?}
Get page detail
Method: Get
Params: pageId
Path: page/detail/{pageId}
Get page gallery
Method: Get
Params: pageId
Path: page/gallery/{pageId}
Using Facade
insert wherever you need to use facade
use PixelPenguinAdmin;
Get all pages
PixelPenguinAdmin::getAllPages() //Param: leave blank for all published pages and 'Y' for unpublished pages
Get all pages
PixelPenguinAdmin::pageDetail($pageId)
Get all pages
PixelPenguinAdmin::pageGallery()
pixel-penguin/pixel-admin 适用场景与选型建议
pixel-penguin/pixel-admin 是一款 基于 Vue 开发的 Composer 扩展包,目前已累计 356 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 12 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 pixel-penguin/pixel-admin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pixel-penguin/pixel-admin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 356
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-21