Download the PHP package honey-comb/core without Composer
On this page you can find all versions of the php package honey-comb/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download honey-comb/core
More information about honey-comb/core
Files in honey-comb/core
Package core
Short Description HoneyComb CMS package for backend elements
License MIT
Homepage https://github.com/honey-comb/core/
Informations about the package core
honeycomb-core
https://github.com/honey-comb/core
Description
HoneyComb CMS Core package for backend elements
Attention
This is part core package HoneyComb CMS package. It require starter
package.
If you want to use laravel version 5.6. [use core package version 0.3.](https://github.com/honey-comb/core/tree/5.6 "Core package version 0.3.*")
Requirement
- php:
^7.1.3
- laravel:
^5.7
-
composer
Installation
Begin by installing this package through Composer.
or
Laravel integration
To customize middleware:
-
disable middleware in hc.php file adding value to ignoreDefaultMiddleware property
- manualy add middleware to kernel.php
Preparation
Users
Make sure to update the User controller in config/auth.php
Handlers
Make sure to use a exceptions handler trait in app/Exceptions/Handler.php
Database
We recomend to use utf8mb4_unicode_520_ci
collation, so you can update it in config/database.php
Passport installation
Migrations
- In
AppServiceProvider
register()
method add\Laravel\Passport\Passport::ignoreMigrations();
- publish migrations
php artisan vendor:publish --tag=passport-migrations
- update
user_id
fields touuid
e.g.$table->integer('user_id');
->$table->uuid('user_id');
in tables:oauth_auth_codes
oauth_access_tokens
oauth_clients
Install
php artisan passport:install
Commands
Remove default Laravel user migrations (if it is a clean project)
2014_10_12_000000_create_users_table.php
2014_10_12_100000_create_password_resets_table.php
Run Artisan commands
php artisan migrate
php artisan hc:seed
php artisan hc:permissions
php artisan hc:forms
php artisan hc:admin-menu
php artisan hc:super-admin
All versions of core with dependencies
laravel/framework Version ^5.7
laravel/passport Version ^7.2
barryvdh/laravel-cors Version ^0.11.2
laravel/socialite Version ^4.1
honey-comb/starter Version 0.3.*