定制 aymanelarian/laravel-sqlserver-extender 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aymanelarian/laravel-sqlserver-extender

Composer 安装命令:

composer require aymanelarian/laravel-sqlserver-extender

包简介

Extend SQL Server Grammar for Laravel & Lumen to fix migration

README 文档

README

Latest Version on Packagist Software License Total Downloads

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

Install

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',

TO DO : Development plan

  • overwrite sql server grammer (compileTableExists method) to search by schema name
  • refactor grimzy's Laravel mysql-spatial package to work with sql server
  • support points in sql server
  • support polygon in sql server
  • support all other types in sql server
  • fix all test cases to run with sql server

Usage

Once you included the service provider the Laravel/Lumen will start using the custom grammar.

Contributing

Contributions are very welcome. Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

Credits

Originally inspired and code refactored from grimzy's Laravel mysql-spatial package.

统计信息

  • 总下载量: 289
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固