PHPackages                             laymont/shicontstand - 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. laymont/shicontstand

ActiveLibrary

laymont/shicontstand
====================

:package\_description

1.0.0(3y ago)24[1 PRs](https://github.com/laymont/Shicontstand/pulls)MITPHPPHP ^8.0

Since Nov 10Pushed 3y ago2 watchersCompare

[ Source](https://github.com/laymont/Shicontstand)[ Packagist](https://packagist.org/packages/laymont/shicontstand)[ Docs](https://github.com/laymont/shicontstand)[ RSS](/packages/laymont-shicontstand/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (13)Versions (5)Used By (0)

Shicontstand
============

[](#shicontstand)

[![Latest Version on Packagist](https://camo.githubusercontent.com/56b8853f759e8560a5776a8c3dec9c76a9a9af70a11db610f77f4ae5e44f215c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61796d6f6e742f736869636f6e747374616e642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laymont/shicontstand)[![Total Downloads](https://camo.githubusercontent.com/ce8165646d847b1bd310bda5edbf50b17a4fd0fead019d5956b4b23e56105deb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61796d6f6e742f736869636f6e747374616e642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laymont/shicontstand)[![Build Status](https://camo.githubusercontent.com/6d236b3e7940679cceecfb53d77fac9b3d4451d565673b9988475db35b87d7e7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61796d6f6e742f736869636f6e747374616e642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laymont/shicontstand)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

The purpose of this package is to implement the ISO 6346 standard, which covers the coding, identification and marking of containers, used in intermodal freight transport. The standard establishes a visual identification system for every container that includes a unique serial number (with check digit), the owner, a country code, a size, type and equipment category as well as any operational marks.

Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
composer require laymont/shicontstand
```

Publish the config file with:

```
php artisan vendor:publish --tag="shicontstand-config"
```

This is the contents of the published config file:

> 1. ***You can alter tables name before run migrations., in tables section of next array***
> 2. ***Define the name of the property in your model that stores the number of the container, also defines the property that stores the iso code of the container***

```

```

publish and run the migrations with:

```
php artisan vendor:publis --tag="shicontstand-migrations"
```

Publish Seeders after migrations done

```
php artisan vendor:publis --tag="shicontstand-seeders"
```

Run seeders

```
php artisan db:seed --class=ShicontstandSeeder
```

It is recommended to update the routes cache

```
php artisan route:cache

```

Usage
-----

[](#usage)

In your container model add the trait

```
use Laymont\Shicontstand\Http\Traits\ScsAttributeTrait;

class Container extends Model
{
    use ScsAttributeTrait;
    ...
}
```

now when your model responds it will have a new attribute, called scs

```
{
    "id": 21,
    "number": "TLLU8328970",
    "iso_type": null,
    "created_at": null,
    "updated_at": null,
    "scs": {
        "is_container": true,
        "owner": "TLL",
        "category": "U",
        "serial": "832897",
        "digit_validations": {
            "is_valid": true,
            "digit_validator": 0
        }
    }
}
```

Facade Shicontstand
-------------------

[](#facade-shicontstand)

**Shicontstand::getTypeGroups();**

**Shicontstand::getTypeGroup($code);**

**Shicontstand::getSizeTypes();**

**Shicontstand::getSizeType($code);**

**Shicontstand::getLengthCodes();**

**Shicontstand::getLengthCode($code);**

**Shicontstand::getSizeCodes();**

**Shicontstand::getSizeCode($code);**

**Shicontstand::getTypeCodes();**

**Shicontstand::getTypeCode($code);**

Change log
----------

[](#change-log)

Please see the [changelog](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Laymont Arratia](https://github.com/laymont)
- \[All Contributors\]\[link-contributors\]

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

[link-contributors](contributing.md)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.6% 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

Unknown

Total

1

Last Release

1283d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fcdd090be983e93734294b788cdf18c525865502709f9074ac3d4c844429a3a6?d=identicon)[laymont](/maintainers/laymont)

---

Top Contributors

[![laymont](https://avatars.githubusercontent.com/u/13275422?v=4)](https://github.com/laymont "laymont (68 commits)")[![smedina-d](https://avatars.githubusercontent.com/u/19598414?v=4)](https://github.com/smedina-d "smedina-d (1 commits)")

---

Tags

laravelShicontstandISO 6346

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laymont-shicontstand/health.svg)

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

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

3786.5k](/packages/harris21-laravel-fuse)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)

PHPackages © 2026

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