PHP Classes

PHP HouseHold: Manage the stock of groceries in a house

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 85 All time: 10,040 This week: 64Up
Version License PHP version Categories
household 1.0Custom (specified...5PHP 5, Content management, Web services, C...
Description 

Author

This package can manage the stock of groceries or other types of products in a house.

It provides an application that implements several interfaces to let users perform various operations to manage the stock of products stored in a house.

The package allows the user to request to perform the stock operations using a Web interface, an API, or the command line.

Currently, it can:

- Add a product to the stock

- Mark a product as consumed

- Initialize the stock for a specific product

- Get the current status of the stock

Innovation Award
PHP Programming Innovation award nominee
May 2022
Number 7
Many people need to manage the stock of groceries and other types of products in their homes to consume.

This way, they can determine when it is necessary to buy more products that are running out of stock.

This package provides an application that lets them manage the stock of products they consume at their homes using either a Web interface, an API from possibly a mobile application, or from the command line console.

Manuel Lemos
Picture of Niko
  Performance   Level  
Innovation award
Innovation award
Nominee: 5x

Winner: 1x

 

Documentation

[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![BSL License][license-shield]][license-url] [![Localization][locale-shield]][locale-url]

<br /> <p align="center"> <!-- <a href="https://github.com/HouseHold/HouseHold">

<img src="logo.png" alt="Logo" width="80" height="80">

</a> -->

<h3 align="center">HouseHold</h3>

<p align="center">

HouseHold is self-hosted web-based application to manage your home.
<br />
<strong> HouseHold is in Alpha and expirencing heavy development</strong>
<br />
<strong> Pre-Alpha coming 1st of June </strong>
<!-- <a href="https://github.com/HouseHold/HouseHold"><strong>Explore the docs »</strong></a> -->
<br />
<br />
<!-- TODO: <a href="https://github.com/github_username/repo">View Demo</a> -->
<!-- · -->
<a href="https://github.com/HouseHold/HouseHold/issues">Report Bug</a>
·
<a href="https://github.com/HouseHold/HouseHold/issues">Request Feature</a>

</p> </p>

Table of Contents

About The Project

HouseHold is a management system for home. Manage stock of your home food supplies and many other.

At this stage this is fork Grocy. To be exact, this started due Grocy code being a mess according to me and it doesnt support any other database than sqlite at time of writing this.

This project aims only providing same functionality as Grocy does. There is no code borrowed or copied or anything from Grocy. This is pure rewrite.

After basic functionality have been implemented HouseHold and Grocy paths will separate HouseHold will start developing it own features. This meaning some features added to Grocy after HouseHold release 1.0 will not maybe added automatically into HouseHold.

Built With

Getting Started

This is not production ready. Do not use this is production, until 1.0.0 is released. When 1.0.0 is released, there will be docker package available. For now there is nothing.

Prerequisites

Please make sure following packages are installed: * make * docker * docker-compose

sudo apt-get install make docker docker-compose -y
== OR ==
sudo yum install make docker docker-compose -y
== OR ==
sudo apk add make docker docker-compose

Installation

  1. Clone the repo
    git clone --recurse-submodules -j8 https://github.com/HouseHold/HouseHold.git
    
  2. Install dependencies.
    make start
    

<strong> Notice: </strong> This is development guide and might not be up-to-date.

Roadmap

See the open issues for a list of proposed features (and known issues).

For now development progress can be seen here in simple steps.

  • [x] Create CQRS, DDD, EventSourcing Core.
  • [x] Setup Vue frontend.
  • [x] Stock Management Backend (API).
  • [ ] Stock Management Frontend.

<!-- CONTRIBUTING -->

Contributing

Contributions are what make the community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. However, please follow following rules to contribute so we can keep code clean.

Obtainign a copy

In order to submit a pull request, you will need to fork the project and obtain a fresh copy of the source code.

Choosing the branch

  • I am submitting a bugfix for a stavle release. - Please target lowest possible active stable branch.
  • I am submitting a new feature. - Please target master branch.
  • I am submitting a BC change. - Please target master branch. - Please provide deprecation for lowest possible active stable branch.

Please always create a new branch for your changes (i.e. do not commit directly into master in your fork), otherwise you would run into troubles with creating multiple pull requests.

Coding standard.

Always follow the previous coding standard applied in the code. You will get it, if you just read it trough. Please also always run the phpcsfixer. Fixer can be run with command make cs.

Tests

Please always add tests for your changes. - If you are fixing a bug, create test file into tests/{Functional,Unit,Integration}/Ticket/GHxxxxxTest.php. Part with xxx should be the ID of the ticket. - If you are adding a feature, please provide a tests to cover it fully.

<!-- LICENSE -->

License

Distributed under the BSL 1.1 License. See LICENSE.md for more information.

<small>_License might be change in future, but for now it will go under BSL 1.1 to support single contributor effort develop the software._</small>

<!-- MARKDOWN LINKS & IMAGES --> [activity-shield]: https://img.shields.io/github/commit-activity/m/HouseHold/HouseHold?label=commits [activity-link]: https://github.com/HouseHold/HouseHold/commits/master [contributors-shield]: https://img.shields.io/github/contributors/HouseHold/HouseHold.svg?style=flat-square [contributors-url]: https://github.com/HouseHold/HouseHold/graphs/contributors [forks-shield]: https://img.shields.io/github/forks/HouseHold/HouseHold.svg?style=flat-square [forks-url]: https://github.com/HouseHold/HouseHold/network/members [stars-shield]: https://img.shields.io/github/stars/HouseHold/HouseHold.svg?style=flat-square [stars-url]: https://github.com/HouseHold/HouseHold/stargazers [issues-shield]: https://img.shields.io/github/issues/HouseHold/HouseHold.svg?style=flat-square [issues-url]: https://github.com/HouseHold/HouseHold/issues [license-shield]: https://img.shields.io/badge/License-BSL%201.1-brightgreen.svg?style=flat-square [license-url]: https://github.com/HouseHold/HouseHold/blob/master/LICENSE.txt [locale-shield]: https://badges.crowdin.net/household/localized.svg [locale-url]: https://crowdin.com/project/household [product-screenshot]: images/screenshot.png


  Files folder image Files (233)  
File Role Description
Files folder image.github (1 file)
Files folder imagebin (1 file)
Files folder imageconfig (5 files, 3 directories)
Files folder imagedoc (2 files, 1 directory)
Files folder imageetc (2 directories)
Files folder imagepublic (2 files)
Files folder imagesrc (6 directories)
Files folder imagetemplates (2 directories)
Accessible without login Plain text file .dockerignore Data Auxiliary data
Accessible without login Plain text file .env Data Auxiliary data
Accessible without login Plain text file .env.dist Data Auxiliary data
Accessible without login Plain text file .graphqlconfig Data Auxiliary data
Accessible without login Plain text file .php-version Data Auxiliary data
Accessible without login Plain text file .php_cs.dist Example Example script
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file depfile.yml Data Auxiliary data
Accessible without login Plain text file docker-compose.yml Data Auxiliary data
Accessible without login Plain text file Dockerfile Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file makefile Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file symfony.lock Data Auxiliary data
Accessible without login Plain text file yarn.lock Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:85
This week:0
All time:10,040
This week:64Up