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

ActiveLavalite-package

litecms/block
=============

Block package for litecms.

v10.1.1(2y ago)1754.5k↓27.5%2[1 PRs](https://github.com/Litecms/Block/pulls)1MITPHPPHP ^8.1

Since Apr 7Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Litecms/Block)[ Packagist](https://packagist.org/packages/litecms/block)[ RSS](/packages/litecms-block/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (35)Used By (1)

Lavalite package that provides block management facility for the cms.

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

[](#installation)

Run the below command form the root folder of lavalite.

```
    composer require "litecms/block"

```

Migration and seeds
-------------------

[](#migration-and-seeds)

```
    php artisan migrate
    php artisan db:seed --class=Litecms\\Block\\Seeders\\BlockTableSeeder

```

Publishing
----------

[](#publishing)

- Configuration

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

```

- Language

```
    php artisan vendor:publish --provider="Litecms\Block\Providers\BlockServiceProvider" --tag="lang"

```

- Views

```
    php artisan vendor:publish --provider="Litecms\Block\Providers\BlockServiceProvider" --tag="view"

```

URLs and APIs
-------------

[](#urls-and-apis)

### Web Urls

[](#web-urls)

- Admin

```
    http://path-to-route-folder/admin/block/{modulename}

```

- User

```
    http://path-to-route-folder/user/block/{modulename}

```

- Public

```
    http://path-to-route-folder/blocks

```

### API endpoints

[](#api-endpoints)

These endpoints can be used with or without `/api/`And also the user can be varied depend on the type of users, eg user, client, admin etc.

#### Resource

[](#resource)

- List

```
    http://path-to-route-folder/api/user/block/{modulename}
    METHOD: GET

```

- Create

```
    http://path-to-route-folder/api/user/block/{modulename}
    METHOD: POST

```

- Edit

```
    http://path-to-route-folder/api/user/block/{modulename}/{id}
    METHOD: PUT

```

- Delete

```
    http://path-to-route-folder/api/user/block/{modulename}/{id}
    METHOD: DELETE

```

#### Public

[](#public)

- List

```
    http://path-to-route-folder/api/block/{modulename}
    METHOD: GET

```

- Single Item

```
    http://path-to-route-folder/api/block/{modulename}/{slug}
    METHOD: GET

```

#### Others

[](#others)

- Report

```
    http://path-to-route-folder/api/user/block/{modulename}/report/{report}
    METHOD: GET

```

- Export/Import

```
    http://path-to-route-folder/api/user/block/{modulename}/exim/{exim}
    METHOD: POST

```

- Action

```
    http://path-to-route-folder/api/user/block/{modulename}/action/{id}/{action}
    METHOD: PATCH

```

- Actions

```
    http://path-to-route-folder/api/user/block/{modulename}/actions/{action}
    METHOD: PATCH

```

- Workflow

```
    http://path-to-route-folder/api/user/block/{modulename}/workflow/{id}/{transition}
    METHOD: PATCH

```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity83

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

Recently: every ~129 days

Total

33

Last Release

1019d ago

Major Versions

v3.0.4 → 4.0.42018-03-21

4.2.0 → v7.0.02020-12-04

7.x-dev → v8.0.02021-09-08

v8.0.5 → v9.0.02022-03-06

8.x-dev → v10.0.02023-06-29

PHP version history (7 changes)2.0.x-devPHP &gt;=5.6.4

v3.0.0PHP &gt;=7.0.0

4.0.1PHP ^7.1.3

7.x-devPHP ^7.2.5|^8.0

v8.0.0PHP ^7.3|^8.0

v9.0.0PHP ^8.0.2

8.x-devPHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1788735?v=4)[Renfos Technologies](/maintainers/Renfos)[@Renfos](https://github.com/Renfos)

---

Top Contributors

[![georgemjohn](https://avatars.githubusercontent.com/u/7950080?v=4)](https://github.com/georgemjohn "georgemjohn (57 commits)")

---

Tags

lavaliteblock

### Embed Badge

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

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

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[sonata-project/block-bundle

Symfony SonataBlockBundle

41627.1M103](/packages/sonata-project-block-bundle)[cybercog/laravel-ban

Laravel Ban simplify blocking and banning Eloquent models.

1.1k651.8k11](/packages/cybercog-laravel-ban)[rennokki/befriended

Eloquent Befriended brings social media-like features like following, blocking and filtering content based on following or blocked models.

76292.2k1](/packages/rennokki-befriended)[kartik-v/yii2-widget-alert

A widget to generate alert based notifications using bootstrap-alert plugin (sub repo split from yii2-widgets)

284.1M24](/packages/kartik-v-yii2-widget-alert)[skydiver/laravel-route-blocker

Block routes by IP

8272.4k](/packages/skydiver-laravel-route-blocker)

PHPackages © 2026

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