-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
186 lines (174 loc) · 10.8 KB
/
index.html
File metadata and controls
186 lines (174 loc) · 10.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BowerPHP - Powered by BeeLab</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="stylesheet" href="/assets/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/assets/highlightjs/styles/solarized_dark.css">
<link rel="stylesheet" href="/css/carousel.css">
<link rel="stylesheet" href="/css/main.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="//oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="navbar-wrapper">
<div class="container">
<div class="navbar navbar-inverse navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">BowerPHP</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="#download"><i class="fa fa-download"></i> Download</a></li>
<li><a href="#about"><i class="fa fa-info-circle"></i> About</a></li>
<li><a href="#source"><i class="fa fa-github"></i> Source</a></li>
<li><a href="#library"><i class="fa fa-dropbox"></i> Library</a></li>
<li><a href="#examples"><i class="fa fa-code"></i> Examples</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="item active">
<div class="container">
<div class="carousel-caption">
<img src="/bower-logo.png" width="150" alt="bower">
<img src="/php.png" width="150" alt="php">
<h1>BowerPHP</h1>
<p>A PHP implementation of Bower</p>
<p>
<a href="//travis-ci.org/Bee-Lab/bowerphp" target="travis"><img src="//travis-ci.org/Bee-Lab/bowerphp.png?branch=master" alt="travis"></a>
<a href="//insight.sensiolabs.com/projects/d1fbaca7-0e68-4782-979b-2372a9578c2d" target="insight"><img src="//insight.sensiolabs.com/projects/d1fbaca7-0e68-4782-979b-2372a9578c2d/mini.png" alt="insight"></a>
<a href="//codeclimate.com/github/Bee-Lab/bowerphp"><img src="//codeclimate.com/github/Bee-Lab/bowerphp/badges/coverage.svg" alt="coverage" /></a>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="container marketing">
<div class="starter-template">
<div class="row">
<h2 id="download"><a href="#download" class="anchor">Download <i class="fa fa-link"></i></a></h2>
<div class="well">
<p>
Here you can get the single executable file, that is all you need.
</p>
<p>
<a href="/bowerphp.phar" class="btn btn-primary btn-lg">
<i class="fa fa-download"></i> get bowerphp.phar <small>v0.5.3</small>
</a>
</p>
<p>
Put it in your current project, or (even better) move it in your <code>$PATH</code>
(e.g. <code>/usr/local/bin</code>).
</p>
<p>
<small>
Please note that this version of BowerPHP is compiled with PHP 7.1.
If you need a phar compatible with a different PHP version, you need to <a href="//github.com/Bee-Lab/bowerphp#building-the-phar" target="github">compile it yourself <i class="fa fa-external-link"></i></a>.
</small>
</p>
</div>
</div>
<div class="row">
<h2 id="about"><a href="#about" class="anchor">About <i class="fa fa-link"></i></a></h2>
<div class="well text-warning">
<p>
So, you would like to use the amazing <a href="//bower.io/" target="bower">Bower <i class="fa fa-external-link"></i></a> system to manage your frontend libraries.
But you have some constraint on your environment and you cannot use Node.js.
</p>
<p>
<strong>Bowerphp to the rescue</strong>! Just <a href="/bowerphp.phar">download bowerphp.phar</a> and use it in your projects. Same
protocol, different (but almost with same features) client.
</p>
<p class="text-danger">
<i class="fa fa-warning"></i> Bowerphp is currently in <strong>v0.*.*</strong> status. Things <em>should</em> work, but you have been warned.
For a list of known issues, see <a href="//github.com/Bee-Lab/bowerphp" target="github">github</a>.
</p>
</div>
</div>
<div class="row">
<h2 id="source"><a href="#source" class="anchor">Source <i class="fa fa-link"></i></a></h2>
<div class="well">
<p>
You do not need anything but bowerphp.phar to work, but if you feel like to help with
Bowerphp development, you are more than welcome!
</p>
<p>
The project is hosted on <strong>github</strong>.
</p>
<a class="btn btn-success btn-lg" href="//github.com/Bee-Lab/bowerphp" target="github">
<i class="fa fa-github"></i>
Bowerphp
</a>
</div>
</div>
<div class="row">
<h2 id="library"><a href="#library" class="anchor">Library <i class="fa fa-link"></i></a></h2>
<div class="well">
<p>
If you prefer (or if you need it), instead of downloading standalone bowerphp.phar,
you can add the whole Bowerphp library as a <strong>dependency</strong> of your existing PHP project.
You just need <a href="//getcomposer.org/" target="composer">composer <i class="fa fa-external-link"></i></a>:
</p>
<pre class="bash"><code>$ composer require beelab/bowerphp</code></pre>
<p>
You'll find an executable under <code>bin/bowerphp</code>.
</p>
<p>
For more options about versions of Bowerphp, and to see the requirements for installation,
please refer to its <a href="//packagist.org/packages/beelab/bowerphp" target="packagist">packagist page <i class="fa fa-external-link"></i></a>.
</p>
</div>
</div>
<div class="row">
<h2 id="examples"><a href="#examples" class="anchor">Examples <i class="fa fa-link"></i></a></h2>
<div class="well">
<p>(Following examples assume that your Bowerphp file is named "bowerphp" and is in your <code>$PATH</code>)</p>
<p>Show available commands</p>
<pre class="bash"><code>$ bowerphp</code></pre>
<p>Install latest version of jquery</p>
<pre class="bash"><code>$ bowerphp install jquery</code></pre>
<p>Install a specific version</p>
<pre class="bash"><code>$ bowerphp install jquery#1</code></pre>
<p>More examples on <a href="//bower.io/#getting-started" target="bower" title="bower.io usage examples">bower.io <i class="fa fa-external-link"></i></a>.</p>
</div>
</div>
</div>
<footer>
<p class="pull-right"><a href="#">Back to top</a></p>
<p class="pull-left">© 2014 - 2017 <a href="//massimilianoarione.it" target="beelab">Massimiliano Arione</a> & <a href="//mauro.dalatri.it" target="beelab">Mauro D'Alatri</a></p>
<p class="text-center">BowerPHP project is not affiliated with or endorsed by <a href="//php.net/" target="php">php.net</a> and/or <a href="//bower.io" target="bower">bower.io</a></p>
</footer>
</div>
<script type="text/javascript" src="/assets/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/assets/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/assets/highlightjs/highlight.pack.js"></script>
<script type="text/javascript" src="/js/main.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46334660-1', 'bowerphp.org');
ga('send', 'pageview');
</script>
</body>
</html>