PHPackages                             honey-comb/core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. honey-comb/core

AbandonedArchivedLibrary[Framework](/categories/framework)

honey-comb/core
===============

HoneyComb CMS package for backend elements

0.4.15(6y ago)16.4k↓100%[4 PRs](https://github.com/honey-comb/core/pulls)2MITPHPPHP ^7.1.3

Since Jan 15Pushed 3y ago2 watchersCompare

[ Source](https://github.com/honey-comb/core)[ Packagist](https://packagist.org/packages/honey-comb/core)[ Docs](https://github.com/honey-comb/core/)[ RSS](/packages/honey-comb-core/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (144)Used By (2)

honeycomb-core [![Build Status](https://camo.githubusercontent.com/072065199945264ee1c3a748207143472fbf8c3b8219d3c6d6201bdf34e9fbb9/68747470733a2f2f7472617669732d63692e6f72672f686f6e65792d636f6d622f636f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/honey-comb/core)
===========================================================================================================================================================================================================================================================================================

[](#honeycomb-core-)

Description
-----------

[](#description)

HoneyComb CMS Core package for backend elements

Attention
---------

[](#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
-----------

[](#requirement)

- php: `^7.1.3`
- laravel: `^5.7`
- composer

Installation
------------

[](#installation)

Begin by installing this package through Composer.

```
	{
	    "require": {
	        "honey-comb/core": "^0.4"
	    }
	}
```

or

```
    composer require honey-comb/core
```

Laravel integration
-------------------

[](#laravel-integration)

To customize middleware:

- disable middleware in hc.php file adding value to ignoreDefaultMiddleware property

```
    'ignoreDefaultMiddleware' => [ ],
```

- manualy add middleware to kernel.php

Preparation
-----------

[](#preparation)

### Users

[](#users)

Make sure to update the User controller in `config/auth.php`

```
'defaults' => [
    'guard' => 'api',
    'passwords' => 'users',
],
```

```
'api' => [
    'driver' => 'passport',
    'provider' => 'users',
],
```

```
'providers' => [
    'users' => [
        'driver' => 'eloquent',
        'model' => \HoneyComb\Core\Models\HCUser::class,
    ],
],
```

```
'passwords' => [
    'users' => [
        'provider' => 'users',
        'table' => 'hc_user_password_reset',
        'expire' => 60,
    ],
],
```

### Handlers

[](#handlers)

Make sure to use a exceptions handler trait in `app/Exceptions/Handler.php`

```
