New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

davispeixoto/laravel-4-solr

Laravel 4 Apache Solr simple query client
103 9

Larablocks Analysis

davispeixoto/laravel-4-solr works with Laravel 4 (latest release 0.0.3, May 14, 2014), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 4, past end of life
  • No release in the last 12 months (last: May 14, 2014)
  • 0 downloads a month (needs 10,000)
  • 9 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: May 14, 2014.
  • No releases in the last 12 months.
  • First released: May 14, 2014.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require davispeixoto/laravel-4-solr
Latest Version:0.0.3
PHP:>=5.3.0
Laravel:4
License:MIT
Last Updated:Oct 7, 2015
Links: GitHub  ·  Packagist
Maintainer: davispeixoto

Laravel 4 Apache Solr

Build Status

This Laravel 4 package provides an interface for consuming (querying) Apache Solr via its restful interface.

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require davispeixoto/laravel-4-solr.

"require": {
	"laravel/framework": "4.1.*",
	"davispeixoto/laravel-4-solr": "dev-master"
}

Next, update Composer from the Terminal:

composer update

Once this operation completes, still in Terminal run:

php artisan config:publish davispeixoto/laravel-4-solr

Update the settings in the generated app/config/packages/davispeixoto/laravel-4-solr configuration file with solr endpoint, port, output format.

Finally add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Davispeixoto\Laravel4Solr\Laravel4SolrServiceProvider'

That's it! You're all set to go. Just use:

Route::get('/test', function() {
	try {
    	Solr::setCore('products');
    	Solr::setFQ('color' , 'blue*');
    	Solr::outputFormat('json');
    	$results = Solr::getResults();
    	echo print_r($results , true);
	} catch (Exception $e) {
		Log::error($e->getMessage());
		die($e->getMessage() . $e->getTraceAsString());
	}
});

License

This library is open-sourced software licensed under the MIT license

Versioning

This project follows the Semantic Versioning

Related Packages

kr4y/profiler

Profiler for Laravel 4

89 0
whampa/theme

A simple Laravel 4 service provider for generating blade templates.

38 0
ngmy/cached-object

A caching scheme for an object for Laravel 4, inspired by Enterprise Rails

16 1
elevencodes/instagram-laravel

Instagram Service Provider for Laravel 4

8,408 32
mohsen/captcha

A simple captcha for laravel 4

5,219 12

Version History

Version Released PHP Laravel License
0.0.3 >=5.3.0 4.1.* MIT
0.0.2 >=5.3.0 4.1.* MIT
0.0.1 >=5.3.0 4.1.* MIT