Download the PHP package broqiang/laravel-blog without Composer

On this page you can find all versions of the php package broqiang/laravel-blog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-blog

Bro Qiang 博客

版本说明

1.1 版本,添加了教程文章的模块,如果只是用最简单的博客功能,请选择 1.0 分支。

教程

写了一个用来安装本博客的教程,请参考: https://php-blog.broqiang.com/tutorials/blog-manual

服务器已经到期, 上面的地址不能再访问, 本项目也不再维护,已经将数据库文件放在项目,有兴趣的可以自己本地搭建环境

环境

此项目是在 LNMP 环境下开发的,理论上也支持 LAMP 没有实际测试过

安装

创建安装目录

创建一个项目保存目录,如果已经存在可以忽略此部

获取项目

方法一 直接通过 composer 安装

注意:

  • 此方法需要已经配置好了 composer

  • 此方法安装无法更新,有新的版本只能重新安装

方法二 通过 github 直接下载代码

安装依赖关系

配置目录权限

配置配置文件

初始化数据

生成 key

创建数据库表

可以根据个人喜好去创建

初始化数据库

如果需要初始化测试数据执行下面命令

如果不需要测试数据就不要执行下面的步骤了,因为会有不少垃圾数据的

暂时没有开发修改管理员的功能,默认db:seed 安装的用户就是管理员,需要手动连接到数据库,将 users 表中的 is_admin 改为 1 才可以看到后台

配置 Nginx

根据实际的情况配置,这里只记录配置的 server ,一个基础的配置

重启 Nginx 服务


All versions of laravel-blog with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
broqiang/laravel-image Version 1.0.*
broqiang/laravel-markdown Version 1.0.*
fideloper/proxy Version ~4.0
guzzlehttp/guzzle Version ~6.3
hieu-le/active Version ~3.5
laravel/framework Version 5.6.*
laravel/tinker Version ~1.0
mews/captcha Version ~2.0
overtrue/pinyin Version ~3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package broqiang/laravel-blog contains the following files

Loading the files please wait ....