PHPackages                             rayiumir/laravel-package - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rayiumir/laravel-package

ActivePackage[Utility &amp; Helpers](/categories/utility)

rayiumir/laravel-package
========================

 Easy creation with Laravel package.

v1.1.0(11mo ago)1691[1 issues](https://github.com/LaraPire/laravel-package/issues)MITPHPPHP ^8.0

Since Apr 14Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/LaraPire/laravel-package)[ Packagist](https://packagist.org/packages/rayiumir/laravel-package)[ RSS](/packages/rayiumir-laravel-package/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Laravel Package
===============

[](#laravel-package)

A Laravel package generator that streamlines the process of creating standardized package structures. Quickly bootstrap your packages with a complete, well-organized structure and focus on building functionality rather than configuration.

Features
--------

[](#features)

- Generates a complete Laravel package structure with a single command
- Creates standard Laravel package directories (config, migrations, views, etc.)
- Sets up composer.json with proper autoloading and dependencies
- Creates a Service Provider with common Laravel integrations pre-configured
- Includes testing setup with PHPUnit
- Generates license, readme, and other essential files

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

[](#installation)

You can install the package via composer:

```
composer require rayiumir/laravel-package
```

After Publish Config Files:

```
php artisan vendor:publish --provider="Rayiumir\LaravelPackage\ServiceProvider\PackageServiceProvider"

```

The service provider will be automatically registered for Laravel 5.5+. For older versions, add the service provider manually:

```
// config/app.php

'providers' => [
    Rayiumir\LaravelPackage\ServiceProvider\PackageServiceProvider::class,
];
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

Generate a new package with the following command:

```
php artisan make:package my-package
```

This will create a new package in the `packages/my-package` directory with the default vendor name.

### Customizing the Vendor Name

[](#customizing-the-vendor-name)

You can specify a custom vendor name:

```
php artisan make:package my-package --vendor=acme
```

### Including Tests

[](#including-tests)

To include PHPUnit test setup:

```
php artisan make:package my-package --with-tests
```

Generated Structure
-------------------

[](#generated-structure)

The generated package will have the following structure:

```
packages/my-package/
├── config/
├── database/
│   └── migrations/
├── resources/
│   ├── lang/
│   └── views/
├── routes/
├── ServiceProvider/
│   └── PackageNameServiceProvider.php
├── tests/ (if --with-tests option is used)
│   ├── Feature/
│   ├── Unit/
│   └── TestCase.php
├── composer.json
├── LICENSE.md
├── README.md
└── phpunit.xml

```

Next Steps After Generation
---------------------------

[](#next-steps-after-generation)

After generating your package, you might want to:

1. Edit the `composer.json` file to update package details and requirements
2. Modify the Service Provider to add any specific functionality
3. Update the README.md with your package documentation
4. Add your migrations, routes, and views
5. Create your package's main classes in the `src` directory
6. If you used the `--with-tests` option, start writing tests for your package

### Local Development

[](#local-development)

When developing the package locally within a Laravel application, you can add the repository to your application's `composer.json`:

```
"repositories": [
    {
        "type": "path",
        "url": "./packages/my-package"
    }
]
```

### Testing Your Package

[](#testing-your-package)

If you generated your package with the `--with-tests` option, you can run tests with:

```
cd packages/my-package
composer install
vendor/bin/phpunit
```

Publishing Your Package
-----------------------

[](#publishing-your-package)

Once your package is ready, you can publish it to Packagist:

1. Push your package to GitHub or another Git repository
2. Register your package on [Packagist](https://packagist.org/)
3. Set up webhooks for automatic updates when you push changes

Screenshots
===========

[](#screenshots)

   Command Install Folders and Files      [![Command Install](./Screenshot/PackageOne.png)](./Screenshot/PackageOne.png)   [![Folders and Files](./Screenshot/PackageTwo.png)](./Screenshot/PackageTwo.png)   Contributing
============

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

Support
=======

[](#support)

If you have any questions or need help, please:

- Open an issue on GitHub

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance50

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.8% 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 ~18 days

Total

4

Last Release

344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3917cc222ba14e6cbe11cb61f322d7b428fc3db06c8d285ebd2ada102156d13c?d=identicon)[Rayium](/maintainers/Rayium)

---

Top Contributors

[![Rayiumir](https://avatars.githubusercontent.com/u/11635923?v=4)](https://github.com/Rayiumir "Rayiumir (23 commits)")[![itashia](https://avatars.githubusercontent.com/u/203550694?v=4)](https://github.com/itashia "itashia (1 commits)")

---

Tags

laravellaravel-applicationlaravel-frameworklaravel-packagelaravel-package-generationpackage-creationpackage-generationpackage-managerlaravellaravel-packageeasy packagelaravel package package

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[erag/laravel-pwa

A simple and easy-to-use PWA (Progressive Web App) package for Laravel applications.

16083.3k](/packages/erag-laravel-pwa)[waad/laravel-profanity-filter

Laravel Profanity Filter - Powerful PHP package for detecting, filtering, and masking profanity in multiple languages. Supports leet speak, custom word lists, case sensitivity, and seamless Laravel integration.

202.9k](/packages/waad-laravel-profanity-filter)

PHPackages © 2026

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