定制 satmaxt/laravel-dist 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

satmaxt/laravel-dist

Composer 安装命令:

composer require satmaxt/laravel-dist

包简介

A command package to make distribution of app for shared hosting

README 文档

README

This package can generate distribution version of your app and ready to distribute on shared hosting.

Overview

If you has been installed this package, you can execute artisan command of this package

$ php artisan laravel-dist:run

After that, the package will generating the distribution version for you. This is the file that generated using this package.

Generated files

dist/public.zip // this contains the whole of files inside public folder

dist/laravel.zip // this contains core of the application, the content inside it can be costumized inside config/laravel-dist.php file

Requirements

  • PHP >= 7.2
  • PHP ZIP Extension
  • allow permission to php commands: system, chdir, rmdir, unlink, mkdir, copy, closedir

Installation

Require this package using composer.

composer require satmaxt/laravel-dist

Add ServiceProvider to your providers array on config/app.php file.

Satmaxt\LaravelDist\ServiceProvider::class

If you want to costumize the compresed files inside laravel.zip, you can copy the laravel-dist.php config file to your config folder using this command.

php artisan vendor:publish --provider="Satmaxt\LaravelDist\ServiceProvider"

Usage

Generate your distribution app using this command

php artisan laravel-dist:run

Copyright © 2020. Satmaxt Developer. Coded with ❤️ & ☕ at Bandung, Indonesia

统计信息

  • 总下载量: 26
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固