SavedMarks

Tag: php

  1. Screenshot of PHP get pdf file from base64 encoded data string - Stack Overflow

    PHP get pdf file from base64 encoded data string - Stack Overflow

    How to take a base64 encoded lump of data and save as an actual file. Useful as I was dealing with some encoded data in some returned JSON

    Saved by: Paul on 24 May 2019

  2. Screenshot of How To Send a WhatsApp Message in 30 Seconds with PHP - Twilio

    How To Send a WhatsApp Message in 30 Seconds with PHP - Twilio

    Could be useful for couple of clients if someone can easily register their WhatsApp number, or for me for monitoring purposes

    Saved by: Paul on 16 May 2019

  3. Screenshot of PHP Code Sniffer

    PHP Code Sniffer

    PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards. As recommended by Alex Farran for helping find problems in PHP code when moving a codebase from older PHP to PHP 7

    Saved by: Paul on 29 Jun 2018

  4. Screenshot of Multiple DB Connections in Laravel

    Multiple DB Connections in Laravel

    How to set up multiple database connections in Laravel and amend your code in the various ways Laravel can talk to a database so you can choose which database to connect to for each query.

    Saved by: Paul on 26 Oct 2017

  5. Screenshot of Set up Laravel 5.4 with MAMP Pro on MacOS Sierra | Barry Sampson

    Set up Laravel 5.4 with MAMP Pro on MacOS Sierra | Barry Sampson

    Step by step instructions for getting Laravel 5 working with MAMP (Pro) rather than having to use Homestead etc.

    Saved by: Paul on 4 Aug 2017

  6. Screenshot of PHP Chart

    PHP Chart

    Charting code for PHP

    Saved by: Paul on 16 Aug 2016

  7. Screenshot of PHP Month Number to Month Name the Easy Way

    PHP Month Number to Month Name the Easy Way

    It's just... $monthNum = 5; $monthName = date("F", mktime(0, 0, 0, $monthNum, 10)); Which is neat. It doesn't use jdmonthname, which expects a day of the year, which is fine but more awkward when you just want to make the month name

    Saved by: Paul on 16 Aug 2016

  8. Screenshot of Mailchimp API example - subscribe in PHP

    Mailchimp API example - subscribe in PHP

    An example of how to use the Mailchimp API to subscribe to a mailing list using PHP and C u r l

    Saved by: Paul on 1 Jun 2016

  9. Screenshot of Lemmatizer PHP script for various languages

    Lemmatizer PHP script for various languages

    A lemmatizer does what I usually think of as stemming - offering the plurals and other alternatives of a word. i.e. "stem" becomes "stemming". Documentation in Russian, so need to use Google Translate for it. The example code is good and has comments in English.

    Saved by: Paul on 24 May 2016