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. [Utility &amp; Helpers](/categories/utility)
4. /
5. litecms/block

ActiveLavalite-package[Utility &amp; Helpers](/categories/utility)

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

Block package for litecms.

v10.1.1(2y ago)1755.2k↓88.9%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 today

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

42

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

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

1065d 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

[litecms/page

Page package for litecms.

1852.5k1](/packages/litecms-page)[litecms/contact

Contact package for litecms.

1654.3k1](/packages/litecms-contact)[kigkonsult/iptools

ipv4/ipv6 tools

1183.1k](/packages/kigkonsult-iptools)[friends-of-hyva/magento2-crawler-session

Prevent crawlers from creating a session

166.9k](/packages/friends-of-hyva-magento2-crawler-session)

PHPackages © 2026

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