| Package Data | |
|---|---|
| Maintainer Username: | greglamb |
| Maintainer Contact: | email@greglamb.me (Greg Lamb) |
| Package Create Date: | 2013-04-18 |
| Package Last Update: | 2014-01-10 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-02 15:06:10 |
| Package Statistics | |
|---|---|
| Total Downloads: | 344 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 14 |
| Total Watchers: | 5 |
| Total Forks: | 13 |
| Total Open Issues: | 5 |
Provides an extended Postgres driver for Laravel 4 that provides support for PostGIS features
Add a requirement for the package
{
"require": {
"lamb/laravel-postgis-database": "dev-master"
}
}
Add it to the list of providers
'providers' => array(
'Lamb\LaravelPostgisDatabase\PostgisDatabaseServiceProvider'
)
Add a connection using the postgis driver instead of pgsql
'pgsql' => array(
'driver' => 'postgis',
'host' => 'localhost',
'database' => 'database',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
),
Released under the MIT license