Download the PHP package salines/parcelbridge without Composer

On this page you can find all versions of the php package salines/parcelbridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package parcelbridge

ParcelBridge: CakePHP 5 App for Package Forwarding and Shipment Workflows

CI PHP CakePHP

ParcelBridge is an open-source CakePHP 5 starter application for developers building package forwarding, warehouse intake, invoice review, ship request, and shipment tracking workflows.

The project is designed as a backend-first starting point, not as a finished SaaS product. Its focus is a solid CakePHP 5 structure, database schema, business workflow logic, authorization, API endpoints, and automated tests. The user interface is intentionally minimal and scaffold/mockup-style, so the workflow can be tested, extended, and adapted quickly for a specific business case.

The application covers the core logistics flow: receiving packages at a warehouse, linking packages to clients, uploading invoices, reviewing and approving invoices, creating ship requests, processing outbound shipments, and tracking package status through pickup or delivery.

The starter kit includes authentication, role-based access for administrators and clients, authorization policies, CakePHP ORM models, database migrations, PHP enums with i18n-ready labels, API-prefixed controllers, OpenAPI/Swagger documentation, CSV/PDF generation, and tests for the critical business logic.

ParcelBridge is intended for developers who want a practical foundation for a custom logistics system without having to build the initial architecture, security model, and workflow rules from scratch.

Stack

The project was created from the official cakephp/app skeleton. DDEV is used so the reviewer can run the same local LAMP-style environment without manual PHP, Apache, or database setup.

Installation

Prerequisites:

Via Composer (recommended)

Via Git clone

Start DDEV:

The project has a DDEV post-start hook that automatically runs dependency installation, database migrations, and demo seed data when the database is empty. The seed is skipped on later starts if users already exist.

Manual setup commands are still available if you want to run them explicitly:

To reset the demo data intentionally, run:

Open the app:

If DDEV reports that the same project root was previously registered under another project name, unlist the old project name and start again:

Demo Accounts

Admin:

Client:

MVP Workflow

Admin portal:

Client portal:

Seed Data

InitSeed creates:

Demo invoice files are intentionally small PDF files committed with the MVP so the admin invoice “Open File” flow works immediately after seeding.

Documents and Exports

Invoice files are private application documents, not public web assets. They are stored outside webroot under:

The committed demo invoice PDFs live in the same private resources folder so the seeded invoice review flow works immediately after checkout. Uploaded invoice files use the same storage location and are served only through authorized controller actions.

The app also generates operational documents dynamically:

PDF generation uses friendsofcake/cakepdf with dompdf/dompdf so the feature works inside DDEV without installing external binaries. CSV generation uses friendsofcake/cakephp-csvview, which follows CakePHP view-class conventions instead of hand-building CSV strings in controllers.

Client CSV exports are scoped through Authorization policy scopes, so clients only export their own records. Admin exports include all matching records.

Domain Model

Main tables:

The initial schema is defined in:

Enums are defined in:

Enum labels are i18n-ready via label() methods using CakePHP __().

Authentication and Authorization

Authentication uses cakephp/authentication.

Authorization uses cakephp/authorization with:

Clients are scoped to their own packages, invoices, and ship requests. Admin users can access the admin portal and manage the MVP workflow.

API Documentation

The API is documented with a local OpenAPI spec and local Swagger UI assets.

The API currently uses the same session authentication as the CakePHP app. In Swagger UI, call POST /api/login first, then use the other endpoints in the same browser session.

Workflow Integrity

Package status transitions are enforced server-side in:

Ship request submission rules are enforced server-side in:

Covered behavior includes:

Tests

Run the test suite:

Run static analysis:

Run code style checks:

Automatically fix supported code style issues:

Known Limitations

License

ParcelBridge is open-source software licensed under the MIT License. See LICENSE.


All versions of parcelbridge with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
cakephp/authentication Version ^4.1
cakephp/authorization Version ^3.5
cakephp/cakephp Version 5.3.*
cakephp/migrations Version ^5.0
cakephp/plugin-installer Version ^2.0
dompdf/dompdf Version ^3.0
friendsofcake/cakepdf Version ^5.1
friendsofcake/cakephp-csvview Version ^5.0
friendsofcake/search Version ^7.8
josegonzalez/cakephp-upload Version ^8.1
mobiledetect/mobiledetectlib Version ^4.8.03
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package salines/parcelbridge contains the following files

Loading the files please wait ...