Download the PHP package laymont/shicontstand without Composer
On this page you can find all versions of the php package laymont/shicontstand. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laymont/shicontstand
More information about laymont/shicontstand
Files in laymont/shicontstand
Package shicontstand
Short Description :package_description
License MIT
Homepage https://github.com/laymont/shicontstand
Informations about the package shicontstand
Shicontstand
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 to see a to do list.
Installation
Via Composer
Publish the config file with:
This is the contents of the published config file:
- You can alter tables name before run migrations., in tables section of next array
- 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:
Publish Seeders after migrations done
Run seeders
It is recommended to update the routes cache
Usage
In your container model add the trait
now when your model responds it will have a new attribute, called scs
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
Please see the changelog for more information on what has changed recently.
Testing
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Laymont Arratia
- [All Contributors][link-contributors]
License
MIT. Please see the license file for more information.
link-contributors