Looking to hire Laravel developers? Try LaraJobs

laravel-admin maintained by ikepu-tp

Description
This is a package for laravel admin. You can add a function to manage users as user to your laravel application.
Author
Last update
2023/11/19 09:42 (dev-main)
License
Downloads
9
Tags

Comments
comments powered by Disqus

Laravel Admin

日本語版

This is a library to add administrator functionality to Laravel Project.

Features

  • Set administrators from users
  • Show the list of users

How to use

1. Install from composer

composer require ikepu-tp/laravel-admin

2. Publish configure file

php artisan vendor:publish --tag=laravelAdmin-config

3. Migrate

php artisan migrate

4. Add UserTrait to User.php

class User extends Model {
    use \ikepu_tp\LaravelAdmin\app\Models\UserTrait;

5. Set administrator at the first time

insert into user_grants (user_id,grant) values (`your user_id`,0)

At the first time, you have to set administrator by SQL but you can set on http://localhost/admin/users after that.

Contributing

Thank you for your contributions. If you find bugs, let me know them with issues.

License

Copyright (c) 2023 ikepu-tp.

This is open-sourced software licensed under the MIT license.