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

ActiveLibrary

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 1mo ago

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 80% 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

1643d 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://www.gravatar.com/avatar/51b27ef81332de9328fd9d6c4e10156c73c33e86bd63e337eae3bb4985a956ff?d=identicon)[devfactory](/maintainers/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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[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.

44643.1k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[dragon-code/migrate-db

Easy data transfer from one database to another

15717.4k](/packages/dragon-code-migrate-db)[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)
