Deep Sync Framework is a lightweight, modern PHP framework inspired by Laravel.

Maintainers

Package info

github.com/deepakgaikwad2044/deepsync

Type:project

pkg:composer/deepakgaikwad2044/deepsync

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

5.0.1 2026-04-04 17:13 UTC

This package is auto-updated.

Last update: 2026-04-04 17:25:36 UTC


README

๐Ÿš€ Deep Sync Framework v5

โšก Lightweight โ€ข ๐Ÿ”ฅ Powerful โ€ข ๐Ÿง  Modern PHP Framework
Built with Core PHP + ORM + WebSockets

๐Ÿ›ก๏ธ Badges

PHP Version License Status

๐Ÿ“Œ Overview

Deep Sync Framework v5 is a lightweight, Laravel-inspired PHP framework designed for speed, flexibility, and scalability.

It provides a clean MVC architecture, powerful ORM, and WebSockets support for building modern real-time applications.

๐Ÿ“„ License

This project is licensed under the MIT License.

โœจ Features

๐Ÿงฑ Core Architecture

  • MVC structure (Model-View-Controller)
  • Clean & maintainable code
  • Modular system
  • Scalable design

๐Ÿ—„๏ธ Database & ORM

  • ๐Ÿ”ฅ Custom ORM (Active Record style)
  • Query Builder
  • No need for raw SQL
  • MySQL & SQLite support
  • Migrations

๐Ÿ”€ Routing System

  • Clean route definitions
  • Dynamic parameters
  • Route grouping
  • Middleware support

๐Ÿ”Œ Real-Time System

  • โšก WebSockets integration
  • Live chat systems
  • Real-time notifications
  • Event-driven architecture

โšก Performance

  • Lightweight core
  • Fast execution
  • Optimized routing

๐Ÿ” Security

  • CSRF Protection
  • SQL Injection prevention
  • Input validation

๐Ÿ“ก API Support

  • RESTful APIs
  • JSON responses
  • API routing system

๐Ÿ“ File Handling

  • File uploads
  • Storage system
  • Public/private access

๐Ÿ†• What's New in v5

  • ๐Ÿ”ฅ ORM System added
  • โšก WebSockets support
  • ๐Ÿš€ Performance improved
  • ๐Ÿ“ Better structure
  • ๐Ÿง  Developer experience enhanced

๐ŸŒ Verify Server Status

To check if your servers are running, use the following command:

php deep serve:status

Service Status
WebSocket Server Running
Redis Server Not Running

๐Ÿงช Available Commands

Command Description
๐Ÿš€ php deep serve Start the HTTP server
๐ŸŒ php deep socket:serve Start the WebSocket server
๐ŸŸฅ php deep redis:serve Start the Redis server
๐Ÿงช php deep serve:status Check server status
๐Ÿ› ๏ธ php deep make:controller UserController Create a new controller
๐Ÿ› ๏ธ php deep make:model Post Create a new model
๐Ÿ›ก๏ธ php deep make:middleware Admin Create a new middleware
๐Ÿ”” php deep make:channel Post Create a new channel (PostChannel) and auto-create its event (PostEvent)
๐Ÿ–ผ๏ธ php deep make:view posts.all Create a new view
๐Ÿ—„๏ธ php deep make:migration posts Create a new migration
โšก php deep make:command test Create a new custom command
๐Ÿ“ฆ php deep migrate:install Install migrations table
โฌ†๏ธ php deep migrate Run migrations
โฌ‡๏ธ php deep migrate:rollback Rollback last migration
๐Ÿ”‘ php deep key:generate Generate a new app key
๐Ÿ—๏ธ php deep app:key Generate a new app key

๐Ÿ“‚ Project Structure

deep-sync-framework/
โ”‚
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ config/
โ”‚   โ”œโ”€โ”€ controllers/
โ”‚   โ”œโ”€โ”€ models/
โ”‚   โ”œโ”€โ”€ core/
โ”‚   โ”œโ”€โ”€ middleware/
โ”‚   โ”œโ”€โ”€ mail/
โ”‚   โ””โ”€โ”€ websockets/
โ”‚   
โ”œโ”€โ”€ bootstrap/
โ”œโ”€โ”€ view/
โ”œโ”€โ”€ routes/
โ”œโ”€โ”€ vendor/
โ”œโ”€โ”€ public/
โ”œโ”€โ”€ storage/
โ”œโ”€โ”€ .env
---

## โš™๏ธ Installation  

# Clone the repository
git clone https://github.com/deepakgaikwad2044/deepsync.git

# Clone the repository
composer create-project deepakgaikwad2044/deepsync myapp

# Install dependencies
composer install

## ๐Ÿš€ Run server
php deep serve

## ๐Ÿ”Œ WebSocket Setup (Optional)

To enable realtime communication, start the Redis and Realtime server:

php deep redis:serve
php deep socket:serve

> This step is optional and only required for realtime (WebSocket) features.

---
## โš ๏ธ Known Issue & Fix

### โŒ Error

```bash
Fatal error: Uncaught Error: Class "React\\Cache\\ArrayCache" not found in vendor/react/dns/src/Resolver/Factory.php:78

โšก This issue is common in fresh clones where Composer dependencies are not initialized.

๐Ÿ› ๏ธ Solution

# Remove old dependencies
rm -rf vendor
rm composer.lock

# Clear Composer cache
composer clear-cache

# Install required packages
composer require react/dns react/cache

# Regenerate autoload files
composer dump-autoload

๐Ÿงช Verify Fix

php -r "require 'vendor/autoload.php'; new React\\Cache\\ArrayCache(); echo 'OK';"

โœ… Expected Output

OK

๐Ÿ’ก Troubleshooting

If the issue still persists:

composer install