msphpsql
scalar_objects
Our great sponsors
msphpsql | scalar_objects | |
---|---|---|
12 | 22 | |
1,764 | 1,124 | |
0.3% | - | |
6.7 | 2.8 | |
3 months ago | 6 months ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
msphpsql
-
Microsoft sqlsrv.so Extension for MS SQL - need ODBC ?
Using the Microsoft github area for this, I grabbed the PHP shared library (.so) files for Debian 10. [Was this the right flavour to grab for Synology?]
-
sqlsrv connection in Sail on ARM64?
I found this older post that links to a Github issue.
-
SQL Server Connection Issue after Server IP Address Change, Port Works but Instance Name doesn't
I did find this github issue where someone was unable to connect to SERVER\INSTANCE, closed as expected behavior. A response also said requests from Linux must be made over TCP and not UDP. The linked Microsoft documentation says as much, but is slightly confusing:
-
Setting up Laravel with SQL Server AND Laragon on Windows
Step 1. Download the PHP driver here
- Does anybody have a working Dockerfile for Laravel Sail w/ PHP8.1 and SQLSRV/ODBC drivers?
-
Issue Connecting to Azure SQL with PHP
Maybe follow the example code and put the password into a variable? https://github.com/microsoft/msphpsql/blob/master/sample/pdo_sqlsrv_sample.php
-
How to fetch columns individually from a collection of rows
Just out of curiosity, what was it then? Because if I look at the (pdo)sqlsrv source, LOB's should be possible.
- What extensions are missing from PHP?
-
PDO throws an exception on Apple M1 when connecting to SQL Server Database Container (Unknown processor architecture.)
I think this might be the related open issue: https://github.com/microsoft/msphpsql/issues/1223
-
Do you use PHP? and why?
There is no problem with using MSSQL with PHP it's easily doable and supported. See the Microsoft open source extension: https://github.com/microsoft/msphpsql
scalar_objects
-
What I always dreamed of PHP π (IMPORTANT!)
I know there are such experiments, but it's unlikely to become a part of the language any time soon :(
- What is your #1 PHP feature request (part 2)
-
What is your #1 PHP feature request
Scalar objects has a prototype implementation since at least 2015: https://github.com/nikic/scalar_objects/issues/20
- Modern PHP features explained β PHP 8.0 and 8.1
-
Alternatives to Magic Methods?
For the love of god yes please yes this 1000x. I'd like to throw in scalar objects too.
-
Why does PHP not have object-oriented strings and arrays? Will it be added in a future version
Nikita Popov tried to solve the problem with this extension, but it never got wide support. The problem is that without users asking for this feature, Jetbrains and psalm/phpstan will not integrate it. But w/o their support, users cannot not even try the extension as everything will be shown as error.
-
Should PHP9 standardize naming conventions throughout the language?
These as it would remove the need to even care about the old function names which would exist for B/C purposes. We'd then be able to use primitive types as objects with functions to do all their manipulation as needed.
- Extension that adds support for method calls on primitive types in PHP
-
Which inconsistences of PHP annoy you the most?
It's been possible for quite a while but you have to enable a custom extension: https://github.com/nikic/scalar_objects and create an implementation of the class wrapper. I made one quite some time ago which is probably very incomplete: https://github.com/RikudouSage/scalar-objects.
- What third-party extension or library would you like to see included in php as default?
What are some alternatives?
wasmer-php - ππΈοΈ WebAssembly runtime for PHP
php-docker - Docker Official Image packaging for PHP
docker-php-mssql - Docker images based on the official Docker PHP images with the Microsoft SQL Server Driver already installed
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
azuredatastudio - Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
RfcCodex - Notes on PHP RFCs, and topics that occur repeatedly on PHP internals
Entware - Ultimate repo for embedded devices
pecl-php-operator - Operator overloading for Objects
php-quickstart - This repository contains a simple web application that demonstrates how to quickly connect to and communicate with a MariaDB database using PHP (via mysqli).
swow - Coroutine-based cross-platform concurrent I/O engine.
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
varexporter - A powerful alternative to var_export(), which can export closures and objects without __set_state()