Skip to content

llogaricasas/EasyBackEndPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EasyBackEndPHP

A lightweight and customizable Object-Oriented PHP library for backend development.

Overview

EasyBackEndPHP simplifies backend development by providing built-in support for:

✅ SQL Queries
✅ FTP Connections
✅ Image Size Modifications
✅ Session Management
✅ String Manipulation

Installation

  1. Clone or download the repository
    git clone https://github.com/llogaricasas/EasyBackEndPHP.git
  2. Include the library in your PHP file
    require 'EasyBackEndPHP.php';

Usage

Initialize the library and start using its features:

$library = new EasyBackEndPHP();

1. Character Encoding

Convert strings to a specific character encoding format.

$CharEncoding = $library->CharEncoding($string);

🔹 Use case: Ensures proper text formatting when handling different character sets.

2. FTP Connection

Connect to an FTP server for file transfers.

$FTP = $library->FTP($host, $user, $password);

🔹 Use case: Upload/download files from a remote server.

3. Image Editor

Modify image sizes and apply changes.

$ImageEditor = $library->ImageEditor($filename);

🔹 Use case: Resize images dynamically for web applications.

4. MySQL Database Connection

Establish a connection to a MySQL database.

$MySQL = $library->MySQL($host, $database, $user, $password);

🔹 Use case: Perform SQL queries and manage data efficiently.

5. Session Management

Handle user sessions securely.

$Session = $library->Session($lifetime, $path, $domain, $secure, $http_only);

🔹 Use case: Maintain user authentication and session state.

6. String Generator

Generate random strings of a specified length.

$StringGenerator = $library->StringGenerator($length);

🔹 Use case: Useful for generating unique tokens, passwords, or IDs.

Author

EasyBackEndPHP is maintained by Llogari Casas

About

A lightweight and customizable Object-Oriented PHP library for backend development

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages