Skip to content

Commit 705d92e

Browse files
committed
Merge branch 'master' into develop
2 parents 9c865a4 + 32c7319 commit 705d92e

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ The cineman Workbench provides helpful utils and tools for the daily developer l
77
[![Packagist Version](https://img.shields.io/packagist/v/cineman/workbench.svg?style=flat-square)](https://packagist.org/packages/cineman/workbench)
88
[![Total Downloads](https://img.shields.io/packagist/dt/cineman/workbench.svg?style=flat-square)](https://packagist.org/packages/cineman/workbench)
99

10+
Check out the [Documentation](http://labs.cinergy.ch/project/workbench/master/docs/).
11+
1012
## Installtion
1113

1214
The workbench is available on packagegist.

docs/index.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Workbench
2+
3+
The cineman Workbench provides helpful utils and tools for the daily developer life.
4+
5+
[![Build Status](https://travis-ci.org/cineman/workbench.svg?branch=master&style=flat-square)](https://travis-ci.org/cineman/workbench)
6+
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](license.md)
7+
[![Packagist Version](https://img.shields.io/packagist/v/cineman/workbench.svg?style=flat-square)](https://packagist.org/packages/cineman/workbench)
8+
[![Total Downloads](https://img.shields.io/packagist/dt/cineman/workbench.svg?style=flat-square)](https://packagist.org/packages/cineman/workbench)
9+
10+
## Installtion
11+
12+
The workbench is available on packagegist.
13+
14+
```
15+
$ composer require cineman/workbench
16+
```
17+
18+
## Usage
19+
20+
To easier and faster access the workbench tools you can alias the classes to the global namespace:
21+
22+
```php
23+
foreach(['Str', 'Arr'] as $tool)
24+
{
25+
class_alias("\\Workbench\\" . $tool, "\\" . $tool);
26+
}
27+
```
28+
29+
> warning: If you are using a framework like laravel theses class names might already been reserved!

0 commit comments

Comments
 (0)