heroku / heroku-buildpack-php

Heroku's buildpack for PHP applications.
https://devcenter.heroku.com/categories/php
MIT License
805 stars 1.59k forks source link

Packages should be trimmed down #164

Open stof opened 8 years ago

stof commented 8 years ago

Currently, archives generated for platform packages contain both the source code and the compiled assets. This means that the archives are much bigger than necessary.

IMO, the building process should clean the archives before creating them.

Regarding the PHP packages, this will require creating 2 archives:

This will be similar to the php5 vs php5-dev packages in Debian/Ubuntu

stof commented 8 years ago

I don't know whether Bob makes it easy though

dzuelke commented 8 years ago

Err, sorry, not sure I understand. You mean the php-7.0.5 archive that gets installed contains the PHP source code? That's not the case:

$ curl https://lang-php.s3.amazonaws.com/dist-cedar-14-stable/php-7.0.6.tar.gz 2>/dev/null | tar tz
lib/
lib/libmcrypt.so.4.4.8
lib/libasprintf.so
lib/libmcrypt.so.4
lib/php/
lib/php/pearcmd.php
lib/php/.filemap
lib/php/data/
lib/php/data/PEAR/
lib/php/data/PEAR/package.dtd
lib/php/data/PEAR/template.spec
lib/php/PEAR/
lib/php/PEAR/REST/
lib/php/PEAR/REST/10.php
lib/php/PEAR/REST/11.php
lib/php/PEAR/REST/13.php
lib/php/PEAR/Config.php
lib/php/PEAR/Packager.php
lib/php/PEAR/Command.php
lib/php/PEAR/REST.php
lib/php/PEAR/Task/
lib/php/PEAR/Task/Replace/
lib/php/PEAR/Task/Replace/rw.php
lib/php/PEAR/Task/Windowseol/
lib/php/PEAR/Task/Windowseol/rw.php
lib/php/PEAR/Task/Windowseol.php
lib/php/PEAR/Task/Unixeol/
lib/php/PEAR/Task/Unixeol/rw.php
lib/php/PEAR/Task/Common.php
lib/php/PEAR/Task/Unixeol.php
lib/php/PEAR/Task/Postinstallscript.php
lib/php/PEAR/Task/Postinstallscript/
lib/php/PEAR/Task/Postinstallscript/rw.php
lib/php/PEAR/Task/Replace.php
lib/php/PEAR/Registry.php
lib/php/PEAR/RunTest.php
lib/php/PEAR/Common.php
lib/php/PEAR/Frontend.php
lib/php/PEAR/DependencyDB.php
lib/php/PEAR/Autoloader.php
lib/php/PEAR/ChannelFile/
lib/php/PEAR/ChannelFile/Parser.php
lib/php/PEAR/XMLParser.php
lib/php/PEAR/ChannelFile.php
lib/php/PEAR/Exception.php
lib/php/PEAR/PackageFile/
lib/php/PEAR/PackageFile/v2/
lib/php/PEAR/PackageFile/v2/Validator.php
lib/php/PEAR/PackageFile/v2/rw.php
lib/php/PEAR/PackageFile/v1.php
lib/php/PEAR/PackageFile/Parser/
lib/php/PEAR/PackageFile/Parser/v1.php
lib/php/PEAR/PackageFile/Parser/v2.php
lib/php/PEAR/PackageFile/v2.php
lib/php/PEAR/PackageFile/Generator/
lib/php/PEAR/PackageFile/Generator/v1.php
lib/php/PEAR/PackageFile/Generator/v2.php
lib/php/PEAR/Command/
lib/php/PEAR/Command/Test.php
lib/php/PEAR/Command/Build.php
lib/php/PEAR/Command/Channels.xml
lib/php/PEAR/Command/Config.php
lib/php/PEAR/Command/Pickle.php
lib/php/PEAR/Command/Pickle.xml
lib/php/PEAR/Command/Auth.php
lib/php/PEAR/Command/Registry.php
lib/php/PEAR/Command/Mirror.xml
lib/php/PEAR/Command/Auth.xml
lib/php/PEAR/Command/Package.php
lib/php/PEAR/Command/Common.php
lib/php/PEAR/Command/Remote.xml
lib/php/PEAR/Command/Registry.xml
lib/php/PEAR/Command/Build.xml
lib/php/PEAR/Command/Config.xml
lib/php/PEAR/Command/Package.xml
lib/php/PEAR/Command/Test.xml
lib/php/PEAR/Command/Remote.php
lib/php/PEAR/Command/Install.php
lib/php/PEAR/Command/Channels.php
lib/php/PEAR/Command/Mirror.php
lib/php/PEAR/Command/Install.xml
lib/php/PEAR/Downloader.php
lib/php/PEAR/Validate.php
lib/php/PEAR/Dependency2.php
lib/php/PEAR/Installer/
lib/php/PEAR/Installer/Role.php
lib/php/PEAR/Installer/Role/
lib/php/PEAR/Installer/Role/Test.php
lib/php/PEAR/Installer/Role/Cfg.php
lib/php/PEAR/Installer/Role/Doc.xml
lib/php/PEAR/Installer/Role/Man.php
lib/php/PEAR/Installer/Role/Script.php
lib/php/PEAR/Installer/Role/Php.xml
lib/php/PEAR/Installer/Role/Data.php
lib/php/PEAR/Installer/Role/Src.xml
lib/php/PEAR/Installer/Role/Ext.xml
lib/php/PEAR/Installer/Role/Www.xml
lib/php/PEAR/Installer/Role/Doc.php
lib/php/PEAR/Installer/Role/Cfg.xml
lib/php/PEAR/Installer/Role/Src.php
lib/php/PEAR/Installer/Role/Ext.php
lib/php/PEAR/Installer/Role/Common.php
lib/php/PEAR/Installer/Role/Data.xml
lib/php/PEAR/Installer/Role/Man.xml
lib/php/PEAR/Installer/Role/Script.xml
lib/php/PEAR/Installer/Role/Test.xml
lib/php/PEAR/Installer/Role/Www.php
lib/php/PEAR/Installer/Role/Php.php
lib/php/PEAR/PackageFile.php
lib/php/PEAR/Validator/
lib/php/PEAR/Validator/PECL.php
lib/php/PEAR/ErrorStack.php
lib/php/PEAR/Installer.php
lib/php/PEAR/Downloader/
lib/php/PEAR/Downloader/Package.php
lib/php/PEAR/Frontend/
lib/php/PEAR/Frontend/CLI.php
lib/php/PEAR/Builder.php
lib/php/.lock
lib/php/test/
lib/php/test/Structures_Graph/
lib/php/test/Structures_Graph/tests/
lib/php/test/Structures_Graph/tests/AcyclicTestTest.php
lib/php/test/Structures_Graph/tests/AllTests.php
lib/php/test/Structures_Graph/tests/helper.inc
lib/php/test/Structures_Graph/tests/TopologicalSorterTest.php
lib/php/test/Structures_Graph/tests/BasicGraphTest.php
lib/php/test/Console_Getopt/
lib/php/test/Console_Getopt/tests/
lib/php/test/Console_Getopt/tests/bug13140.phpt
lib/php/test/Console_Getopt/tests/001-getopt.phpt
lib/php/test/Console_Getopt/tests/bug10557.phpt
lib/php/test/Console_Getopt/tests/bug11068.phpt
lib/php/test/XML_Util/
lib/php/test/XML_Util/tests/
lib/php/test/XML_Util/tests/testBasic_raiseError.phpt
lib/php/test/XML_Util/tests/testBasic_createComment.phpt
lib/php/test/XML_Util/tests/testBasic_reverseEntities.phpt
lib/php/test/XML_Util/tests/testBasic_isValidName.phpt
lib/php/test/XML_Util/tests/testBug_18343.phpt
lib/php/test/XML_Util/tests/testBasic_attributesToString.phpt
lib/php/test/XML_Util/tests/testBasic_collapseEmptyTags.phpt
lib/php/test/XML_Util/tests/testBasic_createEndElement.phpt
lib/php/test/XML_Util/tests/testBasic_getXmlDeclaration.phpt
lib/php/test/XML_Util/tests/testBasic_createStartElement.phpt
lib/php/test/XML_Util/tests/testBug_4950.phpt
lib/php/test/XML_Util/tests/testBasic_apiVersion.phpt
lib/php/test/XML_Util/tests/testBasic_splitQualifiedName.phpt
lib/php/test/XML_Util/tests/testBasic_createCDataSection.phpt
lib/php/test/XML_Util/tests/testBasic_createTagFromArray.phpt
lib/php/test/XML_Util/tests/testBasic_replaceEntities.phpt
lib/php/test/XML_Util/tests/testBasic_createTag.phpt
lib/php/test/XML_Util/tests/testBug_5392.phpt
lib/php/test/XML_Util/tests/testBasic_getDocTypeDeclaration.phpt
lib/php/build/
lib/php/build/shtool
lib/php/build/ltmain.sh
lib/php/build/scan_makefile_in.awk
lib/php/build/phpize.m4
lib/php/build/Makefile.global
lib/php/build/run-tests.php
lib/php/build/config.guess
lib/php/build/acinclude.m4
lib/php/build/libtool.m4
lib/php/build/config.sub
lib/php/build/mkdep.awk
lib/php/XML/
lib/php/XML/Util.php
lib/php/peclcmd.php
lib/php/.channels/
lib/php/.channels/doc.php.net.reg
lib/php/.channels/__uri.reg
lib/php/.channels/pecl.php.net.reg
lib/php/.channels/.alias/
lib/php/.channels/.alias/pecl.txt
lib/php/.channels/.alias/pear.txt
lib/php/.channels/.alias/phpdocs.txt
lib/php/.channels/pear.php.net.reg
lib/php/Structures/
lib/php/Structures/Graph.php
lib/php/Structures/Graph/
lib/php/Structures/Graph/Manipulator/
lib/php/Structures/Graph/Manipulator/AcyclicTest.php
lib/php/Structures/Graph/Manipulator/TopologicalSorter.php
lib/php/Structures/Graph/Node.php
lib/php/.depdblock
lib/php/PEAR.php
lib/php/doc/
lib/php/doc/PEAR/
lib/php/doc/PEAR/INSTALL
lib/php/doc/PEAR/LICENSE
lib/php/doc/PEAR/README.rst
lib/php/doc/Structures_Graph/
lib/php/doc/Structures_Graph/LICENSE
lib/php/doc/Structures_Graph/docs/
lib/php/doc/Structures_Graph/docs/tutorials/
lib/php/doc/Structures_Graph/docs/tutorials/Structures_Graph/
lib/php/doc/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
lib/php/doc/XML_Util/
lib/php/doc/XML_Util/examples/
lib/php/doc/XML_Util/examples/example2.php
lib/php/doc/XML_Util/examples/example.php
lib/php/doc/Archive_Tar/
lib/php/doc/Archive_Tar/docs/
lib/php/doc/Archive_Tar/docs/Archive_Tar.txt
lib/php/.depdb
lib/php/Archive/
lib/php/Archive/Tar.php
lib/php/extensions/
lib/php/extensions/no-debug-non-zts-20151012/
lib/php/extensions/no-debug-non-zts-20151012/imap.so
lib/php/extensions/no-debug-non-zts-20151012/pdo_sqlite.so
lib/php/extensions/no-debug-non-zts-20151012/ldap.so
lib/php/extensions/no-debug-non-zts-20151012/exif.so
lib/php/extensions/no-debug-non-zts-20151012/gmp.so
lib/php/extensions/no-debug-non-zts-20151012/gd.so
lib/php/extensions/no-debug-non-zts-20151012/intl.so
lib/php/extensions/no-debug-non-zts-20151012/calendar.so
lib/php/extensions/no-debug-non-zts-20151012/pcntl.so
lib/php/extensions/no-debug-non-zts-20151012/gettext.so
lib/php/extensions/no-debug-non-zts-20151012/mcrypt.so
lib/php/extensions/no-debug-non-zts-20151012/sqlite3.so
lib/php/extensions/no-debug-non-zts-20151012/bcmath.so
lib/php/extensions/no-debug-non-zts-20151012/mbstring.so
lib/php/extensions/no-debug-non-zts-20151012/ftp.so
lib/php/extensions/no-debug-non-zts-20151012/shmop.so
lib/php/extensions/no-debug-non-zts-20151012/opcache.so
lib/php/extensions/no-debug-non-zts-20151012/xmlrpc.so
lib/php/extensions/no-debug-non-zts-20151012/soap.so
lib/php/extensions/no-debug-non-zts-20151012/xsl.so
lib/php/.registry/
lib/php/.registry/.channel.__uri/
lib/php/.registry/.channel.doc.php.net/
lib/php/.registry/pear.reg
lib/php/.registry/console_getopt.reg
lib/php/.registry/.channel.pecl.php.net/
lib/php/.registry/structures_graph.reg
lib/php/.registry/xml_util.reg
lib/php/.registry/archive_tar.reg
lib/php/OS/
lib/php/OS/Guess.php
lib/php/System.php
lib/php/Console/
lib/php/Console/Getopt.php
lib/libasprintf.so.0
lib/libasprintf.so.0.0.0
lib/libmcrypt/
lib/libasprintf.la
lib/libasprintf.a
lib/libmcrypt.la
lib/libmcrypt.so
var/
var/run/
var/log/
share/
share/gettext/
share/gettext/ABOUT-NLS
share/gettext/libintl.jar
share/aclocal/
share/aclocal/libmcrypt.m4
share/info/
share/info/autosprintf.info
share/locale/
share/locale/ko/
share/locale/ko/LC_MESSAGES/
share/locale/ko/LC_MESSAGES/gettext-runtime.mo
share/locale/et/
share/locale/et/LC_MESSAGES/
share/locale/et/LC_MESSAGES/gettext-runtime.mo
share/locale/ga/
share/locale/ga/LC_MESSAGES/
share/locale/ga/LC_MESSAGES/gettext-runtime.mo
share/locale/zh_CN/
share/locale/zh_CN/LC_MESSAGES/
share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo
share/locale/hr/
share/locale/hr/LC_MESSAGES/
share/locale/hr/LC_MESSAGES/gettext-runtime.mo
share/locale/de/
share/locale/de/LC_MESSAGES/
share/locale/de/LC_MESSAGES/gettext-runtime.mo
share/locale/ro/
share/locale/ro/LC_MESSAGES/
share/locale/ro/LC_MESSAGES/gettext-runtime.mo
share/locale/bg/
share/locale/bg/LC_MESSAGES/
share/locale/bg/LC_MESSAGES/gettext-runtime.mo
share/locale/pl/
share/locale/pl/LC_MESSAGES/
share/locale/pl/LC_MESSAGES/gettext-runtime.mo
share/locale/sv/
share/locale/sv/LC_MESSAGES/
share/locale/sv/LC_MESSAGES/gettext-runtime.mo
share/locale/en@boldquot/
share/locale/en@boldquot/LC_MESSAGES/
share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo
share/locale/pt_BR/
share/locale/pt_BR/LC_MESSAGES/
share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo
share/locale/gl/
share/locale/gl/LC_MESSAGES/
share/locale/gl/LC_MESSAGES/gettext-runtime.mo
share/locale/nn/
share/locale/nn/LC_MESSAGES/
share/locale/nn/LC_MESSAGES/gettext-runtime.mo
share/locale/fr/
share/locale/fr/LC_MESSAGES/
share/locale/fr/LC_MESSAGES/gettext-runtime.mo
share/locale/cs/
share/locale/cs/LC_MESSAGES/
share/locale/cs/LC_MESSAGES/gettext-runtime.mo
share/locale/zh_HK/
share/locale/zh_HK/LC_MESSAGES/
share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
share/locale/ja/
share/locale/ja/LC_MESSAGES/
share/locale/ja/LC_MESSAGES/gettext-runtime.mo
share/locale/nb/
share/locale/nb/LC_MESSAGES/
share/locale/nb/LC_MESSAGES/gettext-runtime.mo
share/locale/vi/
share/locale/vi/LC_MESSAGES/
share/locale/vi/LC_MESSAGES/gettext-runtime.mo
share/locale/pt/
share/locale/pt/LC_MESSAGES/
share/locale/pt/LC_MESSAGES/gettext-runtime.mo
share/locale/zh_TW/
share/locale/zh_TW/LC_MESSAGES/
share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo
share/locale/ru/
share/locale/ru/LC_MESSAGES/
share/locale/ru/LC_MESSAGES/gettext-runtime.mo
share/locale/eo/
share/locale/eo/LC_MESSAGES/
share/locale/eo/LC_MESSAGES/gettext-runtime.mo
share/locale/da/
share/locale/da/LC_MESSAGES/
share/locale/da/LC_MESSAGES/gettext-runtime.mo
share/locale/es/
share/locale/es/LC_MESSAGES/
share/locale/es/LC_MESSAGES/gettext-runtime.mo
share/locale/nl/
share/locale/nl/LC_MESSAGES/
share/locale/nl/LC_MESSAGES/gettext-runtime.mo
share/locale/ca/
share/locale/ca/LC_MESSAGES/
share/locale/ca/LC_MESSAGES/gettext-runtime.mo
share/locale/el/
share/locale/el/LC_MESSAGES/
share/locale/el/LC_MESSAGES/gettext-runtime.mo
share/locale/sr/
share/locale/sr/LC_MESSAGES/
share/locale/sr/LC_MESSAGES/gettext-runtime.mo
share/locale/it/
share/locale/it/LC_MESSAGES/
share/locale/it/LC_MESSAGES/gettext-runtime.mo
share/locale/sl/
share/locale/sl/LC_MESSAGES/
share/locale/sl/LC_MESSAGES/gettext-runtime.mo
share/locale/uk/
share/locale/uk/LC_MESSAGES/
share/locale/uk/LC_MESSAGES/gettext-runtime.mo
share/locale/hu/
share/locale/hu/LC_MESSAGES/
share/locale/hu/LC_MESSAGES/gettext-runtime.mo
share/locale/be/
share/locale/be/LC_MESSAGES/
share/locale/be/LC_MESSAGES/gettext-runtime.mo
share/locale/sk/
share/locale/sk/LC_MESSAGES/
share/locale/sk/LC_MESSAGES/gettext-runtime.mo
share/locale/tr/
share/locale/tr/LC_MESSAGES/
share/locale/tr/LC_MESSAGES/gettext-runtime.mo
share/locale/en@quot/
share/locale/en@quot/LC_MESSAGES/
share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo
share/locale/id/
share/locale/id/LC_MESSAGES/
share/locale/id/LC_MESSAGES/gettext-runtime.mo
share/locale/fi/
share/locale/fi/LC_MESSAGES/
share/locale/fi/LC_MESSAGES/gettext-runtime.mo
opt/
sbin/
sbin/php-fpm
include/
include/mcrypt.h
include/php/
include/php/sapi/
include/php/sapi/cli/
include/php/sapi/cli/cli.h
include/php/Zend/
include/php/Zend/zend_hash.h
include/php/Zend/zend_types.h
include/php/Zend/zend_strtod.h
include/php/Zend/zend_generators.h
include/php/Zend/zend_ts_hash.h
include/php/Zend/zend_interfaces.h
include/php/Zend/zend_ini_scanner_defs.h
include/php/Zend/zend_closures.h
include/php/Zend/zend_float.h
include/php/Zend/zend_execute.h
include/php/Zend/zend_exceptions.h
include/php/Zend/zend_vm_execute.h
include/php/Zend/zend_list.h
include/php/Zend/zend_build.h
include/php/Zend/zend_config.h
include/php/Zend/zend_long.h
include/php/Zend/zend_arena.h
include/php/Zend/zend_variables.h
include/php/Zend/zend_globals.h
include/php/Zend/zend_llist.h
include/php/Zend/zend_vm_opcodes.h
include/php/Zend/zend_objects_API.h
include/php/Zend/zend_constants.h
include/php/Zend/zend_ini_parser.h
include/php/Zend/zend_alloc_sizes.h
include/php/Zend/zend_object_handlers.h
include/php/Zend/zend_portability.h
include/php/Zend/zend_objects.h
include/php/Zend/zend_extensions.h
include/php/Zend/zend_signal.h
include/php/Zend/zend_language_scanner_defs.h
include/php/Zend/zend_istdiostream.h
include/php/Zend/zend_virtual_cwd.h
include/php/Zend/zend_highlight.h
include/php/Zend/zend_modules.h
include/php/Zend/zend_range_check.h
include/php/Zend/zend_stream.h
include/php/Zend/zend_multibyte.h
include/php/Zend/zend_sort.h
include/php/Zend/zend_compile.h
include/php/Zend/zend_config.w32.h
include/php/Zend/zend_operators.h
include/php/Zend/zend_ini.h
include/php/Zend/zend_dtrace.h
include/php/Zend/zend_builtin_functions.h
include/php/Zend/zend_config.nw.h
include/php/Zend/zend_alloc.h
include/php/Zend/zend_vm_def.h
include/php/Zend/zend_smart_str_public.h
include/php/Zend/zend_ini_scanner.h
include/php/Zend/zend_string.h
include/php/Zend/zend_ptr_stack.h
include/php/Zend/zend_ast.h
include/php/Zend/zend_API.h
include/php/Zend/zend_iterators.h
include/php/Zend/zend_bitset.h
include/php/Zend/zend_gc.h
include/php/Zend/zend_language_parser.h
include/php/Zend/zend_language_scanner.h
include/php/Zend/zend_multiply.h
include/php/Zend/zend_strtod_int.h
include/php/Zend/zend_smart_str.h
include/php/Zend/zend_stack.h
include/php/Zend/zend_vm.h
include/php/Zend/zend.h
include/php/Zend/zend_globals_macros.h
include/php/Zend/zend_errors.h
include/php/Zend/zend_inheritance.h
include/php/main/
include/php/main/php_memory_streams.h
include/php/main/php_streams.h
include/php/main/php_stdint.h
include/php/main/php_content_types.h
include/php/main/streams/
include/php/main/streams/php_stream_mmap.h
include/php/main/streams/php_stream_plain_wrapper.h
include/php/main/streams/php_streams_int.h
include/php/main/streams/php_stream_userspace.h
include/php/main/streams/php_stream_context.h
include/php/main/streams/php_stream_filter_api.h
include/php/main/streams/php_stream_glob_wrapper.h
include/php/main/streams/php_stream_transport.h
include/php/main/php_main.h
include/php/main/php.h
include/php/main/SAPI.h
include/php/main/php_ini.h
include/php/main/spprintf.h
include/php/main/php_syslog.h
include/php/main/php_getopt.h
include/php/main/php_globals.h
include/php/main/win95nt.h
include/php/main/php_config.h
include/php/main/http_status_codes.h
include/php/main/php_network.h
include/php/main/fopen_wrappers.h
include/php/main/php_reentrancy.h
include/php/main/php_variables.h
include/php/main/php_compat.h
include/php/main/php_output.h
include/php/main/build-defs.h
include/php/main/php_version.h
include/php/main/php_ticks.h
include/php/main/php_scandir.h
include/php/main/rfc1867.h
include/php/main/fastcgi.h
include/php/main/snprintf.h
include/php/main/php_open_temporary_file.h
include/php/include/
include/php/TSRM/
include/php/TSRM/tsrm_win32.h
include/php/TSRM/tsrm_nw.h
include/php/TSRM/tsrm_strtok_r.h
include/php/TSRM/tsrm_config_common.h
include/php/TSRM/tsrm_config.h
include/php/TSRM/tsrm_config.w32.h
include/php/TSRM/TSRM.h
include/php/TSRM/readdir.h
include/php/ext/
include/php/ext/pdo/
include/php/ext/pdo/php_pdo.h
include/php/ext/pdo/php_pdo_driver.h
include/php/ext/pdo/php_pdo_error.h
include/php/ext/simplexml/
include/php/ext/simplexml/php_simplexml.h
include/php/ext/simplexml/php_simplexml_exports.h
include/php/ext/dom/
include/php/ext/dom/xml_common.h
include/php/ext/spl/
include/php/ext/spl/spl_fixedarray.h
include/php/ext/spl/spl_engine.h
include/php/ext/spl/spl_observer.h
include/php/ext/spl/spl_iterators.h
include/php/ext/spl/spl_directory.h
include/php/ext/spl/spl_exceptions.h
include/php/ext/spl/spl_array.h
include/php/ext/spl/spl_heap.h
include/php/ext/spl/php_spl.h
include/php/ext/spl/spl_functions.h
include/php/ext/spl/spl_dllist.h
include/php/ext/gd/
include/php/ext/gd/php_gd.h
include/php/ext/gd/gd_compat.h
include/php/ext/gd/gdcache.h
include/php/ext/gd/libgd/
include/php/ext/gd/libgd/gdfonts.h
include/php/ext/gd/libgd/gd_io.h
include/php/ext/gd/libgd/gdfontg.h
include/php/ext/gd/libgd/wbmp.h
include/php/ext/gd/libgd/gd_intern.h
include/php/ext/gd/libgd/gdhelpers.h
include/php/ext/gd/libgd/gdfontt.h
include/php/ext/gd/libgd/gdcache.h
include/php/ext/gd/libgd/gdfontmb.h
include/php/ext/gd/libgd/gdfontl.h
include/php/ext/gd/libgd/gd.h
include/php/ext/gd/libgd/jisx0208.h
include/php/ext/xml/
include/php/ext/xml/php_xml.h
include/php/ext/xml/expat_compat.h
include/php/ext/hash/
include/php/ext/hash/php_hash.h
include/php/ext/hash/php_hash_ripemd.h
include/php/ext/hash/php_hash_snefru.h
include/php/ext/hash/php_hash_fnv.h
include/php/ext/hash/php_hash_md.h
include/php/ext/hash/php_hash_adler32.h
include/php/ext/hash/php_hash_joaat.h
include/php/ext/hash/php_hash_haval.h
include/php/ext/hash/php_hash_sha.h
include/php/ext/hash/php_hash_whirlpool.h
include/php/ext/hash/php_hash_crc32.h
include/php/ext/hash/php_hash_gost.h
include/php/ext/hash/php_hash_tiger.h
include/php/ext/date/
include/php/ext/date/php_date.h
include/php/ext/date/lib/
include/php/ext/date/lib/timelib_structs.h
include/php/ext/date/lib/timelib_config.h
include/php/ext/date/lib/timelib.h
include/php/ext/mysqlnd/
include/php/ext/mysqlnd/mysqlnd_debug.h
include/php/ext/mysqlnd/mysql_float_to_double.h
include/php/ext/mysqlnd/mysqlnd_result.h
include/php/ext/mysqlnd/mysqlnd_block_alloc.h
include/php/ext/mysqlnd/mysqlnd_libmysql_compat.h
include/php/ext/mysqlnd/php_mysqlnd.h
include/php/ext/mysqlnd/mysqlnd_reverse_api.h
include/php/ext/mysqlnd/mysqlnd_statistics.h
include/php/ext/mysqlnd/mysqlnd_enum_n_def.h
include/php/ext/mysqlnd/mysqlnd_alloc.h
include/php/ext/mysqlnd/mysqlnd_portability.h
include/php/ext/mysqlnd/mysqlnd_charset.h
include/php/ext/mysqlnd/config-win.h
include/php/ext/mysqlnd/mysqlnd_structs.h
include/php/ext/mysqlnd/mysqlnd_net.h
include/php/ext/mysqlnd/mysqlnd_priv.h
include/php/ext/mysqlnd/mysqlnd.h
include/php/ext/mysqlnd/mysqlnd_result_meta.h
include/php/ext/mysqlnd/mysqlnd_ext_plugin.h
include/php/ext/mysqlnd/mysqlnd_wireprotocol.h
include/php/ext/filter/
include/php/ext/filter/php_filter.h
include/php/ext/session/
include/php/ext/session/mod_files.h
include/php/ext/session/php_session.h
include/php/ext/session/mod_user.h
include/php/ext/sqlite3/
include/php/ext/sqlite3/libsqlite/
include/php/ext/sqlite3/libsqlite/sqlite3.h
include/php/ext/sockets/
include/php/ext/sockets/php_sockets.h
include/php/ext/libxml/
include/php/ext/libxml/php_libxml.h
include/php/ext/standard/
include/php/ext/standard/php_browscap.h
include/php/ext/standard/pack.h
include/php/ext/standard/php_versioning.h
include/php/ext/standard/base64.h
include/php/ext/standard/html.h
include/php/ext/standard/php_metaphone.h
include/php/ext/standard/datetime.h
include/php/ext/standard/php_link.h
include/php/ext/standard/php_fopen_wrappers.h
include/php/ext/standard/streamsfuncs.h
include/php/ext/standard/crypt_freesec.h
include/php/ext/standard/credits_ext.h
include/php/ext/standard/pageinfo.h
include/php/ext/standard/credits.h
include/php/ext/standard/php_crypt.h
include/php/ext/standard/microtime.h
include/php/ext/standard/php_ftok.h
include/php/ext/standard/basic_functions.h
include/php/ext/standard/scanf.h
include/php/ext/standard/php_smart_string.h
include/php/ext/standard/php_iptc.h
include/php/ext/standard/winver.h
include/php/ext/standard/url.h
include/php/ext/standard/php_mail.h
include/php/ext/standard/cyr_convert.h
include/php/ext/standard/php_dns.h
include/php/ext/standard/php_var.h
include/php/ext/standard/php_rand.h
include/php/ext/standard/css.h
include/php/ext/standard/php_password.h
include/php/ext/standard/php_standard.h
include/php/ext/standard/fsock.h
include/php/ext/standard/file.h
include/php/ext/standard/url_scanner_ex.h
include/php/ext/standard/php_crypt_r.h
include/php/ext/standard/php_http.h
include/php/ext/standard/info.h
include/php/ext/standard/php_image.h
include/php/ext/standard/exec.h
include/php/ext/standard/php_random.h
include/php/ext/standard/php_smart_string_public.h
include/php/ext/standard/flock_compat.h
include/php/ext/standard/uniqid.h
include/php/ext/standard/php_dir.h
include/php/ext/standard/php_filestat.h
include/php/ext/standard/md5.h
include/php/ext/standard/php_assert.h
include/php/ext/standard/php_incomplete_class.h
include/php/ext/standard/php_uuencode.h
include/php/ext/standard/php_math.h
include/php/ext/standard/credits_sapi.h
include/php/ext/standard/html_tables.h
include/php/ext/standard/dl.h
include/php/ext/standard/crc32.h
include/php/ext/standard/php_array.h
include/php/ext/standard/php_type.h
include/php/ext/standard/php_ext_syslog.h
include/php/ext/standard/proc_open.h
include/php/ext/standard/quot_print.h
include/php/ext/standard/crypt_blowfish.h
include/php/ext/standard/sha1.h
include/php/ext/standard/head.h
include/php/ext/standard/php_lcg.h
include/php/ext/standard/php_string.h
include/php/ext/iconv/
include/php/ext/iconv/php_php_iconv_h_path.h
include/php/ext/iconv/php_have_iconv.h
include/php/ext/iconv/php_iconv_broken_ignore.h
include/php/ext/iconv/php_iconv_supports_errno.h
include/php/ext/iconv/php_have_ibm_iconv.h
include/php/ext/iconv/php_have_libiconv.h
include/php/ext/iconv/php_iconv.h
include/php/ext/iconv/php_have_bsd_iconv.h
include/php/ext/iconv/php_have_glibc_iconv.h
include/php/ext/iconv/php_iconv_aliased_libiconv.h
include/php/ext/iconv/php_php_iconv_impl.h
include/php/ext/json/
include/php/ext/json/php_json.h
include/php/ext/mbstring/
include/php/ext/mbstring/oniguruma/
include/php/ext/mbstring/oniguruma/oniguruma.h
include/php/ext/mbstring/php_mbregex.h
include/php/ext/mbstring/libmbfl/
include/php/ext/mbstring/libmbfl/config.h
include/php/ext/mbstring/libmbfl/mbfl/
include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
include/php/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
include/php/ext/mbstring/libmbfl/mbfl/eaw_table.h
include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
include/php/ext/mbstring/php_onig_compat.h
include/php/ext/mbstring/mbstring.h
include/php/ext/mysqli/
include/php/ext/mysqli/php_mysqli_structs.h
include/php/ext/mysqli/mysqli_mysqlnd.h
include/php/ext/pcre/
include/php/ext/pcre/php_pcre.h
include/php/ext/pcre/pcrelib/
include/php/ext/pcre/pcrelib/pcreposix.h
include/php/ext/pcre/pcrelib/config.h
include/php/ext/pcre/pcrelib/pcre_internal.h
include/php/ext/pcre/pcrelib/pcre.h
include/php/ext/pcre/pcrelib/ucp.h
include/php/ext/phar/
include/php/ext/phar/php_phar.h
include/mutils/
include/mutils/mcrypt.h
include/autosprintf.h
php/
php/php/
php/php/fpm/
php/php/fpm/status.html
etc/
etc/php-fpm.d/
etc/php-fpm.d/www.conf.default
etc/php-fpm.conf.default
etc/pear.conf
etc/php/
etc/php/conf.d/
etc/php/conf.d/010-ext-zend_opcache.ini
etc/php/php-fpm.conf
etc/php/php.ini
bin/
bin/pear
bin/phpize
bin/php-config
bin/pecl
bin/peardev
bin/envsubst
bin/gettext
bin/php
bin/profile.php.sh
bin/ngettext
bin/phar.phar
bin/export.php.sh
bin/phar
bin/libmcrypt-config
bin/php-cgi
bin/gettext.sh
stof commented 8 years ago

well, it indeed does not have the full source code. But it still contains all header files (which is what should go in the -dev package)

stof commented 8 years ago

include/ should go in -dev, and lib/php/test is useless (lib/php/doc as well btw)

dzuelke commented 8 years ago

It's not that massive though in terms of size (and you may want the ability to "pecl install someext" in a pre-install-cmd). Not sure if effort-to-result ratio is worth it... I already did cut down on package sizes massively a few months ago.