PHPackages                             nodes/core - 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. nodes/core

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

nodes/core
==========

Required for all Nodes packages

1.1.23(6y ago)318.4k615MITPHP

Since Nov 8Pushed 6y ago2 watchersCompare

[ Source](https://github.com/nodes-php/nodes-php-core)[ Packagist](https://packagist.org/packages/nodes/core)[ Docs](http://nodesagency.com)[ RSS](/packages/nodes-core/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (74)Used By (15)

Core
----

[](#core)

The main package used by most Nodes packages.

[![Total downloads](https://camo.githubusercontent.com/f482d303fcb11e3d64a559691ac13c6bfde871681843af0f516a221a1c09302d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f6465732f636f72652e737667)](https://packagist.org/packages/nodes/core)[![Monthly downloads](https://camo.githubusercontent.com/6d7da7c09461766fc0b2db57eb16a8cedd2ab23931fc95a8a70e61fb0a4ac553/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e6f6465732f636f72652e737667)](https://packagist.org/packages/nodes/core)[![Latest release](https://camo.githubusercontent.com/78bf7d169242328b18ea77a8af59dd0ea795cde2389872c88dc403cd95a02692/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f6465732f636f72652e737667)](https://packagist.org/packages/nodes/core)[![Open issues](https://camo.githubusercontent.com/b12128e3137857a8a9e80934f6cfa2f0190601733fdc4e846088beed285b5ea9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6e6f6465732d7068702f636f72652e737667)](https://github.com/nodes-php/core/issues)[![License](https://camo.githubusercontent.com/fef124e817fce16b2e7370e34060fc75f127d8a9f00b1202a8261845b5958658/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f6465732f636f72652e737667)](https://packagist.org/packages/nodes/core)[![Star repository on GitHub](https://camo.githubusercontent.com/5821eff6fd3be34bde963677dfed915bc7afe18e6d1f1f023a8bb8ad5e29c81f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e6f6465732d7068702f636f72652e7376673f7374796c653d736f6369616c266c6162656c3d53746172)](https://github.com/nodes-php/core/stargazers)[![Watch repository on GitHub](https://camo.githubusercontent.com/6200e0a2f6a48349acf9ac5cea7ca1518316f8f4715481f8a95d0a519a302bf3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f6e6f6465732d7068702f636f72652e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)](https://github.com/nodes-php/core/watchers)[![Fork repository on GitHub](https://camo.githubusercontent.com/163ad8428441c37f2da07af0340ea198f806b3204b4aca2c9995a81ccf0e6958/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6e6f6465732d7068702f636f72652e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)](https://github.com/nodes-php/core/network)[![StyleCI](https://camo.githubusercontent.com/1acb38f266585f06f21ae0e401031104c173e6aed081d0e074c441119ac01b5b/68747470733a2f2f7374796c6563692e696f2f7265706f732f34353738363033392f736869656c64)](https://styleci.io/repos/45786039)

📝 Introduction
--------------

[](#-introduction)

This package is what we in Nodes call the "Core" package. It consists of a lot of helpful methods, which makes it easier to develop other packages and projects in general.

The most important thing about this package, is that it contains a modified version of the default `Exception`. We've tweaked it a little bit, to add support for custom HTTP status codes and messages. These custom HTTP status code are used in all of our projects to return project specific error codes to our mobile developers.

Therefore you will experience that a lot of the Nodes packages will have this core package as a required dependency, since it either utilizes the custom `Exception` or any of our helper methods.

Last but not least, this package also contains the package [Browscap](https://github.com/browscap/browscap-php), which makes it easier to parse user-agents, which is quite handy when used with services like [Bugsnag](http://bugsnag.com).

📦 Installation
--------------

[](#-installation)

To install this package you will need:

- Laravel 5.1+
- PHP 5.5.9+

You must then modify your `composer.json` file and run `composer update` to include the latest version of the package in your project.

```
"require": {
    "nodes/core": "^1.0"
}
```

Or you can run the composer require command from your terminal.

```
composer require nodes/core
```

🔧 Setup
-------

[](#-setup)

Setup provider in `config/app.php`

```
Nodes\ServiceProvider::class,
```

Setup alias in `config/app.php` (optional)

```
'NodesUserAgent' => Nodes\Support\Facades\UserAgent::class,
```

Publish config files

```
php artisan vendor:publish --provider="Nodes\ServiceProvider"
```

If you want to overwrite any existing config files use the `--force` paramter

```
php artisan vendor:publish --provider="Nodes\ServiceProvider" --force
```

Notes
-----

[](#notes)

If you are using the `Nodes\Http\Request\FormRequest` present in this class, you will notice that on Web calls if validation fails it will report the exception (this does not interfere with the UX). This can be avoided by adding `Illuminate\Validation\ValidationException` to the `$dontReport` array on `app/Exceptions/Handler.php`. This is not needed for API calls since the exception will be `Nodes\Validation\Exceptions\ValidationException` and this does not report by default.

🏆 Credits
---------

[](#-credits)

This package is developed and maintained by the PHP team at [Nodes](http://nodesagency.com)

[![Follow Nodes PHP on Twitter](https://camo.githubusercontent.com/a898a5b14227bafa0c17c43be4f67460fe2b1dc3b88627d7b959e7fae4256a45/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f6e6f6465737068702e7376673f7374796c653d736f6369616c)](https://twitter.com/nodesphp) [![Tweet Nodes PHP](https://camo.githubusercontent.com/8c1a307180498b3bb360cf73e63da1bfa3afc0306f601be021acd1e85d2bb4e4/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f687474702f6e6f6465737068702e7376673f7374796c653d736f6369616c)](https://twitter.com/nodesphp)

📄 License
---------

[](#-license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 70.7% 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 ~24 days

Recently: every ~140 days

Total

64

Last Release

2286d ago

Major Versions

0.1.27 → 1.0.02016-05-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/3aaee2c2b7632254faa8a589817712bdab2c7d46778fb26994eef75b20ec9c08?d=identicon)[nodes](/maintainers/nodes)

---

Top Contributors

[![Casperhr](https://avatars.githubusercontent.com/u/1279756?v=4)](https://github.com/Casperhr "Casperhr (82 commits)")[![rasmusebbesen](https://avatars.githubusercontent.com/u/944158?v=4)](https://github.com/rasmusebbesen "rasmusebbesen (17 commits)")[![rugaard](https://avatars.githubusercontent.com/u/179868?v=4)](https://github.com/rugaard "rugaard (10 commits)")[![joscdk](https://avatars.githubusercontent.com/u/2535140?v=4)](https://github.com/joscdk "joscdk (2 commits)")[![carmenioanamihaila](https://avatars.githubusercontent.com/u/20821982?v=4)](https://github.com/carmenioanamihaila "carmenioanamihaila (1 commits)")[![Zeneo](https://avatars.githubusercontent.com/u/5598307?v=4)](https://github.com/Zeneo "Zeneo (1 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (1 commits)")[![pcoutinho](https://avatars.githubusercontent.com/u/3076738?v=4)](https://github.com/pcoutinho "pcoutinho (1 commits)")[![Saad-Amjad](https://avatars.githubusercontent.com/u/22954041?v=4)](https://github.com/Saad-Amjad "Saad-Amjad (1 commits)")

---

Tags

laravelhelperscoretoolsnodes

### Embed Badge

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

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

###  Alternatives

[prologue/support

Prologue Support is an extension for Illuminate Support

1616.8k](/packages/prologue-support)

PHPackages © 2026

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