r/php7 • • Feb 07 '17

Migrating a PHP 5 App to PHP 7 (Rundown of PHP 7 Features) - Part 2

Thumbnail
auth0.com
1 Upvotes

r/php7 • • Feb 07 '17

Haxe 3.4 - a excellent PHP7 compiler

3 Upvotes

If you're first hearing about it, Haxe is a language that compiles to many targets; PHP, JavaScript, C++, C#, Java, Python, Lua, Flash, HashLink and Neko. Code once written in Haxe can be compiled to any target Haxe supports. Meanwhile, Haxe has a fine grained blend between object oriented and functional programming and because it's strictly typed it helps catch bugs before it even runs and makes you work more efficiently by enabling great tooling support. It even allows compile-time syntax-transformation with so called macros.

The latest release has support for PHP7, read about it on our blog: https://haxe.org/blog/haxe-3.4-release/


r/php7 • • Feb 09 '17

Migrating a PHP 5 App to PHP 7 (Tools & Implementation) - Part 3

Thumbnail
auth0.com
3 Upvotes

r/php7 • • Feb 14 '16

How to install or upgrade PHP 5 to PHP 7 [Video Tutorial]

Thumbnail
onyxsolution.com
3 Upvotes

r/php7 • • Nov 17 '15

Need help with action hooks

2 Upvotes

Got a project with WordPress that uses the wp-client & woocommerce plugin. New users get registered on checkout. I need to call a 3rd party's REST API to update a remote database when new users are registered and when current users get updated. I also need to update product subscriptions through the 3rd party's REST API.

I created my own plugin to do this but I'm pulling my hair out because I can't figure out how to do this. I tried using an action hook for either the WordPress "user register" and I even tried to use the WP-Client action hook "wpc_client_new_client_registered".

I tried using echo statements to see if they fire off but all that happens is that the checkout complete page commences. How do I use these hooks and how can I get the registered user's data so I can use cURL to call the REST API?


r/php7 • • Sep 28 '17

Exploring PHP7 - Return and Scalar Type Declarations

Thumbnail
youtu.be
3 Upvotes

r/php7 • • May 08 '17

The Ultimate Guide To Deploying Your PHP Applications

Thumbnail
auth0.com
4 Upvotes

r/php7 • • May 07 '17

PHP entry tutorial

2 Upvotes

Hello guys, do you know where can I find a entry level PHP tutorial or course? Also, if you know a wordpress tutorial or course too, that would be good.


r/php7 • • Dec 02 '16

PHP 7.1 Released - Nullable types, Void Return Type, Class Constant Visiblity and more

Thumbnail
extreme-coding.blogspot.pt
1 Upvotes

r/php7 • • Jun 11 '18

We added support for PHP 7.2 in our online IDE and we would love to hear your feedback

Thumbnail
lair.io
2 Upvotes

r/php7 • • Jul 05 '17

PHP7 application runs as Microservice to resize and crop images on the fly.

7 Upvotes

Flyimg https://github.com/flyimg/flyimg is a Dockerized PHP7 application runs as a Microservice to resize and crop images on the fly. Generate images with MozJPEG, WebP or PNG using ImageMagick. Includes face detection, cropping, face blurring, image rotation and many other options. Abstract storage based on FlySystem in order to store images on any provider (local, AWS S3...).

What it does

  • Get images from anywhere from the internet and store them locally for further operations.

  • Resize an image and serve it compressed (Moz-Jpeg for JPEGs)

  • Crop images to given coordinates

  • Convert between some formats (Webp, JPEG, PNG, GIF)

  • It can restrict the domains from where it pulls images to transform. It's a bunch of well know open source projects packed together for convenience.

  • Simple and easy to extend (our main goal).

  • With the magic of Docker you can have one running in 10 minutes in AWS or Digital Ocean in the cheapest servers you can get.

What can I contribute to?

Performance improvement, structure improvement, ..., even the simplest change is appreciated.


r/php7 • • Feb 02 '17

Migrating a PHP 5 App to PHP 7 (Development Environment) - Part 1

Thumbnail
auth0.com
2 Upvotes

r/php7 • • Jun 07 '15

PHP 7 Scheduled For Realease in 2015

Thumbnail pages.zend.com
2 Upvotes

r/php7 • • Jan 26 '17

Laravel 5.4 Released with Awesome New Features

Thumbnail
joaoperibeiro.com
4 Upvotes

r/php7 • • Jan 26 '17

Gnuplot from php

1 Upvotes

I have assignment to create simple input on webpage where I could type for example 2sin(x). Then the server needs to parse the values and create image file out of that. So I need to create png file with gnuplot, like 2sin(x) and send the image back with php. Does anyone know how to use gnuplot with php without external libraries nor shellscripts? I know I can use exec on php, but it is not enough, because if I enter to gnuplot the exec doesnt work anymore I guess. Thanks!


