PHPackages                             fbf/laravel-events - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fbf/laravel-events

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fbf/laravel-events
==================

A Laravel 4 package to add events listings to a site

v0.2.1(12y ago)85273MITPHPPHP &gt;=5.3.0

Since Feb 21Pushed 12y ago6 watchersCompare

[ Source](https://github.com/FbF/Laravel-Events)[ Packagist](https://packagist.org/packages/fbf/laravel-events)[ RSS](/packages/fbf-laravel-events/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Laravel Events
==============

[](#laravel-events)

A Laravel 4 package to add events listings to a site

Events have
-----------

[](#events-have)

- start/end datetimes, and a text based date field for things like "Fri, 21st Feb. 9pm 'til late!"
- title, summary and content fields
- main image or YouTube Video
- map showing location (control the marker centre, map centre, map zoom and marker title)
- link to more info about the event (control the URL and the link text)
- separate page title, meta description and keywords fields, also a slug field which is automatically generated from the title
- Draft/Approved status
- published date for future publishing
- In RSS? and Is Sticky? fields

The package comes with
----------------------

[](#the-package-comes-with)

- Optional routes file with configurable URL prefix, or you can choose to use your own routes
- EventsController with actions for listing events, viewing individual events and an RSS feed of events.
- A migration for the events table, and a faker seed to populate it.
- The Event model for interacting with Event data
- Views and partials for showing the event listings and event details.

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

[](#installation)

Add the following to you composer.json file (Recommend swapping "dev-master" for the latest release)

```
"fbf/laravel-events": "dev-master"

```

Run

```
composer update

```

Add the following to app/config/app.php

```
'Fbf\LaravelEvents\LaravelEventsServiceProvider'

```

Run the package migration

```
php artisan migrate --package=fbf/laravel-events

```

Publish the config

```
php artisan config:publish fbf/laravel-events

```

Optionally tweak the settings in the many config files for your app

Optionally copy the administrator config file (`src/config/administrator/events.php`) to your administrator model config directory.

Create the relevant image upload directories that you specify in your config, e.g.

```
public/uploads/packages/fbf/laravel-events/main_image/original
public/uploads/packages/fbf/laravel-events/main_image/thumbnail
public/uploads/packages/fbf/laravel-events/main_image/resized

```

Faker seed
----------

[](#faker-seed)

The package comes with a seed that can populate the table with a whole bunch of sample events. There are some configuration options for the seeder in the seed config file. To run it:

```
php artisan db:seed --class="Fbf\LaravelEvents\FakeEventsSeeder"

```

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

[](#configuration)

See the many configuration options in the files in the config directory

Administrator
-------------

[](#administrator)

You can use the excellent Laravel Administrator package by frozennode to administer your data.

A ready-to-use model config file for the `Event` model (`events.php`) is provided in the `src/config/administrator` directory of the package, which you can copy into the `app/config/administrator` directory (or whatever you set as the `model_config_path` in the administrator config file).

Usage
-----

[](#usage)

The package should work out the box (provided you have a master blade layout file, since the out-of-the-box views extend this) but if you want to add other content to the pages, such as your own header, logo, navigation, sidebar etc, you'll want to override the views provided.

The package views declare several sections that you may want to `yield` in your `app/views/layouts/master.blade.php` file, e.g.:

```
>

	@yield('title')

	@yield('content')

```

The package's views are actually really simple, and most of the presentation is done in partials. This is deliberate so you can override the package's views in your own app, so you can include your own chrome, navigation and sidebars etc, yet you can also still make use of the partials provided, if you want to.

To override any view in your own app, just create the following directories and copy the file from the package into it, then hack away

- `app/views/packages/fbf/laravel-events/events`
- `app/views/packages/fbf/laravel-events/partials`

Extending
---------

[](#extending)

You can extend the model to add more fields, relations and even filter event listings by a relationship.

See the extending section in the readme on  as it works the same way.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

3

Last Release

4495d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1890fa7f83fd77b7c73d984199cb9a45ba9871acb4133490f43115c19fe845f?d=identicon)[neilcrookes](/maintainers/neilcrookes)

---

Top Contributors

[![neilcrookes](https://avatars.githubusercontent.com/u/24232?v=4)](https://github.com/neilcrookes "neilcrookes (1 commits)")

---

Tags

laravelevents

### Embed Badge

![Health badge](/badges/fbf-laravel-events/health.svg)

```
[![Health](https://phpackages.com/badges/fbf-laravel-events/health.svg)](https://phpackages.com/packages/fbf-laravel-events)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[chelout/laravel-relationship-events

Missing relationship events for Laravel

5252.4M17](/packages/chelout-laravel-relationship-events)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
