slothlabdotcom/sloth-utilities 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

slothlabdotcom/sloth-utilities

Composer 安装命令:

composer create-project slothlabdotcom/sloth-utilities

包简介

Contains necessary utilities for Sloth-Lab S.A.R.L projects

README 文档

README

Sloth Utilities

This package gives your Laravel projects some utilities that you might need for production. It's so simple to use, once it's installed, your project will be at your full controll when delivering it to your client.

It's a package meant for freelancers that have issues with scammers and none paying clients, or to also facilitate the deployment and updates without having server access nor setting up github actions.

Top features:

  • Kill Switch that "kills the project" by putting it in maintenance mode and hiding tthe routes
  • Reviving the project
  • Clear cache and optimize the app
  • Launch seed (or maybe you want to see an admin user ;) )
  • Refresh migration
  • Security Check
  • Malware Scanner
  • Many more to come...

Getting Started

1. Install

Run the following command:

composer require slothlabdotcom/sloth-utilities

after the package is installed run the following :

php artisan sloth:install

2. Register (for Laravel < 5.5)

Register the service provider in config/app.php

Slothlabdotcom\SlothUtilities\SlothUtilitiesServiceProvider::class,

3. Configure

Default password can be modified on config/ziplock.php

Usage

Keep in mind slothadmin is the default password for the utilities and can be changed in config/ziplock.php, while doing that do not forget to clear configs by running :

php artisan config:clear

Kill the Project

By visiting the link below you project will go into maintenance mode and hides the web.php route by backing it up into config/lock.php so make sure you don't accidently delete it unless you are very sure.

http://localhost:8000/SlothLab/Kill/slothadmin

change localhost:8000 with your app domain and slothadmin with your password

Revive the Project

to revert the process first go to

http://localhost:8000/slothadmin

where slothadmin with your password to go into the secret mode while the application is in maintenaince mode then

http://localhost:8000/SlothLab/Revive/slothadmin

Utilities

to access your utilities you just have to visit

http://localhost:8000/SlothLab/utilities/slothadmin

there you can hover on each button to see what it does exactly

Screenshots

License

The Sloth Utilities is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固