Skip to content
/ vala Public

Application de gestion d’élevage développée en PHP pur, avec Silex 🚦 comme routeur. 🛠️ ORM maison pour créer la base de données et les tables via des commandes CLI ⚙️.

Notifications You must be signed in to change notification settings

97mams/vala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livestock Management System 🐄🐖🐑

This is a PHP project that uses Silex (as a router only) and a custom ORM to manage livestock farming.

It helps farmers to:

  • Store and manage livestock data
  • Track treatments and medical history
  • Receive notifications for upcoming treatments

🛠 Requirements

  • PHP >= 7.4
  • Composer
  • MySQL
  • Terminal / CLI access

📦 Installation

  1. Clone the repository:
   git clone https://github.com/your-username/livestock-management.git
   cd livestock-management
  1. Install dependencies using Composer:
composer install
  1. Create your environment configuration file:
cp .env.example .env

The open .env and configure your MySql credentials(DB_HOST, DB_NAME, DB_PASSWORD, DB_USER).

⚙ Database Setup

This project uses a custom-built ORM to handle database creation and table management.

  1. Create the database
php bin/app.php db:create
  1. Create tables

You can generate a table by name using:

php bin/app.php db:table [name]

🚀 Features

. Livestock registration and health tracking . Treatment scheduling and notifications . Lightweight routing using Silex . MySql database with fully custom ORM

About

Application de gestion d’élevage développée en PHP pur, avec Silex 🚦 comme routeur. 🛠️ ORM maison pour créer la base de données et les tables via des commandes CLI ⚙️.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published