Code Monkey home page Code Monkey logo

projectghost's Introduction

Project Change Monitoring

This package will help you see changes to a pre-built Laravel project and get those changes as a compressed file.

Here are a few short examples of what you can do:

توضیحات فارسی

در هنگام توسعه پروژه خود گاهی نیاز است که تغییراتی که از یک لحظه اتفاق می افتد را ببینیم .

از دیگر استفاده های آن می توان به زمانی اشاره کرد که شما در حال توسعه یک پروژه بر روی هاست اشتراکی هستید ، در آن جا شما دسترسی به گیت یا کامپوزر ندارید بنابراین می توانید تغییرات را ببینید و در یک فایل فشرده به هاست خود منتقل کنید.

Notice

Note that this package is in development and may have a lot of bugs at first

How to install ?

composer require saeedvir/projectghost

How to use ?

This command creates a digital signature from all the files in the project

php artisan project:ghost init

Now you can work on the project and apply the changes

The following command finds files that have been modified or created or deleted

php artisan project:ghost scan

If you use the following command, make these changes in a zip file

php artisan project:ghost scan zip

Or the following command will show you a summary of these changes

php artisan project:ghost scan log

For Help :

php artisan project:ghost help

How to execute artisan commands from route or controller in Laravel ?

Route::get('ProjectGhostCommands/{command}', function ($command) {

	/*
		For Example :
		
		http://127.0.0.1/ProjectGhostCommands/init 
		http://127.0.0.1/ProjectGhostCommands/scan 
		http://127.0.0.1/ProjectGhostCommands/scan log 
		http://127.0.0.1/ProjectGhostCommands/scan zip 
	*/

	$command = explode(' ',$command);
	if(!isset($command[1])){
		$command[1] = null;
	}
  
    \Artisan::call('project:ghost',['mode'=>$command[0],'options'=>$command[1]]); 

});

Other Packages

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

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.