xguard / xguard-coordinator
A plugin to manage supervisors on the XGuard ERP
Installs: 4 931
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:CSS
- dev-master
- v1.0.2
- v1.0.1
- v1.0
- v0.29
- v0.28
- v0.27
- v0.26
- v0.25
- v0.24
- v0.23
- v0.22
- v0.21
- v0.20
- v0.19
- v0.18
- v0.17
- v0.16
- v0.15
- v0.14
- v0.13
- v0.12
- v0.11.1
- v0.11
- v0.10
- v0.9.1
- v0.9
- v0.8
- v0.7
- v0.5
- v0.4
- v0.3
- v0.2
- v0.1
- dev-feature/patch-1
- dev-feature/adding-timeline
- dev-feature/custom-stop-setting
- dev-feature/stops
- dev-feature/odometer-info-tab
- dev-feature/reviews
- dev-feature/delete-visit-api
- dev-feature/display-shift-list
- dev-feature/scribe-refactor
- dev-feature/job_site_visit_api_update
- dev-feature/add_permits_to_contracts_api
- dev-feature/api-on-site-employees
- dev-feature/update-supervisor-shift-api
- dev-feature/active-contracts
- dev-feature/handle-job-site-sub-addresses
- dev-feature/contracts-with-sub-addresses-api
- dev-feature/api-for-contracts
- dev-feature/display-visited-job-sites
- dev-feature/display-supervisors
- dev-feature/supervisor-ui-skeleton
- dev-feature/basic-apis-and-tests
- dev-feature/migrate-logic-to-coordinator-plugin
- dev-feature/jest
- dev-feature/supervisor-tables-apis
- dev-feature/ci
This package is auto-updated.
Last update: 2025-04-18 06:10:33 UTC
README
Plugin to manage supervisors on XGuard ERP
Installation with composer
Use the following commands to install
composer require xguard/xguard-coordinator
php artisan migrate
php artisan vendor:publish --provider="Xguard\Coordinator\CoordinatorServiceProvider" --force
Use the following command to create an admin. It will prompt you for an existing email from users table.
php artisan coordinator:create-admin
You can now go to the /coordinator path to use the package. You must first login to access this url.
Development
Follow these steps to make modifications to the package
1: Firstly, clone the xguard-coordinator repo inside your package folder at root level. Create a "package" folder if you don't have one.
2: Then, add line of code in the psr-4 of your root composer.json
"psr-4": {
//...
"Xguard\\Coordinator\\": "package/xguard-coordinator/src/"
},
3: Add the coordinator plugin service provider to the config/app.php
return [ //... "providers" => [ //... Xguard\Coordinator\CoordinatorServiceProvider::class, ] ];
4: run this command
composer dump-autoload
5: Navigate to the xguard-coordinator package folder in your command line and perform the following commands:
composer install npm install npm run dev
6: Return to the root folder in the command line and publish the package with the following command:
php artisan vendor:publish --provider="Xguard\Coordinator\CoordinatorServiceProvider" --force
7: To run package migrations
php artisan migrate --path=package/xguard-coordinator/src/database/migrations
8: To run seeder for testing
php artisan db:seed --class="Xguard\Coordinator\database\seeds\EmployeeSeeder"
9:
php artisan coordinator-app:create-admin