{"id":19166693,"url":"https://github.com/lmsail/laravel-lmsail","last_synced_at":"2025-06-23T16:34:04.950Z","repository":{"id":42647934,"uuid":"185387077","full_name":"lmsail/laravel-lmsail","owner":"lmsail","description":"💎 LmSail社区是基于Laravel5.8开发的支持Markdown语法的开源博客系统，后端采用laravel-admin","archived":false,"fork":false,"pushed_at":"2024-04-21T07:55:04.000Z","size":14819,"stargazers_count":13,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T22:34:38.284Z","etag":null,"topics":["blog","laravel","laravel-admin","markdown","php","php7"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmsail.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-07T11:24:40.000Z","updated_at":"2024-06-23T21:48:17.000Z","dependencies_parsed_at":"2024-11-09T09:45:36.257Z","dependency_job_id":null,"html_url":"https://github.com/lmsail/laravel-lmsail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmsail%2Flaravel-lmsail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmsail%2Flaravel-lmsail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmsail%2Flaravel-lmsail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmsail%2Flaravel-lmsail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmsail","download_url":"https://codeload.github.com/lmsail/laravel-lmsail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252887915,"owners_count":21819936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","laravel","laravel-admin","markdown","php","php7"],"created_at":"2024-11-09T09:34:00.684Z","updated_at":"2025-05-07T13:35:44.734Z","avatar_url":"https://github.com/lmsail.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### 写在前面的话  \n\nLmSail社区的前身是基于`UUASK问答系统`改造而成的，历时一个多月，集`问答`、`博客`、`商城`、`在线群聊`等功能于一身的`MarkDown博客问答`型社区，其内核为`ThinkPhp3.2`（搭建时还木有接触`ThinkPhp5.x`版本），当后来陆续接触了`ThinkPhp5.0`、`ThinkPhp5.1`、`Laravel`后，体验到了代码的优雅，友好，新颖等特性，有了`重构`的决定，当然在时间上可能来的稍晚了一些，在`重构`前，一直在使用`ThinkPhp5.1`框架，可能是用的有点`厌倦`了，哈哈，大概程序员都这样吧，总是想尝试点新的东西！也因此加入了`Laravel`的大家庭，新的LmSail社区也是在边学边做的情况下悄悄的诞生了！  \n\n### 更新\n\n\u003e 许久未动的代码，今天运行了以下竟然埋了很多BUG，真是惊讶，当然已经一一修复了！sorry...\n\n- [debug] 表情不显示：存了缓存，需要手动清理`storage/framework/cache`文件夹\n- [debug] 评论保存：更改数据库`comment`表，修改`is_reply`字段，添加默认值：0\n- [debug] 修复博客列表、个人中心、文章详情报错\n\n### LmSail社区以前的模样  \n\n![LmSail年轻时](https://github.com/lmsail/laravel-lmsail/blob/master/preview/old.png)\n\n### LmSail社区现在的样子  \n\n![laravel-lmsail](https://github.com/lmsail/laravel-lmsail/blob/master/preview/new.png)\n\n### LmSail社区介绍  \nLmSail社区基于`Laravel5.8`开发而成，界面及部分功能模仿`Summer`大神的`learnku`社区，后端使用`Laravel-admin`搭建而成，目前已完成的功能如下：  \n* 基本博客功能，`点赞`、`评论`，同时支持`MarkDown`\n* 社区动态，也是LmSail社区主打功能，支持`MarkDOwn`，`表情`，`点赞`、`评论`（支持@xx 功能）  \n* 用户中心部分功能（资料修改，博客中心等）\n* 简单搜索支持\n\n尚未完成的部分：  \n\n* 用户中心待完善\n* 消息系统（站内信，回复，评论等通知）\n* 搜索采用`elasticsearch`全文搜索引擎重构\n* 其他（loading...）  \n\n### 安装及使用  \n1. 拉取LmSail社区代码  \n```\ngit clone https://github.com/lmsail/laravel-lmsail.git\n```\n2. 生成`.env`配置文件中`APP_KEY` 应用密钥\n```\nphp artisan key:generate\n```\n3. 设置`.env`配置文件中`APP_URL` 网站地址\n```\nAPP_URL=http://www.testblog.com\n```\n4. 更改数据库配置，如下：  \n```\nDB_CONNECTION=mysql\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_DATABASE=testblog\nDB_USERNAME=root\nDB_PASSWORD=root\n```\n5. ~~根目录下执行`composer install`安装扩展（此步骤可忽略）~~\n6. 生成数据表，命令行执行：\n```\nphp artisan migrate\n```\n7. 生成数据，命令行执行：\n```\nphp artisan db:seed\n```\n8. 建立storage目录文件到public的软连接\n```\nphp artisan storage:link \n```\n9. 至此`LmSail社区`就安装完成了，访问第三步设置的域名就可以愉快的访问啦\n```\n前台管理员账号：`lmsail`   `12345678`\n后台地址：http://www.testblog.com  账号密码默认：admin  \n```\n\n-----\n\n### License  \n\n* LmSail社区系统仅仅作为个人学习用途，基于`MIT License` 协议，将永久`免费`、`开源`，这意味着使用者可以随意更改及使用，无需保留`Powered by lmsail.com`等字样！  \n* 请遵守当地法律，请勿恶意传播，损伤！开源不易，请多多支持！\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmsail%2Flaravel-lmsail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmsail%2Flaravel-lmsail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmsail%2Flaravel-lmsail/lists"}