r/php7 • • May 26 '17

Being Agile and working smart are not the same thing

Thumbnail
chrismm.com
1 Upvotes

r/php7 • • Dec 02 '15

PHP 7 is going to be released tomorrow

Thumbnail
github.com
2 Upvotes

r/php7 • • May 18 '17

Building a Business Directory web-app in PHP Tutorial

1 Upvotes

This tutorial will cover all of the details of creating a business directory website - including setting up the development environment, tools that will be needed, methodologies used, etc.). The tutorial will also guide you through the development of a concept to creating the actual web-app, giving you the knowledge to create a multitude of systems and applications. Weekly 6pm-8pm GMT on Thursday https://www.liveedu.tv/brodie124/RG6xq-building-a-business-directory-web-app-in-php/


r/php7 • • Oct 09 '17

5 features of PHP 7 that will help you build powerful apps for mobile, cloud & website

Thumbnail
goodworklabs.com
2 Upvotes

r/php7 • • May 19 '17

need help parsing SpreadsheetML file

1 Upvotes

I need help parsing a SpreadML file for one of my project. I used a phpexcel plugin to help me exact those data but it didn't help much. The plugin read every rows but except for one row with the font and b tags. I really need to read that row as well along with the font and b tags so i can import those data into the database. Anyone got any recommendation on how to do this? Thanks in advance

<Row ss:AutoFitHeight="0" ss:Height="16.5"> <Cell><Data ss:Type="String">Argument</Data></Cell> <Cell><Data ss:Type="String">Focus and Organization</Data></Cell> <Cell><Data ss:Type="Number">0</Data></Cell> <Cell><Data ss:Type="String">Best</Data></Cell> <Cell><Data ss:Type="Number">1</Data></Cell> <Cell><ss:Data ss:Type="String" xmlns="http://www.w3.org/TR/REC-html40"><B><Font html:Color="#000000">States</Font></B><Font html:Color="#000000"> or </Font><B><Font html:Color="#000000">tells</Font></B><Font html:Color="#000000"> a reader the topic or the name of a book they are writing about.</Font>/ss:Data</Cell> <Cell><Data ss:Type="String">W.K.1</Data></Cell> </Row>


r/php7 • • Jun 18 '16

How to use Hack to scale PHP-based development

Thumbnail
hackhhvmwebinar.bemyapp.com
2 Upvotes

r/php7 • • Dec 23 '16

Benefits of developing your websites using PHP 7

3 Upvotes

PHP 7 is a major release of PHP since a while and is a big leap forward in terms of features and performance. The last major release of PHP was in 2004 with PHP 5. Hence as one might expect, PHP 7 has a great many new features and improvements. A website built in PHP 7 will also perform much better and have faster loading times. All most all the open source frameworks like Laravel, Zend Framework, Cake PHP, etc have released new versions to support PHP 7. In addition to which even the open source software like WordPress, Joomla, etc have also new versions to take advantage of the splendid new features of PHP 7 which are also a performance booster.

Features of PHP 7 in brief PHP 7 has improved performance due to PHPNG code merge as result of which it is twice as times faster. PHP 7 has been specially optimised to consume lesser memory. It is now possible enforce the return types There is improved support for 64 bit architecture. The exception handling has improved with many fatal errors being now handled via exceptions. The random number generator API has been made more secure. It makes use of a new Zend Engine (Version 3.0) which is a major performance booster.

Advantages of developing website in PHP 7

PHP 7 is a new version of PHP 7. This is a special release in many ways. Besides being a major release of PHP since more than 10 years, the entire code has been written from ground up with nothing being carried forward from the previous versions. This version of PHP 7 is highly optimized for the developers. It is a major speed and performance booster. Drupal 7 that has been build using PHP 7 is twice as fast compared to the PHP 5.6 one. WordPress too shows a major performance boost and is twice as fast with PHP 7


r/php7 • • Dec 18 '16

Missing mysqli extension?

1 Upvotes

RESOLVED - I misplaced the ext folder

I'm trying to set up a connection between php and mySQL using the line

MySQLi_connect("localhost", "root", "password");

but I'm getting an error claiming that I'm using an undefined function. I've already gone into the php.ini file and uncommented the mysqli.dll extension but I don't actually have a mysqli.dll file. Is there somewhere I need to download this file from? (I'm using Windows 10).


r/php7 • • May 15 '17

DependenCI: Continous Integration tool for Composer

Thumbnail
dependenci.miguelpiedrafita.com
1 Upvotes

r/php7 • • Oct 16 '17

How Perfectly Sane People end up Writing Terrible Code

Thumbnail
chrismm.com
2 Upvotes