All Projects → mattrmiller → Laravel Potion

mattrmiller / Laravel Potion

Licence: mit
laravel - Potion is a pure PHP asset manager for Laravel 5 based off of Assetic.

Programming Languages

elixir
2628 projects
js
455 projects

Projects that are alternatives of or similar to Laravel Potion

Laravel Gitscrum
GitScrum is a Project Management Tool, developed to help entrepreneurs, freelancers, managers, and teams Skyrocket their Productivity with the Agile methodology and Gamification.
Stars: ✭ 2,686 (+4163.49%)
Mutual labels:  laravel, laravel-5-package, laravel-framework
Laravel 5 Messenger
A Simple Laravel 5, 6, 7 & 8 Messenger with Pusher Capabilities
Stars: ✭ 75 (+19.05%)
Mutual labels:  laravel, laravel-5-package, laravel-framework
Laraupdater
Enable Laravel App Self-Update. Allow your Laravel Application to auto-update itself.
Stars: ✭ 75 (+19.05%)
Mutual labels:  laravel, laravel-5-package, laravel-framework
Laravel Form Builder
Laravel Form builder for version 5+!
Stars: ✭ 1,601 (+2441.27%)
Mutual labels:  laravel, laravel-5-package, laravel-framework
Auth Tests
Always-current tests for Laravel's authentication system. Curated by the community.
Stars: ✭ 230 (+265.08%)
Mutual labels:  laravel, laravel-5-package, laravel-framework
Blogetc
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.
Stars: ✭ 198 (+214.29%)
Mutual labels:  laravel, laravel-5-package, laravel-framework
Brandenburg
Laravel Authentication Package
Stars: ✭ 79 (+25.4%)
Mutual labels:  laravel, laravel-5-package, laravel-framework
Laracrud
Laravel Code Generator based on MySQL Database
Stars: ✭ 238 (+277.78%)
Mutual labels:  laravel, laravel-5-package, laravel-framework
Assets
An ultra-simple-to-use assets management library for PHP
Stars: ✭ 292 (+363.49%)
Mutual labels:  assets, assets-management, laravel
Larawiz
Larawiz is a easy project scaffolder for Laravel
Stars: ✭ 28 (-55.56%)
Mutual labels:  laravel, laravel-framework
Laravel User Settings
Simple and persistent boolean settings per user
Stars: ✭ 34 (-46.03%)
Mutual labels:  laravel, laravel-5-package
Laravel Ip Gateway
Laravel IP Gateway
Stars: ✭ 37 (-41.27%)
Mutual labels:  laravel, laravel-framework
Orderable
My very first Laravel package
Stars: ✭ 21 (-66.67%)
Mutual labels:  laravel, laravel-5-package
Laravel Test Factory Helper
Generate Laravel test factories from your existing models
Stars: ✭ 873 (+1285.71%)
Mutual labels:  laravel, laravel-5-package
Laravel Qrcode Ecommerce
This is a complete laravel project that handles qrcodes, payments, api/microservices, and ecommerce
Stars: ✭ 36 (-42.86%)
Mutual labels:  laravel, laravel-framework
Improved Polymorphic Eloquent Builder
🔨 Improved Polymorphic Eloquent Builder
Stars: ✭ 12 (-80.95%)
Mutual labels:  laravel, laravel-5-package
Russianpost Sdk
PHP SDK для Почты России
Stars: ✭ 43 (-31.75%)
Mutual labels:  laravel, laravel-5-package
Laravel Settings
Simple Settings package for a laravel application
Stars: ✭ 45 (-28.57%)
Mutual labels:  laravel, laravel-5-package
Laravel Blog 5.6.5
Learning Laravel by making simple Blog
Stars: ✭ 12 (-80.95%)
Mutual labels:  laravel, laravel-framework
Laravel Compass
A REST client inside your Laravel app
Stars: ✭ 1,002 (+1490.48%)
Mutual labels:  laravel, laravel-framework

laravel-potion

Potion is a pure PHP asset manager for Laravel based off of Assetic.

Description

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 that allows you to handle your assets in the same technology stack that your application is written in.

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.

Laravel Support

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.

Features

  • Fully integrated into Laravels' artisan commands
  • Asset versioning support
  • Asset CDN Url support
  • Blade Helpers for Asset inclusion in templates
  • Command to clear all assets already published on disk
  • Makes use of Cache configuration, and not disk, in order to account for load balanced servers.
  • Supports the following filters from Assetic:
    • OptiPngFilter
    • CssImportFilter
    • CssRewriteFilter
    • CssMinFilter
    • CssCompressorFilter from YUI
    • LessphpFilter
    • JSMinFilter
    • JpegoptimFilter
    • JsCompressorFilter from YUI
    • ScssphpFilter

Installation

  1. Add 'classygeeks/potion' package to your composer.json file:

  2. Add the Potion Service provider to your config/app.php file under the predefined "providers" array:

'providers' => [
	'Illuminate\Foundation\Providers\ArtisanServiceProvider',
	...
	'ClassyGeeks\Potion\PotionServiceProvider'
	...
	],
  1. Publish the config file
	php artisan vendor:publish

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.

Future Features

  • Resource watching command functionality
  • Support for more filters from Assetic

Rules For Contributing

  • Please make sure all changed files are run through gofmt
  • Submit a PR for review
  • Your name will be added below to Contributors

Author

Matthew R. Miller

Contributors

Matthew R. Miller

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].