PHPackages                             nodes/backend - 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. [Admin Panels](/categories/admin)
4. /
5. nodes/backend

AbandonedArchivedLibrary[Admin Panels](/categories/admin)

nodes/backend
=============

Nodes backend package

3.2.7(6y ago)119.4k5[5 issues](https://github.com/nodes-php/nodes-php-backend/issues)MITPHP

Since Jan 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nodes-php/nodes-php-backend)[ Packagist](https://packagist.org/packages/nodes/backend)[ RSS](/packages/nodes-backend/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (10)Versions (132)Used By (0)

Backend
-------

[](#backend)

A easy and clean backend to [Laravel](http://laravel.com/docs).

[![Total downloads](https://camo.githubusercontent.com/2629ba19f104f01a3c6ad35cad8859f94e11fd6227c32372efa94d8f789a63a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f6465732f6261636b656e642e737667)](https://packagist.org/packages/nodes/backend)[![Monthly downloads](https://camo.githubusercontent.com/51e0784f4a913551d4581faf4bb15e762449641149c9bca8fd0aa673eaca6a47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e6f6465732f6261636b656e642e737667)](https://packagist.org/packages/nodes/backend)[![Latest release](https://camo.githubusercontent.com/cd449d244aeaea51fe79dffc2b8c27c656ad7d534a935760bcc743040ace2430/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f6465732f6261636b656e642e737667)](https://packagist.org/packages/nodes/backend)[![Open issues](https://camo.githubusercontent.com/1d323f9bd438e38fc6ca36304771c86fd7a044e88effc4b8dfe07111a8113588/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6e6f6465732d7068702f6261636b656e642e737667)](https://github.com/nodes-php/backend/issues)[![License](https://camo.githubusercontent.com/c1af3c6598482701ae054315dad9df28445acbda03a3af184e1f2a83bf239edb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f6465732f6261636b656e642e737667)](https://packagist.org/packages/nodes/backend)[![Star repository on GitHub](https://camo.githubusercontent.com/0e1737d07ff00053f72e4c575069d41dfad67879b98043233f50c39dddf2e44f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e6f6465732d7068702f6261636b656e642e7376673f7374796c653d736f6369616c266c6162656c3d53746172)](https://github.com/nodes-php/backend/stargazers)[![Watch repository on GitHub](https://camo.githubusercontent.com/95a37cd1e8a841c57c8083a4d7691bf28d96aae39ef6e2b73892fdc291ae8800/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f6e6f6465732d7068702f6261636b656e642e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)](https://github.com/nodes-php/backend/watchers)[![Fork repository on GitHub](https://camo.githubusercontent.com/dccad6415b9a4bfa3b64b2ca08abdb65a6054053d35b3f9677ea3aefb4bfb443/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6e6f6465732d7068702f6261636b656e642e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)](https://github.com/nodes-php/backend/network)[![StyleCI](https://camo.githubusercontent.com/abca7789d5f838d316c7ff08e9de953fa793e3454d7868e58a8d2de004fd51b7/68747470733a2f2f7374796c6563692e696f2f7265706f732f34363931383831312f736869656c64)](https://styleci.io/repos/46918811)

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

[](#-introduction)

One thing we at [Nodes](http://nodesagency.com) have been missing in [Laravel](http://laravel.com/docs) is a fast implemented backend which is easy to build on top of

📦 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/backend": "3.1.*",
}

```

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

```
composer require nodes/backend

```

🔧 Setup
-------

[](#-setup)

Setup service providers in config/app.php

```
Nodes\Backend\ServiceProvider::class,
Nodes\Assets\ServiceProvider::class,
Nodes\Validation\ServiceProvider::class,
Nodes\Cache\ServiceProvider::class,
Collective\Html\HtmlServiceProvider::class,
Nodes\ServiceProvider::class,

```

Setup alias in config/app.php

```
'Backend'        => Nodes\Backend\Support\Facades\Backend::class,
'Form'           => Collective\Html\FormFacade::class,
'Html'           => Collective\Html\HtmlFacade::class,

```

Publish config file all config files at once, we need to use force on backend, since we override gulp. The regular vendor:publish is for the 3 other packages

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

```

Publish config file for backend plugin only

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

```

Overwrite config file for backend plugin only

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

```

Add following to your /database/seeds/DatabaseSeeder.php

```
$this->call('NodesBackendSeeder');

```

Dump

```
composer dump-autoload

```

Now you can call php artisan migrate --seed Which will add the new tables and seed the roles/users to get going

Add to config/nodes/autoload.php

```
'project/Routes/Backend/',

```

Run bower, npm &amp; gulp to build css &amp; js

```
bower install && npm install && gulp build

```

Set up CSRF by pass in App\\Http\\Middleware\\VerifyCsrfToken.php

```
protected $except = [
    'admin/manager_auth',
];

```

Make TokenMismatch exceptions more user friendly, add following to App\\Exceptions\\Handler.php

```
public function render($request, Exception $e)
{
    // Just redirect back to previous route if there is any, else all the way back to dashboard
    // Instead of a ugly whoops error!
    if ($exception instanceof TokenMismatchException) {
        try {
            return redirect()->back()->with('error', 'Token mismatch, try again')->send();
        } catch (\Throwable $e) {}
    }
    ....
}

```

⚙ Usage
-------

[](#-usage)

Global function

```
backend_auth - Access all other function on mananger
backend_user - Retrieve user object
backend_user_check - Check if there is authed user
backend_user_authenticate - Try to auth with current request, pass [] as providers are registered
backend_user_login - Force login another user
backend_user_logout - Logout user
backend_attempt - Attempt to authenticate a user using the given credentials
query_restorer - Use to restore query params from cookie, handy for routing between views with queries
query_restorer_with_flash - Use to restore query params from cookie, handy for routing between views with queries. Remembers the flash between reloads also
backend_router - Access all other router functions
backend_router_pattern - Used fx for selecting navigation item by path
backend_router_alias - Used fx for selecting navigation item by route

```

Redirect with flash

```
redirect()->back()->withInput()->with('error', 'Unknown Error') // Only strings
redirect()->back()->withInput()->with('errors', $myErrorBag)
redirect()->back()->withInput()->with('errors', $myValidator->errorsBag());
redirect()->back()->withInput()->with('success', 'Everything is ok')
redirect()->back()->withInput()->with('info', 'Insert info')
redirect()->back()->withInput()->with('warning', 'Insert warning')

```

🏆 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

38

—

LowBetter than 85% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 69.3% 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 ~15 days

Total

101

Last Release

2228d ago

Major Versions

0.1.30 → 1.0.02016-05-17

1.2.4 → 2.1.52016-12-14

2.1.10 → 3.0.02017-02-16

1.2.5 → 3.0.72017-08-10

### 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 (205 commits)")[![rugaard](https://avatars.githubusercontent.com/u/179868?v=4)](https://github.com/rugaard "rugaard (37 commits)")[![rasmusebbesen](https://avatars.githubusercontent.com/u/944158?v=4)](https://github.com/rasmusebbesen "rasmusebbesen (20 commits)")[![carmenioanamihaila](https://avatars.githubusercontent.com/u/20821982?v=4)](https://github.com/carmenioanamihaila "carmenioanamihaila (12 commits)")[![John-Ciuchea](https://avatars.githubusercontent.com/u/9555027?v=4)](https://github.com/John-Ciuchea "John-Ciuchea (6 commits)")[![rtrzebinski](https://avatars.githubusercontent.com/u/3026410?v=4)](https://github.com/rtrzebinski "rtrzebinski (5 commits)")[![joscdk](https://avatars.githubusercontent.com/u/2535140?v=4)](https://github.com/joscdk "joscdk (3 commits)")[![ellalderton](https://avatars.githubusercontent.com/u/31001590?v=4)](https://github.com/ellalderton "ellalderton (3 commits)")[![Zeneo](https://avatars.githubusercontent.com/u/5598307?v=4)](https://github.com/Zeneo "Zeneo (1 commits)")[![JustinBusschau](https://avatars.githubusercontent.com/u/1590364?v=4)](https://github.com/JustinBusschau "JustinBusschau (1 commits)")[![nielsiano](https://avatars.githubusercontent.com/u/947684?v=4)](https://github.com/nielsiano "nielsiano (1 commits)")[![Saad-Amjad](https://avatars.githubusercontent.com/u/22954041?v=4)](https://github.com/Saad-Amjad "Saad-Amjad (1 commits)")[![Tgo1014](https://avatars.githubusercontent.com/u/8679058?v=4)](https://github.com/Tgo1014 "Tgo1014 (1 commits)")

---

Tags

admin-panellaravelnodesphplaravelmanagerbackendadministrationnodesadmin system

### Embed Badge

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

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

###  Alternatives

[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[provision/administration

Laravel administration

113.7k2](/packages/provision-administration)

PHPackages © 2026

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