PHPackages                             saguitech/canary - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. saguitech/canary

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

saguitech/canary
================

Canary is a cleaner version of the PHP language, like SASS for CSS, or TypeScript to Javascript, etc.

v0.1-alpha1(11y ago)471MITPHPPHP &gt;= 5.3

Since Aug 11Pushed 11y ago4 watchersCompare

[ Source](https://github.com/SaguiTech/Canary)[ Packagist](https://packagist.org/packages/saguitech/canary)[ Docs](https://github.com/SaguiTech/Canary)[ RSS](/packages/saguitech-canary/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (2)Used By (0)

Canary
======

[](#canary)

Canary is a cleaner version of the PHP language, for a faster development.

Warning: The current version is highly unstable, and is under development by SaguiTech's team. Don't use it for production.

[![Build Status](https://camo.githubusercontent.com/1860b600d0b496eb2958867425703bb3e8826bf747eba93b3fe98daf99e1f471/68747470733a2f2f7472617669732d63692e6f72672f5361677569546563682f43616e6172792e737667)](https://travis-ci.org/SaguiTech/Canary)

Features
--------

[](#features)

- Code without annoying semicolons;
- and the $ preceding variables.

Installation
------------

[](#installation)

You can be cloning this repository and build a [PHP Archive (PHAR)](http://php.net/phar) using the [box-project](http://box-project.org/)

```
$ git clone https://github.com/SaguiTech/Canary.git
$ composer update
$ php vendor/bin/box build
$ chmod +x canary.phar
$ mv canary.phar /usr/local/bin/canary
```

Check the installation:

```
$ canary --version
```

Example
-------

[](#example)

file.cap

```
echo "hello!\n"

variableWithNumbers10 = 10

VariableA = 'yes'
varB = 'no'

if (VariableA == varB)
	echo 'yes!'
else
	echo 'no!'

```

Then run:

`$ canary run file.cap`

The output is (file.php):

```
