PHPackages                             fjarfs/src-general - 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. fjarfs/src-general

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

fjarfs/src-general
==================

Function General SRC environment

v0.0.1(5y ago)124.9k↓50%MITPHPPHP &gt;=7

Since Sep 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/fjarfs/src-general)[ Packagist](https://packagist.org/packages/fjarfs/src-general)[ RSS](/packages/fjarfs-src-general/feed)WikiDiscussions master Synced 1mo ago

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

SRC General
===========

[](#src-general)

[![Total Downloads](https://camo.githubusercontent.com/06e3bfb7716da7d77c948eca99fadf422c143839248ae6f31bae502561e88b35/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666a617266732f7372632d67656e6572616c)](https://packagist.org/packages/fjarfs/src-general)[![Latest Stable Version](https://camo.githubusercontent.com/c56158acd88d7a42235c508acfe4b19b009a96eed96ca18098582ce5b0b0b2ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666a617266732f7372632d67656e6572616c)](https://packagist.org/packages/fjarfs/src-general)[![License](https://camo.githubusercontent.com/d097b19bd8d7f0c15a3bc3597e306290ccb1605f1febc724a6d433db5195d8d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f666a617266732f7372632d67656e6572616c)](https://packagist.org/packages/fjarfs/src-general)

**SRC General** merupakan package yang digunakan oleh aplikasi SRC dan berisi tentang function-function yang bersifat general

### Cara Install

[](#cara-install)

- `composer require fjarfs/src-general`

    ##### Laravel

    [](#laravel)

    - Otomatis terdaftar oleh `Laravel Package Discovery`

    ##### Lumen

    [](#lumen)

    - Daftarkan service provider di `bootstrap/app.php````
         $app->register(Fjarfs\SrcGeneral\SrcGeneralProvider::class);
        ```

### Function yang tersedia

[](#function-yang-tersedia)

- **Helper**
    - [Access](#dqbAccess)

### Cara Penggunaan

[](#cara-penggunaan)

-  **Access**

    Access Module

    ```
      use Fjarfs\SrcGeneral\Helpers\Access as AccessModule;

     AccessModule::module('http://localhost/api/v1/user/principal/user', $auth);
    ```

    contoh:

    ```
