phpshiftdocs 1.0.0
World's First AI-Powered Full-Stack Framework (Docs)

# PHPShift v1.0 - Documentation

- **Framework**: PHPShift
- **Version**: 1.0
- **Author**: Irakli Gzirishvili
- **Mail**: irakli@phpshift.com

## Overview

**PHPShift** is the world's first AI-powered full-stack framework. It comes with a simple syntax and is easy to use for a variety of projects. Its development process is innovative due to certain simplified concepts that work with the MVC design pattern. It features a minimalistic file structure that is easy to navigate, even for beginners.

**PHPShift** aims to standardize development procedures rather than offering countless ways to accomplish the same idea, which often leads to complexity and frustration in other frameworks.

**PHPShift** is beginner-friendly, making the introduction to development simple and easy to understand. It is also a great tool for experienced developers who want to eliminate unnecessary tasks and focus on implementing new features, rather than spending time setting up and configuring things that should not be the primary concern for developers.

**PHPShift** is a modular system that offers developers the comfort of including only the components they need, thanks to its simplified structure. When using **PHPShift**, the phrase "Development must be enjoyable" is not just a marketing slogan - it's a fact, and you will experience this enjoyment from the very beginning of your development journey with **PHPShift**.

**AI Powered** - This means that **PHPShift** projects are fully manageable by an AI system, allowing you to feel like a leader of development rather than just a typical developer expending energy on building things. This is the AI era, and you need to follow the path to a future where you create things as simply as possible, becoming the commander of your projects instead of a stressed worker as you may have been in the past. You need this system because it offers a chance to become one of the commanders of the AI, rather than being replaced by it.

## Key Features of PHPShift

- **Default Routing Engine**: You don't need to define routes for your pages - just build the pages.
- **Simple File Structure**: Highlights workspace components with only the essentials.
- **Modular System**: Easily paste and use only the modules you need.
- **Lightweight**: No storage is taken up by unnecessary "just in case" logic resources in your project.
- **Simple Session Management**: Easy to use, yet powerful.
- **Simple Cache Management**: Very simple and lightweight.
- **Simple ORM System**: SQL-based, which means there are no extra methods involved to make you forget SQL.
- **Database Management**: Manage DB tables and columns without the extra complexity of imitating actual DB clients and misleading you about comprehensive DB management.
- **Simple Template Engine**: Minimalistic syntax that avoids confusion and doesn't require hours or days to learn. You can master it in just 5 minutes.
- **Simple Element Engine**: All elements are modular and easy to use without unnecessary complications. You can clone them for new elements and simply change things that make them different. So simple, so awesome.
- **Simple Configuration Engine**: So straightforward it hardly needs an explanation... but yeah, you will find it in the documentation.
- **Simple API Engine**: A two-factor authentication system that allows you to create API services, managed with the simplest methods, nothing extra.
- **Simple Cron Engine**: Easily create your cron job services without any extra complexity.
- **Simple CRUD Engine**: Define CRUD procedures for users in the simplest way possible.
- **MVC Design**: MVC doesn't need to be MKDHVHGACGCASJGFT... You'll see the magic - it allows you to focus on what you actually need to do, handling tasks in simple and customizable ways.
- **Type system**: Input variable types are used to handle values based on validation criteria. The type system is modular and effective for validating values. You create it just once or get as a dropped-in module to use it anywhere you need.
- **Performance**: Extremely fast - won't even compare to other options. But yes, comparisons have shown it is really fast.
- **AI Powered**: Handles fixing errors, writing code, refactoring, documenting code, optimizing your project and resources, discussing development history, live chat, planning development, scheduling procedures, executing development plans, and autopiloting project development. What else do you need it to do? Guess what: it has modular processor and will continue to gain new skills by its own, that developments may require.
- **AI AutoPilot**: It's like having your own developer. You plan and build with it. It initiates chat when meaningful information arises or just to check in, asking, "What's up, dude? How's it going? Do you have new ideas about solving the previous case we discussed? Let's build it - just give me the idea, I can also handle it by my own!"

## Benefits of Using PHPShift Framework

