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 (发布于 )
用户参与
星数526
关注者数23
派生数101
提交数442
已启用问题?
问题数8
打开的问题数0
拉请求数13
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?