Download the PHP package fleetbase/storefront-api without Composer

On this page you can find all versions of the php package fleetbase/storefront-api. 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 storefront-api

Fleetbase Storefront

Logistics-first headless commerce and marketplace infrastructure for Fleetbase.

Documentation | GitHub | Platform Overview | Fleetbase

License: AGPL-3.0-or-later PHP ^8.0 Node >=18 Ember Engine


Fleetbase Storefront dashboard

Overview

Storefront is the commerce extension for Fleetbase. It combines a Laravel API package with an Ember engine for the Fleetbase Console, giving operators the tools to manage stores, products, carts, checkout, customers, marketplace networks, and fulfillment workflows from one logistics-native system.

Unlike a generic e-commerce plugin, Storefront is built around the handoff from purchase to delivery. A checkout can create Fleet-Ops orders, attach storefront order metadata, expose customer and commerce details in the Fleetbase Console, and keep operators close to the real delivery lifecycle.

Read the official guide at fleetbase.io/docs/storefront.

Features

Architecture

This repository contains both sides of the Storefront extension:

Area Path Purpose
Ember engine addon/, app/, config/, translations/ Fleetbase Console UI, routes, models, components, services, widgets, and translations.
Laravel API server/src/, server/config/, server/migrations/ Storefront API controllers, models, resources, middleware, providers, observers, notifications, jobs, and database migrations.
Tests tests/, server/tests/ Ember integration tests and backend test scaffolding.

The Ember package is published as @fleetbase/storefront-engine. The Laravel package is published as fleetbase/storefront-api.

Console Modules

Storefront registers a Console entry under the storefront route and exposes these primary work areas:

API Surface

Storefront exposes two API families.

Public Storefront API

The public customer-facing API is mounted under storefront/v1 and protected by Storefront API middleware. It includes:

Internal Console API

The protected internal API is mounted under storefront/int/v1. It powers the Fleetbase Console and includes:

Getting Started

Storefront is designed to run inside a Fleetbase installation with fleetbase/core-api and fleetbase/fleetops-api available.

Requirements

Install Dependencies

Backend Package

Frontend Package

Development

For the full local Fleetbase workflow, see the Fleetbase Development Setup guide. That guide covers cloning the main repository with submodules, mounting live package source, linking extensions, running the Console dev server, and reloading the API after backend changes.

Use Local Storefront Source in Fleetbase

When developing Storefront inside the Fleetbase monorepo, run the package linker from the repository root so the local packages/storefront source replaces the published Storefront packages used by Console and API:

The linker updates the local Console and API manifests for development. To inspect the current link state:

If the linker is not installed yet, install it once from the Fleetbase repository root:

After linking backend package changes, reload the running API worker so Laravel Octane picks up PHP changes:

For frontend changes, run the Fleetbase Console dev server as described in the development setup guide; linked Ember packages are watched and live-reloaded by the dev server.

Package Commands

Run the Ember engine locally:

Build the Ember engine:

Run frontend lint and tests:

Run backend checks:

Configuration

Storefront configuration is provided through the Laravel package config files and environment variables:

Important environment variables include:

Variable Purpose
STOREFRONT_DB_CONNECTION Database connection name for Storefront models.
STOREFRONT_BYPASS_VERIFICATION_CODE Development bypass code for Storefront app verification flows.
STOREFRONT_THROTTLE_REQUESTS_PER_MINUTE Public Storefront API request limit.
STOREFRONT_THROTTLE_DECAY_MINUTES Public Storefront API throttle decay window.

For customer app configuration, see the Storefront App configuration docs.

Documentation

Contributing

Storefront follows the same review expectations as the rest of Fleetbase:

See CONTRIBUTING.md for general contribution guidance.

License

Fleetbase Storefront is open-source software licensed under the AGPL-3.0-or-later.


All versions of storefront-api with dependencies

PHP Build Version
Package Version
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 fleetbase/storefront-api contains the following files

Loading the files please wait ...