:package_description

Installs: 162

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/michaljurkowski/tg-pass

v1.0.10 2017-02-27 12:50 UTC

This package is not auto-updated.

Last update: 2025-11-05 03:56:03 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Install

Via Composer

$ composer require michaljurkowski/tg-pass

Add ServiceProvider to config/app.

MichalJurkowski\TgPass\TgPassServiceProvider::class,

Usage

Use php artisan vendor:publish

in config/tg_pass uncomment or add your own roles and permissions

in database/seeds/DatabaseSeeder.php add:

        $this->call(MichalJurkowski\TgPass\database\seeds\PassRolesTableSeeder::class);
        $this->call(MichalJurkowski\TgPass\database\seeds\PassUsersTableSeeder::class);
        $this->call(MichalJurkowski\TgPass\database\seeds\PassResourcesTableSeeder::class);
        $this->call(MichalJurkowski\TgPass\database\seeds\PassUserRolesTableSeeder::class);
        $this->call(MichalJurkowski\TgPass\database\seeds\PassPermissionsTableSeeder::class);

in user model use trait

    use MichalJurkowski\TgPass\Engine\Models\Traits\PassUserTrait;

    class User
        {
        use PassUserTrait;

composer dump-autoload

then php artisan migrate and php artisan db:seed

Security

If you discover any security related issues, please email jurkowskimichal86@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.