Code Monkey home page Code Monkey logo

laravel-backup-flush's Introduction

laravel-backup-flush

Note*: Please don't use this code to harm any people/project.

This code will help you to take backup of Laravel files/database very easily without FTP/Database access. You just need to upload this files once in a project.

This code will also help you to delete/flush whole project with database incase if client refuses to pay for your work.

How to create backup of Database and Files

  1. Upload this file to public folder of Laravel. Now you can run this file directly from URl. For example, www.your-domain.com/lara-enc.php

  2. When you run this file, first it will create database backup as "GZ" file and place it in public folder.

  3. Then it will create "ZIP" file of enitre project (which also includes database backup file) in public directory.

  4. It will also force download the final ZIP file of backup otherwise you can get it from www.your-domain.com/project.zip

How to flush entire project

Note*: Make sure you have backup of your database/files before running below steps.

  1. Run below URL "www.your-domain.com/lara-enc.php?key=123456". Here we are running same file with additional URL parameter "key".

  2. After running above URL, this code will delete entire Laravel projects and also will delete all tables from database. It will also delete "lara-enc.php" file.

laravel-backup-flush's People

Contributors

mohitmehta1996 avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.