Laravel 5.6 version is used to create the HRM system. The purpose of this system is to effectively manage HR. Each module performs a separate function within the HRM that helps with information gathering or tracking. HRM modules can assist with:
- Employee Management
- Leave Management
- Attendance Management
- Team Management
- Hiring Management
Documentation for the framework can be found on the Laravel website.
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Make your changes
4. Run the tests, adding new ones for your own code if necessary (phpunit)
5. Commit your changes (git commit -am 'Added some feature')
6. Push to the branch (git push origin my-new-feature)
7. Create new Pull Request
The project is available to be used freely for personal and educational purposes, cloning the project does not gives you any rights to sell it online/offline.
The Laravel framework is open-sourced software licensed under the MIT license.
- PHP version 7.2+
- PHP Mcrypt
- PHP Mysql
- Composer
- mbstring
- dom extention
It is preferred to have git setup installed on your local system.
Once downloaded/cloned go to the project directory on terminal/command line and run composer install or composer.phar install
Once composer is installed, run migration:
php artisan migrate
After migration, run the database seeder:
php artisan db:seed
Once done migrating and seeding you will have default user:
email: [email protected]
password: admin
- Install Docker and Docker Compose for the operating system of your choice.
- Get into your project directory (
cd hrm
) - Build the docker containers using
docker-compose build --no-cache --pull --force-rm
- Run the containers using
docker-compose up -d
- Access the PHP container using
docker exec -it hrm_phpfpm_1 bash
- Run
composer install
to install of the composer dependencies. - Rename the docker example
.env
file usingcp .env.docker.example .env
- Run
php artisan key:generate
to generate an application key (APP_KEY) - Run
php artisan migrate
to run all of the migration - Add
127.0.0.1 hrm.local:8080
to your/etc/hosts
file - Access the site using
hrm.local:8080
in your browser