PHPackages                             devfactory/block - 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. devfactory/block

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

devfactory/block
================

Block for your website

3.1.1(4y ago)5202MITPHPPHP ^7.3|^8.0|^8.1

Since Feb 4Pushed 4y ago4 watchersCompare

[ Source](https://github.com/DevFactoryCH/block)[ Packagist](https://packagist.org/packages/devfactory/block)[ RSS](/packages/devfactory-block/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (19)Used By (0)

\#Block

This package allows you to create block and choose the position of the block where you need it.

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

[](#installation)

Using Composer to install the package.

```
composer require devfactory/block
```

Then in your `app/config/app.php` file register the following service providers: Devfactory\\Block\\BlockServiceProvider::class,

```
// config/app.php

'providers' => [
    ...
    Devfactory\Block\BlockServiceProvider::class,
],

'aliases' => [
    ...
    'Block' => Devfactory\Block\Facades\Block::class,
],
```

If you want you can publish the config, views and migration files if you want to change them

```
php artisan vendor:publish --provider="Devfactory\Block\BlockServiceProvider" --tag="config"
```

```
php artisan vendor:publish --provider="Devfactory\Block\BlockServiceProvider" --tag="views"
```

```
php artisan vendor:publish --provider="Devfactory\Block\BlockServiceProvider" --tag="migrations"
```

Usage
-----

[](#usage)

You just need to create a block then you can call the block content with the block facade like this

```
{{ Block::get('block_title') }}
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

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

Recently: every ~0 days

Total

18

Last Release

1689d ago

Major Versions

2.0.1 → 3.0.02021-11-17

PHP version history (2 changes)2.0.0PHP &gt;=5.4.0

3.0.0PHP ^7.3|^8.0|^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1516696?v=4)[DevFactory](/maintainers/devfactory)[@DevFactory](https://github.com/DevFactory)

---

Top Contributors

[![gmarineau](https://avatars.githubusercontent.com/u/1737065?v=4)](https://github.com/gmarineau "gmarineau (52 commits)")

### Embed Badge

![Health badge](/badges/devfactory-block/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

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

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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