PHPackages                             unusualdope/front-laravel-ecommerce - 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. [Framework](/categories/framework)
4. /
5. unusualdope/front-laravel-ecommerce

ActiveLibrary[Framework](/categories/framework)

unusualdope/front-laravel-ecommerce
===================================

Frontend package for Laravel ecommerce with FrontController and UrlMapper

04PHP

Since Feb 26Pushed 2mo agoCompare

[ Source](https://github.com/geimsdin/udcommerce-front)[ Packagist](https://packagist.org/packages/unusualdope/front-laravel-ecommerce)[ RSS](/packages/unusualdope-front-laravel-ecommerce/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

ud-front-laravel-ecommerce
==========================

[](#ud-front-laravel-ecommerce)

Frontend package for Laravel ecommerce: FrontController, UrlMapper (CRUD), and URL-based controller registration.

Dependency
----------

[](#dependency)

- `unusualdope/laravel-ecommerce` (for Language model and `languages` table)

Install
-------

[](#install)

```
composer require unusualdope/front-laravel-ecommerce
```

Config
------

[](#config)

Publish config (optional):

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

Or add to `config/ud-front-ecommerce.php`:

- `admin_route_prefix` – admin route prefix (Url Mapper CRUD). Set same as `ud-ecommerce.admin_route_prefix` to share admin menu.
- `admin_middleware` – admin route middleware.
- `front_route_prefix` – front URL prefix (catch-all), example: `shop` → `/shop/{path}`.
- `front_middleware` – front route middleware.
- `front_controllers` – additional controller array: `['Name' => FQCN::class]`.
- `language_model` – Language model FQCN (default: from ecommerce).

Migration
---------

[](#migration)

```
php artisan migrate
```

Creates tables:

- `class_list` – stores controller list (front\_controller, payment\_gateway)
- `url_mapper` – friendly URL mapping per language to controller

Usage
-----

[](#usage)

1. **Url Mapper (admin)**Go to `/{admin_route_prefix}/url-mapper` (e.g. `/admin/ecommerce/url-mapper`). Click "Scan Classes" to automatically discover controllers, then "Manage URLs" to set friendly URL per language.
2. **Front**Front URL: `/{front_route_prefix}/{path}` (e.g. `/shop/product`, `/shop/en/product`). First segment can be locale (iso\_code) then friendly\_url, or directly friendly\_url with default language.
3. **Add front controller**

    - **Automatic**: Click "Scan Classes" button in Url Mapper page to automatically discover controllers.
    - **Via config**: Add to `config/ud-front-ecommerce.php`: ```
        'front_controllers' => [
            'Category' => \App\Http\Controllers\Front\CategoryController::class,
        ],
        ```
    - **Via code**: In `AppServiceProvider::boot()`: ```
        use Unusualdope\FrontLaravelEcommerce\Models\ClassList;
        ClassList::register('Category', \App\Http\Controllers\Front\CategoryController::class, 'front_controller');
        ```

    Controller must have method: `handle(Request $request, string $slug = '')`.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance57

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/5653ff5432abd53feee2b3ff11fe02098b9d6fe9175ea66296325d6d5b529244?d=identicon)[geimsdin](/maintainers/geimsdin)

---

Top Contributors

[![muh-hidayaat](https://avatars.githubusercontent.com/u/115838871?v=4)](https://github.com/muh-hidayaat "muh-hidayaat (12 commits)")[![rozindzakwan](https://avatars.githubusercontent.com/u/108184265?v=4)](https://github.com/rozindzakwan "rozindzakwan (6 commits)")

### Embed Badge

![Health badge](/badges/unusualdope-front-laravel-ecommerce/health.svg)

```
[![Health](https://phpackages.com/badges/unusualdope-front-laravel-ecommerce/health.svg)](https://phpackages.com/packages/unusualdope-front-laravel-ecommerce)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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