This is the scaffold, features are still being ported over from the app using this This tool
Assuming you have already made a laravel project
-
Clone this repo/branch by running
git clone https://git.fligno.com/marketplace/fromager-laravel/laravel-user-management.git -b enhancement/rewrite-vue
-
In your laravel application composer.json file add this line
(where package_location is the path to your package relative to your composer.json file)"repositories":[{ "type": "path", "url": "<package_location>" }]
-
Update your composer by running
composer update
-
Install the package
composer require deyji/manage
-
Run the required migrations by running
php artisan migrate
-
Install passport by running
php artisan passport:install
-
Run the role seed
php artisan db:seed --class=RoleSeeder
-
Setup your environment's email provider
You can stop here and use the API only but if you want to use this package with vue then proceed below
-
For the front-end to work nicely you need to seed the database with the default roles
to do that, you must runphp artisan db:seed --class=RoleSeeder
-
Publish the resources by running
php artisan vendor:publish --tag=view --force
NOTE: only run force if you have a new project or your package.json and webpack.mix.js will be overwritten
-
Install the front-end dependencies by running
npm install
-
Bundle the front-end after installing the required dependencies by running
npm run dev
After installing and setting up the package you can serve it by typing
php artisan serve
A total rewrite of another existing User Management, Designed to future proof development by using custom implementations while using only a few existing laravel functions, and it doesn't rely on third-party packages.
Currently, this is the workbench/testbench version of the package. Ideally, this will be the first to be used with the new pipeline. Pipeline tool Currently work in progess
This project aims to be as zero config as possible
Run the tests with:
vendor/bin/phpunit
- Custom Authentication, now uses OAuth or Auth0
- Map API, currently supports OSM only
- Login Throttling
- Password Resets
- Custom Email Verification
- Custom Roles
- Organizations
- Social Sign In, Currently Supports Facebook only
- Customizable Admin App Settings
- Timezones
- User Management
- Coming Soon Email Blast
- Timed Sessions (Client Side)
Please see CONTRIBUTING for details.
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.