Download the PHP package marmelab/phpcr-browser without Composer

On this page you can find all versions of the php package marmelab/phpcr-browser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpcr-browser

archived Archived Repository
This code is no longer maintained. Feel free to fork it, but use it at your own risks.

PHPCR Browser Build Status

PHPCR Browser provides an intuitive web interface to explore and manage PHPCR repositories. The current implementation supports Jackalope Jackrabbit and Jackalope Doctrine DBAL.

screenshot

Supported Operations

Jackalope Jackrabbit:

Jackalope Doctrine DBAL:

See marmelab/phpcr-api/config/factories.yml for more details.

Installation

PHPCR Browser uses Composer and Bower to manage its dependencies. Make sure they are globally installed before continuing.

1. Clone the repository

2. Install dependencies and configure the browser

To install the web application with the default configuration (see below), run the following command:

This will download all dependencies and do the Configuration part for you. If you prefer do it on your own run:


Adding support for Jackalope Doctrine DBAL (Optionnal)

By default, the Jackalope Doctrine DBAL is not installed. If you want to use it run the following commands:

And update your configuration file to add your Doctrine repository by writing something equivalent to:

For more details on doctrine_dbal.config see Doctrine website.

You can also find this config into config/prod-with-dbal.yml.dist

Note you can install and use both Jackalope Jackrabbit and Doctrine DBAL at the same time.

You can add as many repositories as you want into your config file.

Configuration

Create a config/prod.yml with the connection settings for the repositories you need to browse. For instance, to use the browser with a local instance of Jackalope Jackrabbit:

The factory setting is the type of PHPCR repository you want to browse. See available factories in marmelab/phpcr-api/config/factories.yml.

You can also copy the config/prod.yml-dist file as config/prod.yml to get this exact configuration.

For using Jackalope Doctrine DBAL refer to Installation.

Usage

Using Apache VirtualHost

Add a VirtualHost to your Apache config (and add in it 'AllowEncodedSlashes On'):

And update your /etc/hosts file by adding:

You can now access to the browser on http://phpcr-browser.lo (or equivalent domain as configured in your virtual host and hosts file).

Using PHP 5.4 integrated webserver

You can also use PHP 5.4 integrated webserver by calling:

Alternatively call:

You can now access the repository by browsing to http://localhost:8000/browser.

Tests

The PHPCR Browser AngularJS part is fully unit tested with Karma and Jasmine. If you want to run them, install dependencies by running: make install-test

Then run the following command: make test-spec

Sass

The stylesheets are compiled by Compass and Sass.

If you update the sass files, run make compass-watch during development.

When your work is done, run make compass-compile before committing.

Contributing

All contributions are welcome and must pass the tests. If you add a new feature, write tests for it.

License

This application is available under the MIT License, courtesy of marmelab.


All versions of phpcr-browser with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
silex/silex Version ~1.1
symfony/yaml Version ~2.4
twig/twig Version ~1.15
symfony/twig-bridge Version ~2.4
igorw/config-service-provider Version ~1.2
marmelab/phpcr-api-silex-provider Version 2.0.*
jackalope/jackalope-jackrabbit Version 1.1.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package marmelab/phpcr-browser contains the following files

Loading the files please wait ....