PHPackages                             yovanggaanandhika/laravel - 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. yovanggaanandhika/laravel

ActiveProject[Framework](/categories/framework)

yovanggaanandhika/laravel
=========================

The skeleton application for the Laravel framework.

v1.0.13(3mo ago)02MITPLpgSQLPHP ^8.2

Since Jul 4Pushed 3mo agoCompare

[ Source](https://github.com/DKA-Docker/LARAVELPINE-Template)[ Packagist](https://packagist.org/packages/yovanggaanandhika/laravel)[ RSS](/packages/yovanggaanandhika-laravel/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelogDependencies (19)Versions (15)Used By (0)

HND Logistech Web Application
=============================

[](#hnd-logistech-web-application)

[![Laravel](https://camo.githubusercontent.com/b72e0aa3b09f6ee9f1cd47f19792a8204408312803c6b277768a5d2c99ffd60c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d7265642e737667)](https://laravel.com)[![PHP](https://camo.githubusercontent.com/5fe05c705bf034839bda7651781e4d0a9d42f4a840478ca5e343873a0361bb89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d626c75652e737667)](https://php.net)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](https://opensource.org/licenses/MIT)

Sistem manajemen logistik dan pengiriman yang komprehensif dengan kemampuan pelacakan real-time.

🚀 Fitur Utama
-------------

[](#-fitur-utama)

- **🔐 Authentication &amp; Authorization**

    - Login/Logout dengan Laravel Sanctum
    - Role-based access control (Spatie Permission)
    - Firebase Cloud Messaging integration
- **📦 Delivery Management**

    - Create delivery requests dengan multiple destinations
    - Package management per destination
    - Task assignment ke drivers
    - Route optimization
    - Delivery history tracking
- **📍 Real-time Tracking**

    - GPS tracking dari mobile devices
    - Real-time location updates via WebSocket (Laravel Reverb)
    - Tracking alarms &amp; notifications
    - Mapbox integration untuk visualisasi
- **📊 Reporting**

    - Delivery reports dengan filter tanggal
    - Distance &amp; duration tracking
    - Task completion status
- **🗺️ Geographic Data**

    - Indonesia geographic hierarchy (Province → Regency → District → Village)
    - Address geocoding

🛠️ Tech Stack
-------------

[](#️-tech-stack)

### Backend

[](#backend)

- **Laravel 12** - PHP Framework
- **Laravel Sanctum** - API Authentication
- **Laravel Livewire 3.6** - Dynamic UI
- **Laravel Reverb** - WebSocket Server
- **Spatie Laravel Permission** - Role &amp; Permission Management
- **Firebase Cloud Messaging** - Push Notifications

### 🧠 Intelligent Architecture

[](#-intelligent-architecture)

Important

Project ini menggunakan standar arsitektur **"World-Class"** yang didokumentasikan di `.aicontext.md`.

- **Service Layer**: Manual Repo Instantiation, Strict Transactions.
- **Deep Migrations**: Folder-matching Table Names (`apps/deliveries/requests` -&gt; `apps_deliveries_requests`).
- **Frontend**: Strict JS Execution Guards &amp; Livewire Coupling.
- **Generative Rules**: Standardized "Scaffolding" for new modules.

Referensi Lengkap: **[.aicontext.md](./.aicontext.md)**

### Frontend

[](#frontend)

- **TypeScript** - Type-safe JavaScript
- **TypeScript** - Type-safe JavaScript
- **Vite** - Build Tool
- **TailwindCSS 4.0** - Utility-first CSS
- **Alpine.js** - Lightweight JavaScript
- **Mapbox GL** - Real-time Map Visualization
- **ApexCharts** - Data Visualization

### Database

[](#database)

- **SQLite** (Development)
- **PostgreSQL/MySQL** (Production Ready)

📋 Requirements
--------------

[](#-requirements)

- PHP &gt;= 8.2
- Composer
- Node.js &gt;= 18.x
- NPM/Yarn
- SQLite/PostgreSQL/MySQL

🚀 Installation
--------------

[](#-installation)

### 1. Clone Repository

[](#1-clone-repository)

```
git clone
cd WEB_LOGISTECH
```

### 2. Install Dependencies

[](#2-install-dependencies)

```
# Install PHP dependencies
composer install

# Install Node dependencies
npm install
# atau
yarn install
```

### 3. Environment Setup

[](#3-environment-setup)

```
# Copy environment file
cp .env.example .env

# Generate application key
php artisan key:generate
```

### 4. Database Setup

[](#4-database-setup)

```
# Run migrations
php artisan migrate

# (Optional) Seed database
php artisan db:seed
```

### 5. Build Assets

[](#5-build-assets)

```
# Development
npm run dev

# Production
npm run build
```

### 6. Run Application

[](#6-run-application)

```
# Development server
php artisan serve

# Atau gunakan composer script
composer run dev
```

Aplikasi akan berjalan di `http://localhost:8000`

📚 API Documentation
-------------------

[](#-api-documentation)

Dokumentasi API lengkap tersedia dalam format OpenAPI 3.0 dan Postman Collection.

### Quick Start

[](#quick-start)

#### Menggunakan Postman

[](#menggunakan-postman)

1. Import collection dari `docs/postman/HND-Logistech-API.postman_collection.json`
2. Import environment dari `docs/postman/HND-Logistech-Local.postman_environment.json`
3. Jalankan request **Login** untuk mendapatkan token
4. Token akan otomatis tersimpan dan siap digunakan

#### Menggunakan OpenAPI/Swagger

[](#menggunakan-openapiswagger)

```
# Install Swagger UI
npm install -g swagger-ui-watcher

# Run Swagger UI
cd docs/api
swagger-ui-watcher openapi.json
```

Buka browser di `http://localhost:8000`

### Dokumentasi Lengkap

[](#dokumentasi-lengkap)

- **[API Documentation](./docs/api/)** - OpenAPI 3.0 Specification
- **[Postman Collection](./docs/postman/)** - Ready-to-use Postman Collection
- **[Complete Documentation](./docs/)** - Overview semua dokumentasi

### API Endpoints

[](#api-endpoints)

#### Authentication

[](#authentication)

```
POST   /api/auth          # Login
GET    /api/auth          # Verify Token
DELETE /api/auth          # Logout

```

#### Delivery Management

[](#delivery-management)

```
GET    /api/dashboards/apps/deliveries/requests          # List Requests
POST   /api/dashboards/apps/deliveries/requests          # Create Request
PATCH  /api/dashboards/apps/deliveries/requests/{id}     # Update Request
DELETE /api/dashboards/apps/deliveries/requests/{id}     # Delete Request

GET    /api/dashboards/apps/deliveries/tasks             # List Tasks
GET    /api/dashboards/apps/deliveries/reports           # List Reports

```

#### Real-time Tracking

[](#real-time-tracking)

```
GET    /api/dashboards/apps/trackings/monitors           # List Monitors
POST   /api/dashboards/apps/trackings/monitors           # Create Monitor
GET    /api/dashboards/apps/trackings/alarms             # List Alarms

```

#### Account Management

[](#account-management)

```
GET    /api/dashboards/managements/accounts              # List Accounts (Admin)
GET    /api/base/accounts                                # Get Current Account
PATCH  /api/base/accounts/firebase                       # Update Firebase Token

```

🔐 Authentication
----------------

[](#-authentication)

API menggunakan Laravel Sanctum bearer token authentication.

### Login

[](#login)

```
curl -X POST "http://localhost:8000/api/auth" \
  -H "Content-Type: application/json" \
  -d '{
    "username": "admin",
    "password": "password123"
  }'
```

### Menggunakan Token

[](#menggunakan-token)

```
curl -X GET "http://localhost:8000/api/dashboards/apps/deliveries/requests" \
  -H "Authorization: Bearer {your-token}" \
  -H "Content-Type: application/json"
```

🧪 Testing
---------

[](#-testing)

```
# Run tests
php artisan test

# Run with coverage
php artisan test --coverage
```

📦 Deployment
------------

[](#-deployment)

### Production Build

[](#production-build)

```
# Build assets
npm run build

# Optimize Laravel
php artisan config:cache
php artisan route:cache
php artisan view:cache
```

### Docker (Optional)

[](#docker-optional)

```
# Development
docker-compose up -d

# Staging
docker-compose -f compose.staging.yml up -d
```

🔧 Development
-------------

[](#-development)

### Code Style

[](#code-style)

```
# PHP (Laravel Pint)
./vendor/bin/pint

# JavaScript/TypeScript (Prettier)
npm run format
```

### Database

[](#database-1)

```
# Create migration
php artisan make:migration create_table_name

# Run migrations
php artisan migrate

# Rollback
php artisan migrate:rollback

# Fresh migration with seed
php artisan migrate:fresh --seed
```

### Queue &amp; Jobs

[](#queue--jobs)

```
# Run queue worker
php artisan queue:work

# Run scheduler
php artisan schedule:work
```

### WebSocket (Reverb)

[](#websocket-reverb)

```
# Start Reverb server
php artisan reverb:start

# Development with watch
php artisan reverb:start --debug
```

📁 Project Structure
-------------------

[](#-project-structure)

```
WEB_LOGISTECH/
├── app/
│   ├── Console/         # Artisan commands
│   ├── Events/          # Event classes
│   ├── Http/
│   │   ├── Controllers/ # API & Web controllers
│   │   └── Middleware/  # Custom middleware
│   ├── Livewire/        # Livewire components
│   ├── Models/          # Eloquent models
│   ├── Repositories/    # Repository pattern
│   └── Services/        # Business logic
│
├── database/
│   ├── migrations/      # Database migrations
│   ├── seeders/         # Database seeders
│   └── factories/       # Model factories
│
├── docs/
│   ├── api/             # OpenAPI documentation
│   └── postman/         # Postman collection
│
├── resources/
│   ├── views/           # Blade templates
│   └── theme/           # Frontend assets
│
└── routes/
    ├── api.php          # API routes
    ├── web.php          # Web routes
    └── channels.php     # Broadcast channels

```

🤝 Contributing
--------------

[](#-contributing)

Contributions are welcome! Please follow these steps:

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

📄 License
---------

[](#-license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

👥 Team
------

[](#-team)

**HND Technology**

- Email:
- Website: [hndtech.com](https://hndtech.com)

🙏 Acknowledgments
-----------------

[](#-acknowledgments)

- [Laravel](https://laravel.com) - The PHP Framework
- [Livewire](https://livewire.laravel.com) - Dynamic UI
- [TailwindCSS](https://tailwindcss.com) - Utility-first CSS
- [Mapbox](https://mapbox.com) - Real-time Maps
- [Firebase](https://firebase.google.com) - Push Notifications

---

**Built with ❤️ by HND Technology Team**

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance80

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~15 days

Recently: every ~47 days

Total

14

Last Release

107d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7625b92c0aae568c562efe90a0db0d31f3b103aa8197fe3c267d1341f7efe309?d=identicon)[yovangga](/maintainers/yovangga)

---

Top Contributors

[![YovanggaAnandhika](https://avatars.githubusercontent.com/u/15067521?v=4)](https://github.com/YovanggaAnandhika "YovanggaAnandhika (491 commits)")[![ryancyber](https://avatars.githubusercontent.com/u/20018925?v=4)](https://github.com/ryancyber "ryancyber (52 commits)")

---

Tags

frameworklaravel

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/yovanggaanandhika-laravel/health.svg)

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)

PHPackages © 2026

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