Skip to content

Commit d599edd

Browse files
authored
1 parent 76b82c7 commit d599edd

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

Function.HTML-Build-Attributes.php

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22

33
if (!function_exists('html_build_attributes')) {
4-
54
/**
65
* Generate a string of HTML attributes
76
*

README.md

-14
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,6 @@ Returns a string of HTML attributes.
3333
$ composer require mcaskill/php-html-build-attributes
3434
```
3535

36-
```json
37-
{
38-
"repositories": [
39-
{
40-
"type": "git",
41-
"url": "https://gist.github.com/***.git"
42-
}
43-
],
44-
"require": {
45-
"mcaskill/php-html-build-attributes": "dev-master"
46-
}
47-
}
48-
```
49-
5036
### Without Composer
5137

5238
Why are you not using [composer](http://getcomposer.org/)? Download `Function.HTML-Build-Attributes.php` from the gist and save the file into your project path somewhere.

composer.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"name": "mcaskill/php-html-build-attributes",
3+
"version": "1.0.0",
34
"description": "Generate a string of HTML attributes.",
5+
"license": "MIT",
46
"authors": [
57
{
68
"name": "Chauncey McAskill",

0 commit comments

Comments
 (0)