You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
-
laravel-potion
2
-
===============
1
+
#laravel-potion
2
+
3
3
Potion is a pure PHP asset manager for Laravel based off of[Assetic](https://github.com/kriswallsmith/assetic).
4
4
5
-
###Description
5
+
#Description
6
6
Laravel 5 comes with a great asset manager called Elixir. While there is nothing wrong with Elixir, it requires you to install Node.js, Gulp, and dependent NPM packages on all of your web serves. While there is nothing wrong with this if you have other needs for those technologies, it seemed unnecessary to us to install that stack solely for the sake of handling assets. So we wrote Potion. Potion is a pure PHP solution, based off of[Assetic](https://github.com/kriswallsmith/assetic) that allows you to handle your assets in the same technology stack that your application is written in.
7
7
8
8
When using Potion the you will often see is "resources" and "assets". Think of resources as the raw resources inside of Laravel resources direction. Think of assets as what Potion will generate and will ultimately be served to visitors.
9
9
10
-
###Laravel Support
10
+
#Laravel Support
11
11
At this time Potion only supports Laravel 5.1 or higher. While Laravel 4 support was easy to implement in code, the time needed to support requests was too much.
12
12
13
-
###Features
13
+
#Features
14
14
- Fully integrated into Laravels' artisan commands
15
15
- Asset versioning support
16
16
- Asset CDN Url support
@@ -29,7 +29,7 @@ At this time Potion only supports Laravel 5.1 or higher. While Laravel 4 support
29
29
- JsCompressorFilter from YUI
30
30
- ScssphpFilter
31
31
32
-
###Installation
32
+
#Installation
33
33
1) Add 'classygeeks/potion' package to your composer.json file:
34
34
35
35
2) Add the Potion Service provider to your config/app.php file under the predefined "providers" array:
@@ -49,7 +49,7 @@ At this time Potion only supports Laravel 5.1 or higher. While Laravel 4 support
49
49
50
50
You will now see to new Potion artisan commands. The configuration is very well documented and should be able to get even the most complex projects going quickly.