contract

A signable contract that lives in a single file

Github星跟蹤圖

FTP Contract

A signable contract that lives in a single file

  • Host the stand-alone file on your own domain
  • Can only be singed once
  • Final document has Print and Download as PDF buttons

What's in each file

test.php

A demo of the contract -- at the stage where it's waiting for the second signature. This runs on a live server and can be viewed (and ran) at: vileworks.com/contract/test.php. The only difference between this file and contract.php (mentioned below) is that test.php doesn't delete itself when you sign it.

contract.php

All code (PHP, CSS, HTML, PNG-data, JS) required by a stand-alone contract file. Upon being signed, this script deletes itself (or rather, it deletes its .php file), and leaves behind an .html file: a final version of the contract, signed by both parties.

readme.md

The file containing the text you're currently reading.

How it works

When the Contract Script (contract.php) receives a signature from the Second Party (your Client/the last person who signs) it deletes itself from your server and and leaves behind a Contract Document (contract.html)

You can get the Contract Script in one of two ways:

Download and edit contract.php from this repo, follow the steps from the comments at the top of the file, and use this online tool to generate a new PNG signature. Give it a filename that is harder to guess.

Alternatively, you can generate a Contract Script online with custom HTML for the contract copy, a signature for the first party, and filename like contract-1447311912.php.

Send your Client a link to the contract, hosted under your own domain.

--

MIT License

主要指標

概覽
名稱與所有者nonsalant/contract
主編程語言PHP
編程語言PHP (語言數: 5)
平台
許可證MIT License
所有者活动
創建於2015-10-22 12:04:10
推送於2025-02-15 07:05:48
最后一次提交2024-01-17 15:16:06
發布數1
最新版本名稱v2.0.0 (發布於 )
第一版名稱v2.0.0 (發布於 )
用户参与
星數530
關注者數23
派生數101
提交數442
已啟用問題?
問題數8
打開的問題數0
拉請求數13
打開的拉請求數0
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?