PHPackages                             nunophp/style - 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. nunophp/style

ActiveLibrary

nunophp/style
=============

A Laravel package to set up new projects with Nuno Maduro's recommended tools and configurations.

v1.0.0(1y ago)12MITPHPPHP ^8.3|^8.4CI passing

Since Feb 23Pushed 1y agoCompare

[ Source](https://github.com/nunophp/style)[ Packagist](https://packagist.org/packages/nunophp/style)[ Fund](https://www.paypal.com/paypalme/enunomaduro)[ GitHub Sponsors](https://github.com/nunomaduro)[ RSS](/packages/nunophp-style/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

 [![Skeleton Php](https://private-user-images.githubusercontent.com/65981238/415996495-0f373666-c7b5-43c6-a4ea-6308080d3a8d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxNjQzMDUsIm5iZiI6MTc3NTE2NDAwNSwicGF0aCI6Ii82NTk4MTIzOC80MTU5OTY0OTUtMGYzNzM2NjYtYzdiNS00M2M2LWE0ZWEtNjMwODA4MGQzYThkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAyVDIxMDY0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhNGI4NTllNWJlMGExYzY1NDAzMTY0ZGYyOWRmODU2ODBmMzljZGQ2MzA4MGQzODhkNGY2MTIwYjNhZmU1YjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yHal_VhaeyxKzCuVZDdLmBU3Y4o8B4RWA_WNaYwrkRw)](https://private-user-images.githubusercontent.com/65981238/415996495-0f373666-c7b5-43c6-a4ea-6308080d3a8d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxNjQzMDUsIm5iZiI6MTc3NTE2NDAwNSwicGF0aCI6Ii82NTk4MTIzOC80MTU5OTY0OTUtMGYzNzM2NjYtYzdiNS00M2M2LWE0ZWEtNjMwODA4MGQzYThkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAyVDIxMDY0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhNGI4NTllNWJlMGExYzY1NDAzMTY0ZGYyOWRmODU2ODBmMzljZGQ2MzA4MGQzODhkNGY2MTIwYjNhZmU1YjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yHal_VhaeyxKzCuVZDdLmBU3Y4o8B4RWA_WNaYwrkRw)

 [![GitHub Workflow Status (master)](https://github.com/nunophp/style/actions/workflows/tests.yml/badge.svg)](https://github.com/nunophp/style/actions) [![Total Downloads](https://camo.githubusercontent.com/8cc423ccf06689c0530c3e379835d27e0e859e8a2f64cf108e1117c7deb87d3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e756e6f7068702f7374796c65)](https://packagist.org/packages/nunophp/style) [![Latest Version](https://camo.githubusercontent.com/002c15be7f9d56912b301aabbbf484c76984d84b6ab714ce7693d672a3b70afa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e756e6f7068702f7374796c65)](https://packagist.org/packages/nunophp/style) [![License](https://camo.githubusercontent.com/36ce6fd92f2ad70118533815008e3d308a37399ea9f74fde41293273865939f8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e756e6f7068702f7374796c65)](https://packagist.org/packages/nunophp/style)

---

Nunophp Style is a Laravel package that sets up your project with Nuno Maduro’s recommended tools and configurations, including Pest, Pint, PHPStan, and Rector, all streamlined via a single Artisan command.

> **Requires [PHP 8.3+](https://php.net/releases/)**

⚡️ Install the package into your Laravel project using [Composer](https://getcomposer.org):

```
composer require nunophp/style --dev
```

The package’s **service provider** (Nunophp\\Style\\StyleServiceProvider) will be auto-discovered by Laravel.

🚀 Run the setup command to configure your project with Nuno’s recommended style:

```
php artisan style:setup
```

This command will:

- Prompt to install development tools (Pest, Pint, PHPStan, Rector).
- Update composer.json with modern testing scripts.
- Optionally update AppServiceProvider with recommended configurations.
- Publish configuration files (pint.json, phpstan.neon, rector.php), with overwrite prompts if they exist.

### Example Commands After Setup

[](#example-commands-after-setup)

🧹 Lint your codebase with Pint:

```
composer lint
```

✅ Refactor with Rector:

```
composer refacto
```

⚗️ Analyze with PHPStan:

```
composer test:types
```

✅ Test with Pest:

```
composer test:unit
```

🚀 Run the full test suite:

```
composer test
```

### Output Example

[](#output-example)

When you run `php artisan style:setup`, expect a polished interface:

```
╔════════════════════════════════════╗
║      Starting Nuno Style Setup     ║
╚════════════════════════════════════╝

Do you want to install required development tools? (Pest, Pint, PHPStan, Rector) [yes]:
> no

 📝 Updating composer.json...
 ✓ composer.json updated with testing scripts.

Do you want to update AppServiceProvider with recommended configurations? This will replace your existing file. [yes]:
> no

 📦 Publishing configuration files...
 ↳ Skipped pint.json (not overwritten).
 ✓ Published phpstan.neon.
 ↳ Skipped rector.php (not overwritten).

╔════════════════════════════════════╗
║    Nuno Style Setup Complete       ║
╚════════════════════════════════════╝
 🎉 Run "composer test" to verify your setup!

```

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

[](#contributing)

Contributions are welcome! Please submit pull requests to the GitHub repository.

**Nunophp Style** was created by **[Micheal Ataklt](https://www.linkedin.com/in/matakltm-code)** under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance43

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

449d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29d95e37a7cc54ad24fd72a4452f07dbe16acd7dfdece66e60459c973c45aa2a?d=identicon)[matakltm-code](/maintainers/matakltm-code)

---

Top Contributors

[![matakltm-code](https://avatars.githubusercontent.com/u/65981238?v=4)](https://github.com/matakltm-code "matakltm-code (25 commits)")

---

Tags

phppackageSkeleton

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)

PHPackages © 2026

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