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

ActiveAsgard-module

sagsoz06/block
==============

A module to create small blocks of content to display anywhere on the site.

2.1.0(7y ago)0147MITPHPPHP &gt;=5.6.4

Since Mar 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sagsoz06/block-module)[ Packagist](https://packagist.org/packages/sagsoz06/block)[ RSS](/packages/sagsoz06-block/feed)WikiDiscussions master Synced 2mo ago

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

Block Module
============

[](#block-module)

[![Latest Version](https://camo.githubusercontent.com/266ffe486fb2cbf713f2755a4d1fa9743de5bcf632967d115d89ecd0039e0925/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f617367617264636d732f626c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://github.com/asgardcms/block/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Quality Sblock](https://camo.githubusercontent.com/bfde04da595cd46628f94e88a1b220e4b175ea99547a2d9a34e75ec1ad886b41/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f617367617264636d732f626c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/asgardcms/block)[![SensioLabs Insight](https://camo.githubusercontent.com/a37734297c2db1119807a32478913994525b507e8883ef75e92b40e308ba6766/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f36353063366432382d653838382d346262632d613537622d6366363834643366653762662e737667)](https://insight.sensiolabs.com/projects/650c6d28-e888-4bbc-a57b-cf684d3fe7bf)[![CodeClimate](https://camo.githubusercontent.com/3b8aecfa2b72c126f6e5a72d6adfa333942de6a8d0490e2130ec382cf7885aac/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f417367617264436d732f426c6f636b2e737667)](https://codeclimate.com/github/AsgardCms/Block)

[![Total Downloads](https://camo.githubusercontent.com/bf38e4d5784f2c3137a1f3588cd45c3580ddea0b4d2676255a2c855f4d094a0b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f617367617264636d732f626c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/asgardcms/block)[![Total Downloads](https://camo.githubusercontent.com/8e45d0e50993a26a9603f8a59cd3fc0d3de130cd535f6a9856cc12d0463a8483/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f617367617264636d732f626c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/asgardcms/block)[![Total Downloads](https://camo.githubusercontent.com/c2f1b4180089800abb0c33ab9b8a7507bfdb041f1df9f47878cb49c6d8aaafc4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617367617264636d732f626c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/asgardcms/block)[![Slack](https://camo.githubusercontent.com/5379498bc3498bb41df326f2981e2cae90bd1ba46d635bb0c0faedcdc746278d/687474703a2f2f736c61636b2e617367617264636d732e636f6d2f62616467652e737667)](http://slack.asgardcms.com/)

BranchTravis-cimaster[![Build Status](https://camo.githubusercontent.com/a927a0be89a8dd61e6697cb8725453e4dd930c5b4bea77ff6745615b9d156ffd/68747470733a2f2f7472617669732d63692e6f72672f417367617264436d732f426c6f636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/AsgardCms/Block)Installation
------------

[](#installation)

You can install the Block module with composer:

```
$ composer require asgardcms/block
```

Then run the following command to install the database tables:

```
$ php artisan module:migrate Block
```

In the backend GUI, go to Users &gt; Roles &gt; Admin. Then the permissions tab, and give the Admin role the permissions for the block module.

Documentation
-------------

[](#documentation)

This is a very simple module to create re-usable blocks of content. The blocks of content are created in the administration. You give it a name and a content.

After this, you'll be able to get the content of a block with the following code:

```
{!! Block::get('block-name') !!}
```

Resources
---------

[](#resources)

- [Contribute to AsgardCMS](https://asgardcms.com/en/docs/getting-started/contributing)
- [License](LICENSE.md)

Info
----

[](#info)

All AsgardCMS modules respect [Semantic Versioning](http://semver.org/).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~506 days

Total

2

Last Release

2821d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97d293b3dd3a4e7655fb8b6c0245cb27adf9857bf3400df1730bbcf51d6be27a?d=identicon)[sagsoz06](/maintainers/sagsoz06)

---

Top Contributors

[![sagsoz06](https://avatars.githubusercontent.com/u/306175?v=4)](https://github.com/sagsoz06 "sagsoz06 (2 commits)")[![visualturk](https://avatars.githubusercontent.com/u/17029406?v=4)](https://github.com/visualturk "visualturk (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[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)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3164.5k](/packages/starcitizentools-citizen-skin)

PHPackages © 2026

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