PHPackages                             curder/laravel-package-demo - 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. curder/laravel-package-demo

ActiveLibrary

curder/laravel-package-demo
===========================

laravel-package-demo

0222PHP

Since Mar 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/curder/laravel-package-demo)[ Packagist](https://packagist.org/packages/curder/laravel-package-demo)[ RSS](/packages/curder-laravel-package-demo/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-package-demo
====================

[](#laravel-package-demo)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d7b2151056972eff5c231d741f990ada3f66bf9fff8cfb860c94d053f0d6c3f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6375726465722f6c61726176656c2d7061636b6167652d64656d6f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/curder/laravel-package-demo)[![GitHub Tests Action Status](https://camo.githubusercontent.com/286a0bb7e8988c50d24fd76a05ef8cfa4e47d6eba042dc8dc04b336f2f81ecd8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6375726465722f6c61726176656c2d7061636b6167652d64656d6f2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/curder/laravel-package-demo/actions?query=workflow%3ATests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/f274f8b187a1a0431b049339b24ff163567e16ff38360e78ce7518dc6fb5316e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6375726465722f6c61726176656c2d7061636b6167652d64656d6f2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/curder/laravel-package-demo/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/aac42c709b337fa5b3d966f11ba7995963e2123506650d805fe4b0405fc0d040/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6375726465722f6c61726176656c2d7061636b6167652d64656d6f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/curder/laravel-package-demo)

This is a laravel package, and it is a demo for study.

- laravel命令行测试 [curder/laravel-console-command-test-demo](https://github.com/curder/laravel-console-command-test-demo)
- php 拓展包 [curder/php-package-demo](https://github.com/curder/php-package-demo)

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

[](#installation)

You can install the package via composer:

```
composer require curder/laravel-package-demo
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="Curder\LaravelPackageDemo\LaravelPackageDemoServiceProvider" --tag="laravel-package-demo-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Curder\LaravelPackageDemo\LaravelPackageDemoServiceProvider" --tag="laravel-package-demo-config"
```

This is the contents of the published config file:

```
return [
    /**
     * This is the text what will be output by the package command.
     */
    'command_output_text' => 'Hi from command',

    'another_option' => 'Another value',
];
```

You can publish the view files with:

```
php artisan vendor:publish --provider="Curder\LaravelPackageDemo\LaravelPackageDemoServiceProvider" --tag="laravel-package-demo-views"
```

Usage
-----

[](#usage)

customize route prefix, you should in routes of application

```
use Illuminate\Support\Facades\Route;

Route::laravelPackageDemo('your/customize/prefix');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [curder](https://github.com/curder)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

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/ac3547ee60617679402b2600ba12a0ac0d213d4ba867952782576e456e9c3149?d=identicon)[curder](/maintainers/curder)

---

Top Contributors

[![curder](https://avatars.githubusercontent.com/u/8327004?v=4)](https://github.com/curder "curder (15 commits)")

### Embed Badge

![Health badge](/badges/curder-laravel-package-demo/health.svg)

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

PHPackages © 2026

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