PHPackages                             craigzearfoss/bullets - 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. [Database &amp; ORM](/categories/database)
4. /
5. craigzearfoss/bullets

ActiveLibrary[Database &amp; ORM](/categories/database)

craigzearfoss/bullets
=====================

Add bullet points to Laravel 5.1 Eloquent models.

1.0.0(10y ago)041MIT LicensePHPPHP &gt;=5.5.9

Since Apr 27Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

Bullets for Laravel 5
=====================

[](#bullets-for-laravel-5)

This package allows you to attach bullet points to an Eloquent model in [**Laravel 5**](http://laravel.com/).

Composer Install
----------------

[](#composer-install)

It can be found on [Packagist](https://packagist.org/packages/craigzeaross/bullets). The recommended way is through [composer](http://getcomposer.org).

Edit `composer.json` and add:

```
{
    "require": {
        "craigzearfoss/bullets": "dev-master"
    }
}
```

And install dependencies:

```
$ composer update
```

If you do not have [**Composer**](https://getcomposer.org) installed, run these two commands:

```
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install
```

Install and then Run the migrations
-----------------------------------

[](#install-and-then-run-the-migrations)

Find the `providers` array key in `config/app.php` and register the **Bullets Service Provider**.

```
'providers' => array(
    // ...

    Craigzearfoss\Bullets\BulletsServiceProvider::class,
)
```

Run the migration to create the `bullets` table.

```
php artisan vendor:publish --provider="Craigzearfoss\Bullets\Providers\BulletsServiceProvider"
php artisan migrate
```

Configuration
-------------

[](#configuration)

In your model add the BulletableTrait.

```
