pixel-penguin / pixel-admin
This is the admin used by Pixel penguin to maintain websites
Installs: 347
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 0
Language:Vue
- dev-master
- 1.0.73
- 1.0.72
- 1.0.71
- 1.0.70
- 1.0.69
- 1.0.68
- 1.0.67
- 1.0.66
- 1.0.65
- 1.0.64
- 1.0.63
- 1.0.62
- 1.0.61
- 1.0.60
- 1.0.59
- 1.0.58
- 1.0.57
- 1.0.56
- 1.0.55
- 1.0.54
- 1.0.53
- 1.0.52
- 1.0.51
- 1.0.50
- 1.0.49
- 1.0.48
- 1.0.47
- 1.0.46
- 1.0.45
- 1.0.44
- 1.0.43
- 1.0.42
- 1.0.41
- 1.0.40
- 1.0.39
- 1.0.38
- 1.0.37
- 1.0.36
- 1.0.35
- 1.0.34
- 1.0.33
- 1.0.32
- 1.0.31
- 1.0.30
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2025-03-20 22:06:43 UTC
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()