Developed with love by KnpLabs Hire us for your project!
60

PrestaComposerPublicBundle

by prestaconcept

A symfony 2 bundle that provides a simple way to include public 3rd-party libraries (javascripts, css, pictures ...) into your projects and keep its up-to-date.

PrestaComposerPublic Bundle

Build Status
Scrutinizer Quality Score
Latest Stable Version
Total Downloads

SensioLabsInsight
PrestaComposerPublicBundle on Knpbundles

Overview

The goal of this bundle is to provide a simple way to include public 3rd-party
libraries (javascripts, css, pictures ...) into your projects and keep its up-to-date.

  1. Add the library to composer.json
  2. Configure the library in PrestaComposerPublicBundle
  3. Use the library as any other assets in the project.

:speech_balloon: If you want to have some information about the project progression you can register to our google group

Why this bundle?

Because there's lot of meta bundles that provides libraries like jQuery, bootstrap
and only the most populars are maintain and up-to-date.
The probably fastest other way is to freeze the library into your project and sometimes hack it ...
Wait ?! nooooooo ! Nooooo!

So now make it better: start configure it using composer, use it as any other assets
and then keep it up-to-date simply with composer.

Issue tracker

:clipboard: Issues are managed in prestaconcept/open-source-management to centralize our open source activity.

Documentation

:book: Documentation is available on prestaconcept.github.io

Demonstration

For a ready to use demonstration of this bundle you should check the prestacms-sandox available on github.

Sandbox is also deployed for a live demonstration :

Ask for help

:speech_balloon: If you need help about this project you can post a message on our google group

Contributing

Pull requests are welcome.

Thanks to
everyone who has contributed already.


This project is supported by PrestaConcept

Lead Developer : @nicolas-joubert

Released under the MIT License

Bitdeli Badge

Copyright (c) 2012, Prestaconcept

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
presta_composer_public:

# create a symlink in PrestaComposerPublicBundle folder or a hardcopy.
symlink: false

# Without parameters the key is used to detect vendor & name
blend:

# vendor as it is configured in composer.json
vendor: ~

# name as it is configured in composer.json
name: ~

# the path you want to be public (related to library root folder)
path: /
  • Create CHANGELOG.md
    By nicolas-bastien, 3 years ago
  • Remove unused readme links
    By nicolas-joubert, 3 years ago
  • Align badges
    By nicolas-bastien, 3 years ago
  • Prepare version 1.0.0
    By nicolas-joubert, 3 years ago
  • prestaconcept/open-source-management#14 Correct errors when switching for symlink to hard copy or from hard copy to symlink.
    By nicolas-joubert, 3 years ago
  • #6 Rule #36-033 PHP methods should not contain too much logic
    By nicolas-joubert, 3 years ago
  • Default value for symlink option is false
    By nicolas-joubert, 3 years ago
  • Merge pull request #9 from prestaconcept/issue8_command_review
    By nicolas-joubert, 3 years ago
  • #8 add some help on symlink option
    By nicolas-joubert, 3 years ago
  • #8 Remove --force and --copy from Command.
    By nicolas-joubert, 3 years ago
  • #5 Correct copying assets ability (with --copy command option or symlink: false configuration)
    By nicolas-joubert, 3 years ago
  • #7 refactoring
    By nicolas-joubert, 3 years ago
  • #7 refactoring
    By nicolas-joubert, 3 years ago
  • #7 Add method to get current path and then correct bundlePath creation
    By nicolas-joubert, 4 years ago
  • #6 [Insight] Sensio Insight Corrections
    By nicolas-joubert, 4 years ago
  • Fix test AppKernel inclusion and phpcs ignore list on travis
    By nicolas-joubert, 4 years ago
  • #4
    By nicolas-joubert, 4 years ago
  • #4
    By nicolas-joubert, 4 years ago
  • Merge pull request #2 from bitdeli-chef/master
    By nicolas-joubert, 4 years ago
  • Merge pull request #3 from esion/master
    By nicolas-joubert, 4 years ago
  • fix doc : installation, usage and fix md syntax
    By esion, 4 years ago
  • Add a Bitdeli badge to README
    By bitdeli-chef, 4 years ago
  • Merge pull request #1 from prestaconcept/transfert-lead
    By nicolas-joubert, 4 years ago
  • Rename to PrestaComposerPublicBundle
    By nicolas-joubert, 4 years ago
  • Transfert lead to @nicolas-joubert [ci skip]
    By esion, 4 years ago
  • add alternative to prestaAnyPublicBlenBundle
    By esion, 4 years ago
  • backyard compatibility for symfony 2.1 & php 5.3
    By esion, 4 years ago
  • add keywords for packagist
    By esion, 4 years ago
  • add build status & license
    By esion, 4 years ago
  • fix tests by stubing kernel
    By esion, 4 years ago