Skip to content

Instantly share code, notes, and snippets.

@brzuchal
Last active August 14, 2019 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brzuchal/c7432160a1cc52b18711691f9e5d3d24 to your computer and use it in GitHub Desktop.
Save brzuchal/c7432160a1cc52b18711691f9e5d3d24 to your computer and use it in GitHub Desktop.
PHP Package - Possible package definition declarations
[package]
name = MyVendor\MyLibrary
strict_types = 1
encoding = UTF-8
{
"name": "MyVendor\\MyLibrary",
"declare": {
"strict_types": 1,
"encoding": "UTF-8"
}
}
<?php
declare package MyVendor\MyLibrary {
strict_types = 1,
encoding = "UTF-8"
}
[[package]]
name = "MyVendor\\MyLibrary"
strict_types = 1
encoding = "UTF-8"
name: MyVendor\MyLibrary
strict_types: 1
encoding: UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment