PHPackages                             globalgarner/samplepackage - 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. globalgarner/samplepackage

ActiveLibrary[Framework](/categories/framework)

globalgarner/samplepackage
==========================

This is sample project for checking how packages are created in laravel.

09PHP

Since Apr 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/tanwar1998/sample_package)[ Packagist](https://packagist.org/packages/globalgarner/samplepackage)[ RSS](/packages/globalgarner-samplepackage/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

About Laravel
-------------

[](#about-laravel)

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

About Package
-------------

[](#about-package)

This package is a sample for creating laravel package, to make it easy for the development of large size project. As we now, packages are independent modules which performs a specific task. I created this project, to get understand the flow, for creating laravel packages.

Installation
------------

[](#installation)

```
For using custom package

```

1. Hit the command, after navigating to project directory. Composer require globalgarner/samplepackage
2. Add following lines

    " GlobalGarner\\Samplepackage\\SampleProjectServiceProvider::class "

    To the config/app.php file, in providers array
3. Then hit the following command php artisan vendor:publish

    Then you would be asked to a number next to SampleProjectServiceProvider, enter that number, and press `Enter`
4. Open project in browser, and go to path '/sample', you would see the text 'hii my tester'.

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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/fc8b31e0427935f0004337e38664ee6c6f78bc6695b69ff806b9e3550622d308?d=identicon)[tanwar1998vineet](/maintainers/tanwar1998vineet)

---

Top Contributors

[![tanwar1998](https://avatars.githubusercontent.com/u/44528988?v=4)](https://github.com/tanwar1998 "tanwar1998 (1 commits)")

### Embed Badge

![Health badge](/badges/globalgarner-samplepackage/health.svg)

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

###  Alternatives

[laravel/dusk

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

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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