About Project - BPerme

๐Ÿ“‹ About BPerme Project

BPerme is a modern PHP development environment built with Docker, designed for efficient web application development.

๐ŸŽฏ Project Goals

  • โœ… Fast development environment setup
  • โœ… Production-like configuration
  • โœ… Modern development practices
  • โœ… Easy database management
  • โœ… Secure project structure

๐Ÿ› ๏ธ Technology Stack

  • ๐Ÿ˜ PHP 7.4.33
  • ๐Ÿ—„๏ธ MariaDB 10.6
  • ๐ŸŒ Apache + mod_rewrite
  • ๐Ÿณ Docker & Docker Compose
  • ๐Ÿ“ฑ Responsive CSS

๐Ÿ“ Project Structure

bperme/
โ”œโ”€โ”€ ๐Ÿ“‚ app/ # Main application
โ”‚ โ”œโ”€โ”€ config/ # Configuration files
โ”‚ โ”‚ โ””โ”€โ”€ database.php # Database settings
โ”‚ โ”œโ”€โ”€ public/ # Web root (DocumentRoot)
โ”‚ โ”‚ โ”œโ”€โ”€ index.php # Entry point with routing
โ”‚ โ”‚ โ”œโ”€โ”€ test.php # Environment testing
โ”‚ โ”‚ โ”œโ”€โ”€ css/styles.css # Stylesheets
โ”‚ โ”‚ โ””โ”€โ”€ js/app.js # JavaScript
โ”‚ โ”œโ”€โ”€ src/ # Source code
โ”‚ โ”‚ โ”œโ”€โ”€ controllers/ # MVC Controllers
โ”‚ โ”‚ โ”œโ”€โ”€ models/ # Data models
โ”‚ โ”‚ โ””โ”€โ”€ services/ # Business logic
โ”‚ โ””โ”€โ”€ templates/ # View templates
โ”œโ”€โ”€ ๐Ÿ“‚ docker/ # Docker configuration
โ”‚ โ”œโ”€โ”€ apache/ # Apache config
โ”‚ โ””โ”€โ”€ mysql/init/ # Database initialization
โ”œโ”€โ”€ docker-compose.yml # Services orchestration
โ”œโ”€โ”€ Dockerfile # PHP container build
โ””โ”€โ”€ README.md # Documentation

๐Ÿ”ง PHP Extensions

โ€ข mysqli
โ€ข mysqlnd
โ€ข pdo_mysql
โ€ข gd
โ€ข zip
โ€ข curl
โ€ข mbstring
โ€ข intl

๐ŸŒ Available Services

  • ๐Ÿ“ฑ Web App: :8080
  • ๐Ÿ—„๏ธ phpMyAdmin: :8081
  • ๐Ÿ˜ MariaDB: :3306
  • ๐Ÿ“ก API Endpoints: /api/*

๐Ÿ”’ Security Features

  • โœ… Source code outside web root
  • โœ… Secure file permissions
  • โœ… Environment isolation
  • โœ… Database credentials in env

๐Ÿš€ Quick Commands

๐Ÿณ Docker Management

# Start services
docker-compose up -d

# Stop services
docker-compose down

# View logs
docker-compose logs -f

๐Ÿ” Debugging

# Container status
docker-compose ps

# PHP container shell
docker exec -it bperme-php bash

# Database connection
docker exec -it bperme-db mysql
๐Ÿ  Back to Home ๐Ÿงช Test Environment

© 2026 BPerme Project. PHP 7.4.33 + MariaDB + Docker