slothlabdotcom/sloth-utilities

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

Installs: 54

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 0

Open Issues: 0

Language:Blade

Type:project

1.1 2021-11-17 16:29 UTC

This package is auto-updated.

Last update: 2024-05-17 21:47:48 UTC


README

68747470733a2f2f736c6f74682d6c61622e636f6d2f73732d30322e706e67

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

68747470733a2f2f736c6f74682d6c61622e636f6d2f53637265656e73686f745f332e706e67

68747470733a2f2f736c6f74682d6c61622e636f6d2f53637265656e73686f745f322e706e67

License

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