Download the PHP package linnhtun/laravel-5-solarium without Composer

On this page you can find all versions of the php package linnhtun/laravel-5-solarium. 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 laravel-5-solarium

I take no credit whatsoever for this package, original package was developed by "Zenek Palmer", and original repository can be found here. I just changed the illuminate/support dependency from version 4.* to 5.*, to make it work in my project. I didn't have time to ask for formal permission and I needed it really quick. Sorry if this cause any inconvenience to anyone.

Laravel-Solarium

Laravel Framework package for using Solarium

Features

Installation

Setting up Solr

Download the latest version of solr : http://lucene.apache.org/solr/

Unpackage : tar xvzf solr-4.*.*.tgz

Copy the example directory and rename it in this case : site-search

Then rename the collection1 directory to what you would like to call your index.

In this case the index will be called search.

If you require more than one index, then copy and rename the site-search folder.

Then update the solr.xml file to tell the solr server how many indexes you have and their names.

for example :

Now for each created index folder you need to update the schema.xml and solrconfig.xml files in the index config folder.

example schema.xml file :

example solrconfig.xml :

This is best created by copying the matching folder in the provided example directory.

You will also need to update the core.properties file in the index folder :

The contents are very simple e.g. :

name=search

Then run sudo java -jar start.jar in the index directory.

This will start the solr server, which if configured correctly should be viewable at :

http://localhost:8983/solr/#/search

Getting the laravel-solarium package

Add the following to your composer.json file if using composer :

and then do a composer update

Add the ServiceProvider in app/config/app.php

'Fbf\LaravelSolarium\LaravelSolariumServiceProvider'

Publish the config file:

php artisan config:publish fbf/laravel-solarium

Edit the config file.


All versions of laravel-5-solarium with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
illuminate/support Version 5.*
solarium/solarium Version ~3.2
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 linnhtun/laravel-5-solarium contains the following files

Loading the files please wait ....