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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. sindika-id/nedo-auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

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 3w ago

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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

2076d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/61504488?v=4)[PT. Sinergi Dimensi Informatika](/maintainers/sindika-id)[@sindika-id](https://github.com/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

[smarch/watchtower

Front-end for the Shinboi Auth system of Users / Roles / Permissions in Laravel 5

523.0k](/packages/smarch-watchtower)

PHPackages © 2026

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