epaphrodites/epaphrodites

Epaphrodites framework combines simplicity, compatibility with Python, support for multiple databases, and a commitment to open-source principles.

v0.01 2024-04-29 09:22 UTC

This package is auto-updated.

Last update: 2024-04-29 09:23:38 UTC


README

MIT License

👋 About Epaphrodites

Epaphrodites combines simplicity, compatibility with Python, support for multiple databases, and a commitment to open-source principles. It's a promising solution for web programming enthusiasts seeking a flexible, transparent, and evolving development environment. Join this passionate community and explore the opportunities that Epaphrodites can offer for your web projects.

System needs

What you should know before starting the installation. To create a new application, please first ensure that your computer meets the following requirements.

  • PHP >= 8.1
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • PDO_ODBC Extension (if you use sqlServer)
  • pdo_sqlsrv Extension (if you use sqlServer)
  • pgsql Extension (if you use PostgreSQL)
  • MongoDB Extension (if you use MongoDB)
  • Redis Extension (if you use Redis)
  • sqlite3 Extension
  • gd Extension
  • Mbstring PHP Extension
  • intl PHP Extension
  • XML PHP Extension
  • ZIP PHP Extension
  • JSON PHP Extension
  • Python3 installation (If you prefer to include elements of code written in Python)

🚀 Installation

composer create-project epaphrodites/epaphrodites your-project-name

⚠️ Recommendation : If you have already installed MongoDB on your machine and wish to incorporate its usage into your project, please execute the following command:

composer require mongodb/mongodb

Continue the installation by doing :

composer update
composer update dump-autoload

⚙️ First configuration

  1. Open this file (SetDirectory.php)
    bin\epaphrodites\define\config\SetDirectory.php
  1. Set database accpeted : ('mysql/postgre/sqlserver/sqlite/mongo/redis')
    define('_FIRST_DRIVER_', 'sqlite');
  1. Open this file (Config.ini)
    bin\database\config\ini\config.ini
  1. Choose your first configuration
    // First DB username
    1DB_USER =

    // First DB password
    1DB_PASSWORD =

    // First DB port
    1DB_PORT =

    // First DB name
    1DB_DATABASE = "epaphroditesdb.sqlite"

    // First DB SOCKET support
    1DB_SOCKET = false

    // First DB socket
    1DB_SOCKET_PATH = ""

    // First DB host
    1DB_HOST = "127.0.0.1" 

    // First DB DRIVER (accepted : mysql/pgsql/sqlserver/sqlite/mongodb/redis)
    1DB_DIVER = "sqlite"

💾 Create database

Run this command to create your database

php heredia create:db epaphroditesdb

💾 update database driver

php heredia update:driver

Install python component

  • Note: This command is intended for users who have previously installed Python on their machine. It simplifies the installation of specific Python libraries essential for the optimal functioning of the Epaphrodites framework. Furthermore, you have the freedom, at your level, to integrate other libraries according to the requirements of your projects :
php heredia pip:component

🔥 Run your App

  • Note: For SQL databases, you must create your database before running your application. In the case of MongoDB, the system will generate your database based on your configuration.

Run server

cd your_project
php heredia run:server --port=8000

Authentification access

Login : admin
Password : admin

😎 Enjoy yourself

📗 Documentation

Authors

Contributing

Contributions are always welcome!!