Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Mysql | 13,692 | 4,892 | 11,214 | 3 days ago | 51 | April 25, 2023 | 74 | mpl-2.0 | Go | |
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package | ||||||||||
Migrate | 12,321 | 815 | a day ago | 132 | June 11, 2023 | 297 | other | Go | ||
Database migrations. CLI and Golang library. | ||||||||||
Awesome Mysql | 2,140 | 4 days ago | 11 | other | ||||||
A curated list of awesome MySQL software, libraries, tools and resources | ||||||||||
Sqler | 1,918 | 2 years ago | 2 | July 12, 2021 | apache-2.0 | Go | ||||
write APIs using direct SQL queries with no hassle, let's rethink about SQL | ||||||||||
Vscode Sqltools | 1,281 | 1 | 61 | a month ago | 13 | October 16, 2022 | 191 | mit | TypeScript | |
Database management for VSCode | ||||||||||
Mysql Connector Python | 805 | 1 | 2 months ago | 20 | May 06, 2022 | 1 | other | Python | ||
MySQL Connector/Python is implementing the MySQL Client/Server protocol completely in Python. No MySQL libraries are needed, and no compilation is necessary to run this Python DB API v2.0 compliant driver. Documentation & Download: http://dev.mysql.com/doc/connector-python/en | ||||||||||
Mysql Connector J | 784 | 152,731 | 3,033 | a month ago | 88 | March 08, 2022 | 1 | other | Java | |
MySQL Connector/J | ||||||||||
Upsert | 644 | 56 | 4 | 3 years ago | 35 | December 19, 2019 | 26 | mit | Ruby | |
Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE. | ||||||||||
Rust Mysql Simple | 599 | 134 | 84 | 2 months ago | 128 | June 28, 2022 | 24 | apache-2.0 | Rust | |
Mysql client library implemented in rust. | ||||||||||
Laravel Scout Mysql Driver | 511 | 11 | 6 | 2 years ago | 33 | December 08, 2021 | 36 | mit | PHP | |
Laravel Scout MySQL Driver |
演示传送门: https://demo.calm7.com 帐号密码均为:test001
项目内的超级管理员 帐号:admin 密码:admin123
1.使用仓储(Repository)模式
2.使用trait,提高代码复用、减少复杂性
3.封装使用率高的方法到trait类中
4.命令一键生成仓储模式 类名 php think depot [应用名/]类名
5.模板生成器,生成数据列表页面和表单页面 (高可扩展性和衍生性,开发效率可提升60%)
6.Request类 加入参数名映射 控制器中方法代码有示例 源码在app\Request
类中查看
7.组权限控制,用户组权限控制 (展示菜单树节点)
8.加入了内容模块和网站模块 (可用作CMS内容管理系统,其实模块可以删掉)
/**
* 代码示例
* @param string|null $a 字符串类型
* @param array|null $arr 数组类型
* @param int|null $int 整型
* @param float|null $float 浮点型
* @return mixed
* @author staitc7 <[email protected]>
*/
public function demo(?string $a='demo',?array $arr=[],?int $int=0,?float $float=2.3)
{
//TODO 你的代码...
return ;
}
static7的运行环境必须要求在 PHP7.1+ 及以上。
mysql5.7+ 需要关闭严格模式
强制通过虚拟域名访问
window系统 WampServer Version 3.0.6 64bit 配置示例
配置如下通过虚拟域名访问
配置apache下的httpd-vhosts.conf文件 路径X:\wamp64\bin\apache\apache2.4.23\conf\extra
增加以下代码
<VirtualHost *:80>
DocumentRoot "X:/xxx/tp6/public/"
ServerName www.tp6.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
<Directory "X:/xxx/tp6/public/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride all
Require all granted
</Directory>
</VirtualHost>
然后重启wamp
再打开自己本地的C:\Windows\System32\drivers\etchosts文件,配置如下:
127.0.0.1 www.tp6.com
在框架中的.env(.example.env重命名为.env)文件中 添加如下域名(顶级域名即可)
host=tp6.com
最后在配置文件app/config/app.php
中,添加绑定域名
// 域名绑定(自动多应用模式有效)
'domain_bind' => [
'www' => 'admin',
],
data目录下的past.sql
文件
请自行导入数据库默认库名为past
字符集为utf8mb4
关闭mysql 的严格模式,并修改my.ini
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
修改为
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Static7基础管理系统为本人一个人开发,精力有限.可能更新比较慢. 如有BUG, 请在issues反馈.
提醒:和项目相关的问题最好在 issues 中反馈,这样方便其他有类似问题的人可以快速查找解决方法。