PHPackages                             nextpack/nextpack - 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. nextpack/nextpack

ActiveLibrary[Framework](/categories/framework)

nextpack/nextpack
=================

Nextpack is a PHP Packages Framework (Starter Project)

v1.0.0(9y ago)852125[1 PRs](https://github.com/nextpack/nextpack/pulls)MITPHPPHP &gt;=5.4.0

Since Jun 2Pushed 3y ago4 watchersCompare

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

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

Nextpack (light)
================

[](#nextpack-light)

[![Latest Stable Version](https://camo.githubusercontent.com/0a605a6b53b11f57f53c279402e93a36eee0066bd52ba617dc0fe538126ff4e9/68747470733a2f2f706f7365722e707567782e6f72672f6e6578747061636b2f6e6578747061636b2f762f737461626c65)](https://packagist.org/packages/nextpack/nextpack)[![License](https://camo.githubusercontent.com/2612ca27f383a2f6535995ba72ea021a7f9748483bd944ef45e07f6628918b15/68747470733a2f2f706f7365722e707567782e6f72672f6e6578747061636b2f6e6578747061636b2f6c6963656e7365)](https://packagist.org/packages/nextpack/nextpack)[![Mahmoud Zalt](https://camo.githubusercontent.com/e9d7ee55a0c66b60aaa1bf6333e7186c0c9041b43abdc9687eda78c60d8bb26d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f417574686f722d4d61686d6f75642532305a616c742d6f72616e67652e737667)](http://www.zalt.me)

**NextPack** is a PHP &amp; Laravel Packages Starter, (Designed to help building high quality PHP Packages faster).

> Clone NextPack and build your next open source package on top of it.

**NextPack** strives to facilitates and boosts the development process of PHP Packages. And it highly recommend producing framework agnostic packages.

Produce more open source composer packages with the least amount of time.

[![](https://camo.githubusercontent.com/a6d0daff0783b61c5f2ef62faf1093c5e97d730586bb9997e65717e46ff8707f/68747470733a2f2f7333322e706f7374696d672e6f72672f6432666c65723471642f6e6578745f7061636b5f6c6f676f5f737175617265645f76322e706e67)](https://camo.githubusercontent.com/a6d0daff0783b61c5f2ef62faf1093c5e97d730586bb9997e65717e46ff8707f/68747470733a2f2f7333322e706f7374696d672e6f72672f6432666c65723471642f6e6578745f7061636b5f6c6f676f5f737175617265645f76322e706e67)

Highlights
----------

[](#highlights)

**Nextpack includes:**

- **Rich package skeleton**, (containing common files required by almost every PHP package)
- Ready **Unit Test**
- Ready **config files reader**
- Ready **Servie Provider** (for Laravel)
- Ready **Facade Class** (for Laravel)
- Version Control: **Git** (`.gitattributes`, `.gitignore`)
- Continuous Integration: **Travis** and **Scrutinizer** (`.scrutinizer.yml`, `.travis.yml`)
- Testing: **PHPUnit** (`phpunit.xml`)
- Package Manager: **Composer** (`composer.json`)

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

[](#installation)

##### Software Requirement

[](#software-requirement)

- Git
- Composer

##### Installation Steps

[](#installation-steps)

1. `git clone https://github.com/nextpack/nextpack.git`
2. `composer update`
3. make sure everything is OK by running the tests `phpunit`

Customization
-------------

[](#customization)

After you install a fresh copy of Nextpack, the only thing you need to do is customizing it to meet your needs, before start codig your package.

The steps include renaming the code samples shipped with the Nextpack:

1. Change the namespace of the application from `Nextpack\Nextpack` to your `Vendor-name\Package-name`. *(you can do this using the \[Replace All\] feature of your IDE).*
2. Update the following values in `composer.json`: `name`, `description`, `keywords`, `authors`, `autoload` and don't forget to update the `namespaces`. (you might need to run `composer dump-autoload` after the changes).
3. Run `composer install`
4. Rename `SampleFacadeAccessor.php` and update the returned string inside the `getFacadeAccessor()` function.
5. Rename `NextpackServiceProvider` and update the content of the following functions: `facadeBindings()`, `configPublisher()` and `implementationBindings()`.
6. Update the config file `nextpack.php`, (or remove it if not necessary).
7. Delete this `README.md` file. And rename the `README.md.READY` to `README.md`.
8. Update `LICENSE` by replacing `::Vendor-Name` and `::Package-Name` with your vendor and package names.
9. Edit the new `README.md`
10. Delete the sample `tests` function. Keep the `TestCase.php`.
11. Update the "testsuite" name in the `phpunit.xml`.

Test
----

[](#test)

To run the tests, run the following command from the project folder.

```
$ ./vendor/bin/phpunit
```

Credits
-------

[](#credits)

- [Mahmoud Zalt](https://github.com/Mahmoudz)

License
-------

[](#license)

The MIT License (MIT). See the [License File](https://github.com/nextpack/nextpack/blob/master/LICENSE) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

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

Every ~415 days

Total

2

Last Release

3588d ago

Major Versions

v0.1.0 → v1.0.02016-07-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/28e3096ef1cc86da63cc85628e13607ea3ec844a70d7bb1b49f34d99e0b92187?d=identicon)[Mahmoudz](/maintainers/Mahmoudz)

---

Top Contributors

[![Mahmoudz](https://avatars.githubusercontent.com/u/1983984?v=4)](https://github.com/Mahmoudz "Mahmoudz (20 commits)")

---

Tags

starterNextPack

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

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