almhdy / simy-framework
Lightweight PHP Framework for Modern Web Development.
Requires
- php: >=7.4
- phpmailer/phpmailer: ^6.9
- vlucas/phpdotenv: ^5.6
This package is auto-updated.
Last update: 2025-06-04 08:30:51 UTC
README
Lightweight PHP Framework for Modern Web Development
Welcome to Simy Framework! Simy is a powerful and lightweight PHP framework designed to facilitate modern web development using the Model-View-Controller (MVC) architecture. With Simy, you can build robust, scalable web applications quickly and efficiently.
Table of Contents
Features
- MVC Architecture: Clear separation of concerns for improved organization and manageability of code.
- Routing System: Simple and elegant routing to connect URLs to the corresponding controllers and actions.
- Database Abstraction: Unified interface to interact with various database systems seamlessly.
- Template Engine: Lightweight templating system for rendering views, promoting separation of business logic and presentation.
Installation
To install Simy Framework, follow these steps:
-
Create a New Project:
composer create-project almhdy/simy-framework app-name
-
Navigate to the Project Directory:
cd app-name
-
Install Dependencies: Use Composer to install the required dependencies:
composer install
-
Configure Your Application: Modify the configuration settings located in the
app/.env
file to set up your environment (database details, app settings, etc.).
Getting Started
To create your first application with Simy Framework:
-
Create a New Controller: Create a new PHP file in the
app/controllers/
directory. -
Define Routes: Open the
routes/Routes.php
file and define your application routes. -
Build Your Views: Create views within the
app/views/
directory using the templating system provided.
Run Your Application: Start a local PHP server:
php simy serve
Visit http://localhost:8000
in your browser to see your application in action.
Documentation
For detailed documentation, examples, and guides, visit our official documentation site:
License
Simy Framework is open source and available under the LGPL-3.0-or-later License. See the LICENSE file for more information.