PHPackages                             aleksandro\_del\_piero/repository - 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. aleksandro\_del\_piero/repository

ActiveLibrary[Framework](/categories/framework)

aleksandro\_del\_piero/repository
=================================

Package for creating repository files for Laravel

1.0.0(2y ago)010MITPHP

Since Dec 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/aleksandro-del-piero/repository)[ Packagist](https://packagist.org/packages/aleksandro_del_piero/repository)[ RSS](/packages/aleksandro-del-piero-repository/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

A simple package for generating repositories in Laravel
=======================================================

[](#a-simple-package-for-generating-repositories-in-laravel)

This is a simple package for generating repository files in Laravel

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

[](#installation)

You can install the package via composer:

```
composer require aleksandro_del_piero/repository
```

Publish configuration file (required)\*!. If you do not publish the configuration file, the files will be created in the directory App/.

```
php artisan vendor:publish --provider=AleksandroDelPiero\Repository\RepositoryServiceProvider
```

Documentation
-------------

[](#documentation)

```
// Create new repository for model User
php artisan make:repository UserRepository --model=User

// Or create new repository for model User
php artisan make:repository UserRepository

After this you will need to specify the model name:
Specify the name of the model:
 > User
```

By default, all files will be created along the path App/Repositories. But this can be changed in the configuration file config/repositories.php.

```
return [
    'namespace' => '\\Repositories'
];
```

As an example, you can change the directory to Libs/Repsitories

```
return [
    'namespace' => '\\Libs\\Repositories'
];
```

After changing the configuration file, it is advisable to run the command to clear the cache:

```
php artisan optimize:clear
```

License
-------

[](#license)

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

886d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/251c6184057037d957cd699a3b0217c8ee4c18adc55c6fc1cf3f546a94805658?d=identicon)[aleksandro-del-piero](/maintainers/aleksandro-del-piero)

---

Top Contributors

[![aleksandro-del-piero](https://avatars.githubusercontent.com/u/57940924?v=4)](https://github.com/aleksandro-del-piero "aleksandro-del-piero (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aleksandro-del-piero-repository/health.svg)

```
[![Health](https://phpackages.com/badges/aleksandro-del-piero-repository/health.svg)](https://phpackages.com/packages/aleksandro-del-piero-repository)
```

###  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)
