This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
If any of the following are applicable to your project, then the directory structure should follow industry best practises by being named the following.
bin/
config/
src/
tests/
vendor/
Via Composer
$ composer require [email protected]:Dialect/Unifaun.git
in config/app,php
$providers = [ ...
Dialect\Unifaun\UnifaunServiceProvider::class,
..];
###Create shipment
$shipment = Unifaun::shipment()
->pdfConfig("laser-a4", 0, 0)
->sender("Markus Strömgren", "Torpvägen 12", 64134, "Katrineholm", "SE", "+46709459777", "[email protected]")
->receiver("Andreas Strömgren", "Köpmangatan 5", 64130, "Katrineholm", "SE", "+46709459777", "[email protected]")
->addSenderPartners("PLAB", "0000000000")
->senderReference("Thomas Söderlind")
->receiverReference("Fredrik Bentzer")
->orderNo("1337")
->addParcel("Shipment1", 1, 1)
->addParcel("Shipment2",1,1)
->service("P15")
->create();
###Store shipment
$shipment = Unifaun::shipment()
->sender("Markus Strömgren", "Torpvägen 12", 64134, "Katrineholm", "SE", "+46709459777", "[email protected]")
->receiver("Andreas Strömgren", "Köpmangatan 5", 64130, "Katrineholm", "SE", "+46709459777", "[email protected]")
->addSenderPartners("PLAB", "0000000000")
->senderReference("Thomas Söderlind")
->receiverReference("Fredrik Bentzer")
->orderNo("1337")
->addParcel("Shipment1", 1, 1)
->addParcel("Shipment2",1,1)
->service("P15")
->store();
###PDF example
$shipment = Unifaun::shipment()
->sender("Markus Strömgren", "Torpvägen 12", 64134, "Katrineholm", "SE", "+46709459777", "[email protected]")
->receiver("Andreas Strömgren", "Köpmangatan 5", 64130, "Katrineholm", "SE", "+46709459777", "[email protected]")
->addSenderPartners("PLAB", "0000000000")
->senderReference("Thomas Söderlind")
->receiverReference("Fredrik Bentzer")
->orderNo("1337")
->addParcel("Shipment1", 1, 1)
->addParcel("Shipment2",1,1)
->service("P15")
->create();
$pdf = $shipment->getLabelPDF();
return $pdf->download();
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.