Package Data | |
---|---|
Maintainer Username: | AymanElarian |
Maintainer Contact: | aymanstar@gmail.com (AymanElarian) |
Package Create Date: | 2018-09-21 |
Package Last Update: | 2018-09-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-22 15:05:39 |
Package Statistics | |
---|---|
Total Downloads: | 278 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This package extend the SQL Server driver from Laravel to fix the migration error due to using custom schema name and support sql server spatial
Via Composer
$ composer require AymanElarian/laravel-sqlserver-extender
Once composer has been updated and the package has been installed, the service provider will need to be loaded.
For Laravel 5, open config/app.php
and add following line to the providers array:
AymanElarian\Extensions\SqlServer\SpatialServiceProvider::class,
For Lumen 5, open bootstrap/app.php
and add following line under the "Register Service Providers" section:
$app->register(AymanElarian\Extensions\SqlServer\SpatialServiceProvider::class);
For Laravel 4, open app/config/app.php
and add following line to the providers array:
'AymanElarian\Extensions\SqlServer\SpatialServiceProvider',
Once you included the service provider the Laravel/Lumen will start using the custom grammar.
Contributions are very welcome. Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.
Originally inspired and code refactored from grimzy's Laravel mysql-spatial package.