PHPackages                             sindika-id/nedo-auth - 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. sindika-id/nedo-auth

ActiveLibrary

sindika-id/nedo-auth
====================

Nedo Authentication Bridge

v1.0.1(5y ago)063MITPHP

Since Jul 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sindika-id/nedo-auth)[ Packagist](https://packagist.org/packages/sindika-id/nedo-auth)[ RSS](/packages/sindika-id-nedo-auth/feed)WikiDiscussions master Synced today

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

NedoAuth
========

[](#nedoauth)

Nedo Authentication is a laravel library written in pure PHP and providing a set of classes that allow you to use Nedo Platform user authentication and authorization.

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

[](#documentation)

###### **Steps**:

[](#steps)

1. From the projects root folder, in the terminal, run composer to get the needed package.

    - Example:

    ```
       composer require sindika-id/nedo-auth

    ```
2. From the projects root folder run `composer update`
3. Change config/auth.php use nedo user driver :

    ```
    ...

    'providers' => [
        'users' => [
            'driver' => 'nedo'
        ],
    ],

    ...
    ```
4. This plugin will automatically make some controller and view related to authentication mechanism.

    - auth/login
    - auth/logout
    - auth/register
    - auth/forgotpass
5. To get user information across all controller you can hook middleware :

    ```
      namespace App\Http\Controllers;

      use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
      use Illuminate\Foundation\Bus\DispatchesJobs;
      use Illuminate\Foundation\Validation\ValidatesRequests;
      use Illuminate\Routing\Controller as BaseController;

      use Illuminate\Support\Facades\Auth;
      use Nedoquery\Api\NedoRequest;

      class Controller extends BaseController
      {
          use AuthorizesRequests, DispatchesJobs, ValidatesRequests;

          /**
           * Authenticate User
           *
           * @var \Illuminate\Auth\GenericUser
           */
          protected $user;

          /**
           *
           * Request class to send data to Nedo server
           *
           * @var \Nedoquery\Api\NedoRequest
           */
          protected $nedoRequest;

          public function __construct(NedoRequest $nedoRequest)
          {
              $this->nedoRequest = $nedoRequest;

              $this->middleware(function ($request, $next) {

                  $this->user = Auth::user();

                  $this->nedoRequest->setUser($this->user);

                  view()->share('user', $this->user);
                  return $next($request);
              });
          }
      }
    ```
6. Example usage of nedo-query with nedo-auth module :

    - Example:

    ```

      $result = $this->nedoRequest->select('user_username, user_name, user_email')
              ->from('usermanagement')
              ->filter('user_id', 'gt', '1')
              ->order('user_name', 'ASC')
              ->get();
    ```
7. You can protect your page using laravel routers.

    - Example:

    ```
      Route::group(['namespace' => 'Test', 'middleware' => ['notloggedin']], function () {
          Route::get('/', 'HomeController@index');
      });

      Route::group(['namespace' => 'Test', 'middleware' => ['loggedin']], function () {
          Route::get('/admin/', 'AdminController@index');
      });

    ```
8. To publish view you can use vendor:publish command in terminal

    ```
      php artisan vendor:publish --provider=Nedoquery\Auth\NedoAuthServiceProvider

    ```

License
-------

[](#license)

Nedo Authentication is licensed under the [MIT license](https://opensource.org/licenses/MIT). Enjoy!

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~51 days

Total

3

Last Release

2021d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eafb874d8fe40920ef12f7ad75f786bc6e73d98cf531569f9858abb7c6b4d67b?d=identicon)[sindika-id](/maintainers/sindika-id)

---

Top Contributors

[![willyfauzi](https://avatars.githubusercontent.com/u/6878632?v=4)](https://github.com/willyfauzi "willyfauzi (12 commits)")

### Embed Badge

![Health badge](/badges/sindika-id-nedo-auth/health.svg)

```
[![Health](https://phpackages.com/badges/sindika-id-nedo-auth/health.svg)](https://phpackages.com/packages/sindika-id-nedo-auth)
```

###  Alternatives

[infyomlabs/laravel-generator

InfyOm Laravel Generator

3.8k2.3M13](/packages/infyomlabs-laravel-generator)[laravelrus/sleepingowl

Administrative interface builder for Laravel.

810219.6k3](/packages/laravelrus-sleepingowl)[patricktalmadge/bootstrapper

Twitter Bootstrap markup generator

557407.2k4](/packages/patricktalmadge-bootstrapper)[pingpong/menus

Laravel Menus

70194.4k13](/packages/pingpong-menus)[akaunting/laravel-menu

Menu and sidebar management package for Laravel

38233.8k](/packages/akaunting-laravel-menu)[ngmy/webloyer

Webloyer is a Web UI for managing Deployer deployments

2181.1k](/packages/ngmy-webloyer)

PHPackages © 2026

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