Download the PHP package touhedul/users without Composer
On this page you can find all versions of the php package touhedul/users. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package users
Properos Users
CRUD package.
Required properos/properos-base package Required laravel/socialite package if want to auth with social accounts Configuration => https://laravel.com/docs/5.6/socialite
Added on config/services.php
Added on config/app.php
Modify config/database.php
Required spatie/laravel-permission package IMPORTANT NOTE: If you want to use restrictable_type and restrictable_id you have to use "spatie/laravel-permission": "^2.2.0" and add the follow code before install You need to use restrictable_type and restrictable_id with properos-condo package and you have to uncomment the code refers to units (CreateUserComponent.vue and UserController.php -> editUser()
Add repositories on composer.json
If not you can install spatie with the code below composer require spatie/laravel-permission
Configuration => https://docs.spatie.be/laravel-permission/v3/installation-laravel/
Register middleware app/Http/Kernel.php If use restrictable
If not you have to register:
Required moment.js npm install moment
Add on config/app.php
Register provider on composer.json
Run composer dump php artisan vendor:publish Select -> Properos\Users\UsersServiceProvider
Create env.js
Add on webpack.mix.js .js('resources/assets/js/be/modules/users/js/user.js', 'public/be/js/modules/user.js')
Add on resources/assets/bootstrap.js if not exist
config/properos_users.php file Set the middleware for the routes.
How to use a Model \Properos\Users\Models\Model-Name
Modify config/auth.php
Run migrations php artisan migrate create users table user_addresses table user_profiles table modify roles table
Add seeder on database/seeds/DatabaseSeeder.php
Run composer dump-autoload php artisan db:seed npm run watch
Use API authentication Install laravel/passport package => https://laravel.com/docs/5.6/passport
Add on routes/web.php