Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Oct 28, 2013
2 parents cc92134 + cc62873 commit f458316
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Enumerations for php [![Build Status](https://api.travis-ci.org/Alaneor/Enumeration.png)](https://travis-ci.org/Alaneor/Enumeration)
# Enumerations for php [![Build Status](https://api.travis-ci.org/Dreamscapes/Enumeration.png)](https://travis-ci.org/Dreamscapes/Enumeration)

Every php programmer at some point wants to put some structure to all those constants defined in their code. Usually one would put those constants under a dedicated class, but that's it; no additional features, no real benefit, no nothing.

Expand Down Expand Up @@ -69,19 +69,19 @@ $value = Animal::Dog;
echo Animal::getName( $value ); // prints (string)"Dog"
```

As you can see, suddenly there's much more you can possibly do with a class as simple as enumeration can be. Learn more in the [API Docs](http://alaneor.github.io/Enumeration/docs) which also include code examples and full method description.
As you can see, suddenly there's much more you can possibly do with a class as simple as enumeration can be. Learn more in the [API Docs](http://dreamscapes.github.io/Enumeration/docs) which also include code examples and full method description.

## Installation

### Via Composer:

`composer require alaneor\enumerations:dev-master`
`composer require dreamscapes\enumerations:dev-master`

Composer's autoloading is supported so as long as you `require "vendor/autoload.php";` somewhere in your code you can simply start using it.

## Documentation

[API documentation](http://alaneor.github.io/Enumeration/docs) is available online - it includes all public methods you can use and also several code samples and use cases.
[API documentation](http://dreamscapes.github.io/Enumeration/docs) is available online - it includes all public methods you can use and also several code samples and use cases.

### Offline documentation

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alaneor/enumeration",
"name": "dreamscapes/enumeration",
"description": "A simple Typedef Enum implementation for php",
"homepage": "https://github.com/Alaneor/Enumeration",
"homepage": "https://github.com/Dreamscapes/Enumeration",
"keywords": ["enumeration", "typedef", "enum", "constant", "static list license"],
"license": "BSD-3-Clause",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Enumeration/Enumeration.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Licensed under the BSD (3-Clause) license
* For full copyright and license information, please see the LICENSE file
*
* @copyright 2012-2013 Robert Rossmann
* @copyright 2013 Robert Rossmann
* @author Robert Rossmann <[email protected]>
* @link https://github.com/Alaneor/Enumeration
* @license http://choosealicense.com/licenses/bsd-3-clause BSD (3-Clause) License
Expand Down

0 comments on commit f458316

Please sign in to comment.