Coder Social home page Coder Social logo

live php 简洁高效的PHP框架

框架核心只做了一件事: url地址到控制器方法的映射 支持多级控制器目录

  • 默认地址:/index/index 对应 app/controller/index.php控制器 index方法
  • /admin/user/list 对应 app/controller/admin/user.php控制器 list方法
  • /home/user/index/userinfo 对应 app/controller/home/user/index.php控制器 userinfo方法

集成mysql操作

ninvfeng/mysql

集成mongodb操作

ninvfeng/mongodb

集成数据验证

think-validate

封装get和post方法快速获取并验证请求参数

  • $id=get('id','require','请输入ID');
  • $username=post('username','require|min:6','请填写用户名且长度不少于6位');

适用场景

  • 回归php简单的本质, 快速开始一个简单的项目
  • 框架核心只有短短几十行, 特别适合学习如何快速搭建一个自己的框架

ninvfeng's Projects

live icon live

live php 又一个简洁高效的PHP框架

mongodb icon mongodb

一个简单的php7 mongodb数据库操作类

mysql icon mysql

一个简单的PDO mysql数据库操作类

new-api icon new-api

基于One API的二次开发版本,支持Midjourney,仅供个人管理渠道使用,请勿用于商业API分发!

one-api icon one-api

OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.

po icon po

Paste OCR 识别图片文本小工具

pwss icon pwss

PHP WebSocket Server pwss一个基于swoole的简单PHP websocket 服务

startmc icon startmc

一个python写的快速启动远程服务器我的世界服务的小工具

suno-api icon suno-api

This is an unofficial Suno API based on Python and FastAPI. It currently supports generating songs, lyrics, etc. It comes with a built-in token maintenance and keep-alive feature, so you don't have to worry about the token expiring.

syncmusic icon syncmusic

🎵 PHP Swoole 开发的在线同步点歌台,支持自由点歌,切歌,调整排序,删除指定音乐以及基础权限分级

typecho icon typecho

A PHP Blogging Platform. Simple and Powerful.

yaf icon yaf

yaf项目快速开发 快速开发demo 已集成swoole、红包、二维码、高并发秒杀计数器、数据库连接池、直播平台

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.