PHPackages                             retosteffen/laravel-blog - 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. retosteffen/laravel-blog

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

retosteffen/laravel-blog
========================

A simple blog that you can add to your laravel app

0.3.1(6y ago)017MITPHPPHP ^7.2CI failing

Since Feb 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/retosteffen/laravel-blog)[ Packagist](https://packagist.org/packages/retosteffen/laravel-blog)[ Docs](https://github.com/retosteffen/laravel-blog)[ RSS](/packages/retosteffen-laravel-blog/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (6)Versions (7)Used By (0)

Simple blog for your laravel application
========================================

[](#simple-blog-for-your-laravel-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f5880264720205d52c187f4bdfff740c5f68899846cbaa1f392fff0e6b7d6bcf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7265746f7374656666656e2f6c61726176656c2d626c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/retosteffen/laravel-blog)[![Build Status](https://camo.githubusercontent.com/deb14d43a0bb28cab10da38b136b262211ae38a5df779de9b90cfb6862bda5a9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7265746f7374656666656e2f6c61726176656c2d626c6f672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/retosteffen/laravel-blog)[![Quality Score](https://camo.githubusercontent.com/1e5e1a6bd8dc79a0bbe018de30a6a5c5c94e144a54ca941186efc2b3d1f555ab/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7265746f7374656666656e2f6c61726176656c2d626c6f672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/retosteffen/laravel-blog)[![Total Downloads](https://camo.githubusercontent.com/a599b5692cc6c2552ce97dabef88e4b7c3fd2733a99dfbfacb42470605d502aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7265746f7374656666656e2f6c61726176656c2d626c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/retosteffen/laravel-blog)

If you need to add a simple blog to an existing laravel application this might be for you. Views are kept very barebones on purpose so that you can easily add your existing styles.

Any registered user of your app will be able to add/edit/delete blog posts, categories and tags.

SEO for blog post should be ok

This package is **not** a full laravel application! It only allows you to add a simple blog to the laravel application that you already have.

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

[](#installation)

You can install the package via composer:

add this to your composer.json in your "repositories" array

```
{
    "type": "vcs",
    "url": "https://github.com/retosteffen/laravel-tags"
}
```

```
composer require retosteffen/laravel-blog
```

For image upload run

```
php artisan storage:link
```

requires laravel auth

included packages (will be added automatically)

```
"spatie/laravel-sluggable": "^2.2",
"spatie/laravel-tags": "dev-master",
"laravel/helpers": "^1.1",
```

more info about those packages here:

note: This packages uses a slighty modified version of spatie/laravel-tags

### Migrations

[](#migrations)

```
php artisan vendor:publish --provider="Spatie\Tags\TagsServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="Retosteffen\LaravelBlog\LaravelBlogServiceProvider" --tag="laravel-blog:migrations"
php artisan migrate
```

### Views

[](#views)

The views are very barebones so you will probably want to edit them and add your own styles

```
php artisan vendor:publish --provider="Retosteffen\LaravelBlog\LaravelBlogServiceProvider" --tag="laravel-blog:views"
```

layout.blade.php template is easily editable to fit the style of your application but should include:

```
@yield('title')
@yield('meta')
@yield('content')
@yield('javascript')
```

### Translations

[](#translations)

Translations for french and german are included.

```
php artisan vendor:publish --provider="Retosteffen\LaravelBlog\LaravelBlogServiceProvider" --tag="laravel-blog:lang"
```

Config
------

[](#config)

To configure the path of the blog and the permalink structure

```
php artisan vendor:publish --provider="Retosteffen\LaravelBlog\LaravelBlogServiceProvider" --tag="laravel-blog:config"
```

```
return [
  'route' => "/blog",
  'adminroute' => "/blog_admin",
  'blog_name'=>'My blog',
  'blog_description'=>"A demo blog built with laravel-blog",
  'permalink' => "slug", //options are id, year/month/slug, year/month/day/slug, slug
  'locale'=>'en_US',
  'facebook_name'=>"YOUR FACEBOOK PAGE URL",
  'twitter_handle'=>"YOUR TWITTER HANDLE"
];
```

Usage
-----

[](#usage)

Public view of the blog will be at /blog

Registered users will be able to access /blog\_admin and create/edit/delete new blog posts, categories and tags

### Testing

[](#testing)

```
composer test
```

some test will fail because they require App\\User which isn't included.

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Reto Steffen](https://github.com/retosteffen)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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 ~0 days

Total

6

Last Release

2325d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/27550?v=4)[Reto Conconi](/maintainers/reto)[@reto](https://github.com/reto)

---

Top Contributors

[![retosteffen](https://avatars.githubusercontent.com/u/1895562?v=4)](https://github.com/retosteffen "retosteffen (32 commits)")

---

Tags

laravel blogretosteffen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/retosteffen-laravel-blog/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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