- **Streamlined Development**: The default routing engine allows developers to focus on building pages without worrying about route definitions, accelerating the development process.
- **Clarity and Simplicity**: A simple file structure highlights only essential workspace components, reducing confusion and making project organization straightforward.
- **Flexibility**: The modular system enables users to incorporate only the modules they need, promoting efficiency and minimizing unnecessary complexity.
- **Storage Efficiency**: The lightweight design avoids bloating the project with unnecessary files and logic, ensuring optimal use of storage space.
- **User-Friendly Management**: Simple session and cache management features simplify user interactions and enhance application performance without added overhead.
- **Familiarity with SQL**: The SQL-based ORM system allows developers to work with a familiar language, minimizing the learning curve associated with alternative methods.
- **Straightforward Database Control**: The project provides direct management of database tables and columns, eliminating the clutter of imitative DB clients for clearer oversight.
- **Easy Template Customization**: The minimalistic template engine enables rapid mastery and customization, allowing for quick adjustments to project layouts and designs.
- **Modular Element Handling**: The simple element engine encourages reuse and modification of components, facilitating rapid prototyping and feature expansion.
- **Effortless Configuration**: The configuration engine's simplicity enhances developer productivity by reducing setup time and complexity.
- **Simplified CRUD Operations**: The CRUD engine simplifies the process of defining user operations, enabling quick implementation of essential features.
- **Intuitive MVC Structure**: The user-friendly MVC design supports cleaner code organization and easier project maintenance, allowing developers to focus on functionality.
- **High Performance**: The project is designed for high speed and efficiency, ensuring that applications run smoothly and responsively.
- **Comprehensive Development Support**: Powered by AI, the project offers extensive development support, including error fixing, documentation, optimization, and more... which enhances overall project development.
- **Collaborative Development**: The AI AutoPilot feature acts as an assistant, fostering collaboration and providing real-time suggestions to help shape ideas into solutions.
- **Scalable Growth**: Being AI-powered, the project has the potential to grow rapidly and adapt to new requirements, making it a forward-looking solution for developers.

## Requirements

To successfully start building **PHPShift** projects, please ensure your system meets the following requirements:

### Software Requirements

- **PHP**: Version 8.1 or higher
- **Python**: Latest version
- **XAMPP**: Version 8.1 or higher (includes Apache, MySQL, and PHP)
- **MySQL**: Version 5.7 or higher (included in XAMPP)
- **Composer**: Version 2.0 or higher
- **Visual Studio Code**
- **Firefox**: With "User-Agent Switcher" extension

### Hardware Requirements

- **Processor**: Minimum 2 GHz dual-core processor
- **RAM**: Minimum 2 GB (depending on your project)
- **Storage**: (depending on your project)

## Installation

To install **PHPShift**, please follow these steps:

- Go to the [PHPShift](#) page and navigate to the **Downloads**.
- Click the "Download PHPShift" button on the page.
- Wait for the file `phpshift v1'0.exe` to download.
- After the download is complete, run `phpshift v1'0.exe` to install on your Windows system.
- To verify that **PHPShift** has been successfully installed, open your command prompt (cmd).
- Run the command `phpshift -help`, it should display the installed version.
- Go to the [PHPShift API](#) page and get your API key.
- Run the command `phpshift -key "YourApiKey"` to setup your connection.
- You are now ready to start using **PHPShift** to build your projects!

## Your First Project

Follow these steps to create your first **PHPShift** project:

- Navigate to your project destination directory.
- Open the Command Prompt (CMD) in the project destination directory.
- Run the following command `phpshift new`
- Answer the CLI questions regarding your project.
- Once your files are installed, run `phpshift start`
- Now you can have a chat.
- If you prefer voice chat, just text about it.
- Open provided link to check your project.

## Documentation

1. [Introduction](#)
1. [Installation](#)
1. [Artifacts](#)
1. [Storage](#)
1. [Engine Operators](#)
1. [Apis](#)
1. [Crons](#)
1. [Pages](#)
1. [Public](#)
1. [Configs](#)
1. [Elements](#)
1. [Globals](#)
1. [Languages](#)
1. [Modules](#)
1. [Tables](#)
1. [Templates](#)
1. [Tests](#)
1. [Types](#)
1. [CLI](#)
1. [Chat](#)