PHPackages                             lucass3na/blogetc - 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. lucass3na/blogetc

ActiveLibrary

lucass3na/blogetc
=================

Simple blog (with admin panel) for Laravel from https://webdevetc.com/

01PHP

Since Jun 3Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Webdevetc BlogEtc - Complete Laravel Blog Package
=================================================

[](#webdevetc-blogetc---complete-laravel-blog-package)

- Quickly add a blog with admin panel to your existing Laravel project. It has everything included (routes, views, controllers, middleware, etc)
- Works with latest version of Laravel.

 [ ![Build Status](https://camo.githubusercontent.com/70f339ad8eb5ed3b78ebc3168807c0adf8cb019615cce35513e6d71478e2a993/68747470733a2f2f7472617669732d63692e6f72672f5765624465764574632f426c6f674574632e7376673f6272616e63683d6d6173746572) ](https://travis-ci.org/WebDevEtc/BlogEtc) [ ![StyleCI](https://camo.githubusercontent.com/8f01c24692c07f50ca98b1a55143bcb55e266561af93c8e9df7ab8127329ba47/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3134343832393939372f736869656c643f6272616e63683d6d6173746572) ](https://github.styleci.io/repos/144829997) [ ![Latest Stable Version](https://camo.githubusercontent.com/65c58302f5b874754d95af7ae16d89bff945781e71abee02c974120abc8b61ca/68747470733a2f2f706f7365722e707567782e6f72672f5765624465764574632f426c6f674574632f762f737461626c652e706e67) ](https://packagist.org/packages/WebDevEtc/BlogEtc) [ ![Total Downloads](https://camo.githubusercontent.com/d22af04d0fbbdb807499397750b5614e161a1a1030aab65638911b697af5a042/68747470733a2f2f706f7365722e707567782e6f72672f5765624465764574632f426c6f674574632f646f776e6c6f6164732e706e67) ](https://packagist.org/packages/WebDevEtc/BlogEtc) [ ![License](https://camo.githubusercontent.com/5294060d2151fba880a74c988e857f6e61d694cb66f9fc7990df0e27f959646d/68747470733a2f2f706f7365722e707567782e6f72672f5765624465764574632f426c6f674574632f6c6963656e73652e706e67) ](https://packagist.org/packages/WebDevEtc/BlogEtc) [ ![Scrutinizer Code Quality](https://camo.githubusercontent.com/f8e9311de783979dc24e9297b131d0dcb1552174d70d0ebfb2759d43fb1eebe0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5765624465764574632f426c6f674574632f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572) ](https://scrutinizer-ci.com/g/WebDevEtc/BlogEtc/?branch=master) [ ![Code Coverage](https://camo.githubusercontent.com/29d5a45d4a1dd80283060fb95d304038b58454607a2ccdc0a3f7c1f84ce90e06/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5765624465764574632f426c6f674574632f6261646765732f636f7665726167652e706e673f623d6d6173746572) ](https://scrutinizer-ci.com/g/WebDevEtc/BlogEtc/?branch=master)

Recent changes (May/June 2020) including recent installation instructions:
==========================================================================

[](#recent-changes-mayjune-2020-including-recent-installation-instructions)

- This package no longer uses `\App\User::canManageBlogEtcPosts()` to check if a user can access the admin panel.
- Instead it now uses a Laravel gate. This is currently backwards compatible without any edits.
- For new installations please add the following to `App\Providers\AuthServiceProvider`:

```
   Gate::define(GateTypes::MANAGE_BLOG_ADMIN, static function (?Model $user) {
       // Implement your logic here, for example:
       return $user && $user->email === 'your-admin-user@your-site.com';
       // Or something like `$user->is_admin === true`
   });
```

- The old way (using the `canManageBlogEtcPosts()` method on User.php) will still work but it is not recommended. At some point in the future it will be removed.

(Readme on webdevetc.com will be updated soon)

Blog Package for Laravel
------------------------

[](#blog-package-for-laravel)

This is [WebDevEtc's](https://webdevetc.com/) [BlogEtc Blog package for Laravel](https://webdevetc.com/blogetc). It has everything you need to quickly and easily add a blog to your laravel app.

### For installation instructions please read [the Laravel blog install guide here](https://webdevetc.com/laravel/packages/blogetc-blog-system-for-your-laravel-app/help-documentation/laravel-blog-package-blogetc#install_guide)

[](#for-installation-instructions-please-read-the-laravel-blog-install-guide-here)

[Install guide](https://webdevetc.com/laravel/packages/blogetc-blog-system-for-your-laravel-app/help-documentation/laravel-blog-package-blogetc#install_guide) • [Packagist](https://packagist.org/packages/webdevetc/blogetc) &lt;&lt; They're simple, but must be followed.

Features
--------

[](#features)

- Includes all views, routes, models, controllers, events, etc
    - Public facing pages:
        - View all posts (paginated)
        - View all posts in category (paginated)
        - View single post
        - Add comment views / confirmation views
        - Search, search form, search results page.
    - Admin pages:
        - Posts **(CRUD Blog Posts, Upload Featured Images (auto resizes)**
            - View all posts,
            - Create new post,
            - Edit post,
            - Delete post
        - Categories **(CRUD Post Categories)**
            - View all categories,
            - Create new category,
            - Edit post,
            - Delete post
        - Comments **(including comment approvals)**
            - View all comments,
            - Approve/Moderate comment,
            - Delete comment
        - Upload images
            - as well as uploading featured images for each blog post (and auto resizing to multiple defined sizes), you can upload images separately.
            - view all uploaded images (in multiple sizes)
- **Includes admin panel**
    - Create / edit posts
    - Create / edit post categories
    - Manage (approve/delete) submitted comments
- Allows each blog post to have featured images uploaded (you can define the actual dimensions) - in large, medium, thumbnail sizes
- fully configurable via its `config/blogetc.php` config file.
- **Includes all required view files, works straight away with no additional setup.** All view files (Blade files) use Bootstrap 4, and very clean HTML (easy to get your head around). You can easily override any view file by putting files in your `/resources/views/vendor/blogetc/` directory
- **Built in comments (using the database)**, can auto approve or require admin approval (comment moderation).
    - Other options include using [Disqus](http://disqus.com/) comments or disabling comments.
- Includes unit/feature tests, run automatically on Travis CI.
- Fires events for any database changes, so you can easily add Event Listeners if you need to add additional logic.
- **&lt; 5 minute install time** and your blog is up and working, ready for you to go to the admin panel and write a blog post - see full details below, but this is a summary of the required steps:
    - install with composer,
    - do the database migration, copy the config file over (done with `php artisan vendor:publish`)
    - chmod/chown the `public/blog_images/` directory so featured images can be uploaded for each blog post
    - and then add a gate to AuthServiceProvider (see note above)
    - **but please see the install instructions to get everything up and working**

How to customise the blog views/templates
-----------------------------------------

[](#how-to-customise-the-blog-viewstemplates)

This is easy to do, and further details can be found in our [BlogEtc Laravel Blog Package Documentation](https://webdevetc.com/laravel/packages/blogetc-blog-system-for-your-laravel-app/help-documentation/laravel-blog-package-blogetc#guide_to_views).

After running the `vendor:publish` command, all of the default template files will be found in `/resources/views/vendor/blogetc/` and are easy to edit to match your needs.

Missing /auth/register?
-----------------------

[](#missing-authregister)

If you are installing on a fresh install of Laravel (which no longer includes auth built in) then the following must be ran:

```
composer require laravel/ui;
php artisan ui vue --auth;

```

Issues, support, bug reports, security issues
---------------------------------------------

[](#issues-support-bug-reports-security-issues)

Please contact me on the contact from on [WebDev Etc](https://webdevetc.com/) or on [twitter](https://twitter.com/web_dev_etc/) and I'll get back to you ASAP.

Versions
--------

[](#versions)

- **8.4** (Sept 2020): Added support for Laravel 8. Removed support for PHP 7.2
- **8.3** (Sept 2020): Removed support for `swisnl/laravel-fulltext` as it seems abandoned.
    - Searching in blogetc is now much more simple - it is all inline in the controller and does a simple LIKE query.
    - If you need full text search then I recommend you implement your own search controller (see older commits to copy code that used full text search)
- **8.2** (Sept 2020): Added fix for dynamic title
- **&lt; 8.1** Support for PHP 7.2, 7.3, 7.4. Support for Lavavel 5.8.35 - 7.6

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ba05b64040ff768216fd43d8a2bc0b39b1f2b4e3fcf7ca52f1cd8a6889de0ac?d=identicon)[lucass3na](/maintainers/lucass3na)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lucass3na-blogetc/health.svg)

```
[![Health](https://phpackages.com/badges/lucass3na-blogetc/health.svg)](https://phpackages.com/packages/lucass3na-blogetc)
```

PHPackages © 2026

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