nojes/laravel-employees

This package for employees management for Laravel Framework.

v1.0.0 2018-04-11 13:42 UTC

This package is not auto-updated.

Last update: 2024-11-09 12:21:31 UTC


README

Latest Version on Packagist

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

Software License

The BSD 3-Clause License (BSD-3-Clause). Please see License File for more information.