nojes / laravel-employees
This package for employees management for Laravel Framework.
Installs: 66
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 2
Open Issues: 0
Type:package
Requires
- php: ~5.6|~7.0
- bosnadev/repositories: 0.*
- illuminate/support: ~5.1
This package is not auto-updated.
Last update: 2024-11-09 12:21:31 UTC
README
This package for employees management on Laravel Framework.
Installation
Via Composer
$ composer require nojes/laravel-employees
If you do not run Laravel 5.5 (or higher), then add the service provider in config/app.php
:
nojes\employees\EmployeesServiceProvider::class,
If you do run the package on Laravel 5.5+, just run:
$ php artisan employees:install
Optional you can publish the configuration to provide an own service provider stub. (package auto-discovery)
$ php artisan vendor:publish --provider="nojes\employees\EmployeesServiceProvider"
Database seeding
If you want to have some example entries in the database, this command will seed models tables with test data:
$ php artisan employees:seed
or
$ php artisan db:seed --class="nojes\employees\database\seeds\EmployeesDatabaseSeeder"
or separately:
License
The BSD 3-Clause License (BSD-3-Clause). Please see License File for more information.