wjy + php   379

My Modern PHP Development Setup · John Mackenzie | Software Engineer
tl;dr
Use a Makefile and make good use of it
Run everything in Docker
Use CS Fixer To Adhere To Coding Standards
Use PHP Stan
Syncronise your team IDE’s with .editorconfig
php  development  modern  setup 
january 2019 by wjy
DesignPatternsPHP — DesignPatternsPHP 1.0 documentation
This is a collection of known design patterns and some sample code how to implement them in PHP. Every pattern has a small list of examples (most of them from Zend Framework, Symfony2 or Doctrine2 as I’m most familiar with this software).

I think the problem with patterns is that often people do know them but don’t know when to apply which.
designpatterns  php  reference  learning  programming  oop 
november 2018 by wjy
PeachPie | PHP compiler to .NET
Your bridge between PHP and .NET
php  compiler  dotnet 
july 2018 by wjy
paragonie/paseto: Platform-Agnostic Security Tokens
Paseto is everything you love about JOSE (JWT, JWE, JWS) without any of the many design deficits that plague the JOSE standards.

What follows is a reference implementation. Requires PHP 7 or newer.
php  alternative  jwt  authentication  security 
june 2018 by wjy
Amp - Asynchronous concurrency made simple ⋅ amphp
Asynchronous concurrency made simple
Amp is a non-blocking concurrency framework for PHP providing primitives to manage concurrency such as an event loop, promises, and asynchronous iterators.

It implements coroutines using PHP's generators to avoid callback or then() hells. Promise consumption works without callbacks and allows ordinary catch clauses just as synchronous code for handling errors.
php  async  framework  nonblocking  eventloop  generators  promises  coroutines  coroutine 
december 2017 by wjy
fideloper/TrustedProxy: Laravel Proxy Package for handling sessions when behind load balancers or other intermediaries.
Setting a trusted proxy allows for correct URL generation, redirecting, session handling and logging in Laravel when behind a proxy.

This is useful if your web servers sit behind a load balancer, HTTP cache, or other intermediary (reverse) proxy.
php  proxy  laravel  loadbalancing 
september 2017 by wjy
Kornel / babel-preset-php · GitLab
This project transpiles PHP source code to readable JavaScript source code.

The conversion is implemented as an AST to AST translation (with source maps!). Produced code will have valid JavaScript syntax, but may not work quite the same way due to many conceptual differences between the languages.
php  js  javascript  babel  convert 
july 2017 by wjy
monicahq/monica: A CRM to manage your friends and family.
Monica is an open-source web application to manage your personal relationships. Think of it as a CRM for your friends or family.
crm  opensource  cool  php  laravel  personal 
june 2017 by wjy
bobthecow/Ruler: A simple stateless production rules engine for PHP 5.3+
A simple stateless production rules engine for PHP 5.3+
php  engine  rules 
may 2017 by wjy
PsySH
A runtime developer console, interactive debugger and REPL for PHP.
php  repl  tools  console  interactive  debugger 
may 2017 by wjy
PHAR.IO
The PHAR Installation and Verification Environment (PHIVE)
Installation and verification of phar distributed PHP applications has never been this easy!
php  phar  build  package  cli 
january 2017 by wjy
PECL :: Package :: igbinary
Igbinary is a drop in replacement for the standard php serializer. Instead of
time and space consuming textual representation, igbinary stores php data
structures in a compact binary form. Savings are significant when using
memcached or similar memory based storages for serialized data.
php  extension  serialization  serializer 
december 2016 by wjy
flavius/phpmeta: A PHP module for generating the AST tree of a PHP source code, useful for userland tools for static code analysis, a preprocessor, eventually meta programming (a prototype, open for suggestions)
A PHP module for generating the AST tree of a PHP source code, useful for userland tools for static code analysis, a preprocessor, eventually meta programming (a prototype, open for suggestions)
php  phpmeta  ast  staticanalysis 
december 2016 by wjy
Deployer — Deployment Tool for PHP
Deployment tool for PHP projects, much like Capistrano is to Ruby.
php  deploy  deployment  tools  capistrano 
november 2016 by wjy
Pinba engine by tony2001
Pinba is a MySQL storage engine that acts as a realtime monitoring/statistics server for PHP using MySQL as a read-only interface.
opensource  php  mysql  monitoring  udp 
october 2016 by wjy
Robo
Modern Task Runner for PHP
php  tools  grunt  task  automation 
may 2016 by wjy
GitHub - mevdschee/php-crud-api: Single file PHP script that adds a REST API to a SQL database
Single file PHP script that adds a REST API to a MySQL InnoDB database. Alternatively SQLite 3, PostgreSQL 9 and MS SQL Server 2012 are fully supported.
php  crud  api  opensource 
april 2016 by wjy
GitHub - joonty/vim-phpqa: PHP QA tools for Vim
This is a plugin for Vim that integrates PHP quality checking tools, to allow you to code to a particular standard and easily spot errors and violations. It uses PHP linter to check for syntax errors, and integrates with PHP Code Sniffer and PHP Mess Detector to check for coding standard violations, and shows code coverage from clover XML files.
php  vim  qa  tools  phpcs  phpmd  staticanalysis 
april 2016 by wjy
A set of PHP libraries – Hoa
Hoa is a modular, extensible and structured set of PHP libraries. Moreover, Hoa aims at being a bridge between industrial and research worlds. Compose and extend libraries to create applications or your own libraries!
hoa  php  libraries  awesome 
april 2016 by wjy
GitHub - joshdifabio/resource-pool: Regulate the concurrency level of your async PHP components
Resource pools allow you to regulate the concurrency level of your asynchronous PHP components and spare your servers from excessive load. You'll find them particularly useful if your application sends HTTP requests or spawns child processes using something like ReactPHP.
php  async  library  promise  pool  concurrency 
march 2016 by wjy
GitHub - walkor/Workerman: An asynchronous event driven PHP framework for easily building fast, scalable network applications. Supports HTTP, Websocket and other custom protocols. Supports libevent, HHVM.
An asynchronous event driven PHP framework for easily building fast, scalable network applications. Supports HTTP, Websocket and other custom protocols. Supports libevent, HHVM.
php  framework  async  eventdriven 
march 2016 by wjy
Imanee
Imanee is an image manipulation library in PHP. It provides a simple workflow and several convenient methods to facilitate image processing and manipulation, like image composition, applying effects and filters to an image, animating gifs (only supported when using Imagick) and more.
php  library  imageprocessing  gd  imagick 
march 2016 by wjy
Packanalyst | Explore PHP classes from Packagist
Packanalyst is a service that lets you browse in any PHP class / interface / trait defined in Packagist. Packanalyst can be useful for the average developer, but we believe it can be tremendously useful for any package developer. Indeed, using Packanalyst, you can find any package containing classes that implement/extend or simply use your classes/interfaces. Therefore, this is an absolutely unique tool to know who is using and implementing your interfaces / abstract classes / traits. For instance, have a look at all the classes that implement the PSR3 LoggerInterface.
php  packagist  code  explorer 
march 2016 by wjy
GitHub - Qihoo360/phptrace: A tracing and troubleshooting tool for PHP scripts.
phptrace is a low-overhead tracing tool for PHP. It can trace all PHP executing, function calls, request information during run-time. And provides features like Filter, Statistics, Current Status and so on. It is very useful to locate blocking, heavy-load problems and debug in all environments, especially in production environments. Features: low-overhead, when extension loaded and trace is off stable, running on Qihoo 360 and tested on main-stream frameworks
php  tools  tracing  debuging  extension 
march 2016 by wjy
Sonata Project
A set of several rich open source bundles based on Symfony2
php  opensource  sysfony2  bundles  webdev 
march 2016 by wjy
HTTPlug
HTTPlug allows you to write reusable libraries that need an HTTP client without binding to a specific implementation.
php  http 
march 2016 by wjy
Ocramius/PackageVersions - PHP - GitHub
Composer addon to efficiently get package installed versions This repository implements PackageVersions\Versions::getVersion() in such a way that no IO happens when calling it, because the list of package versions is compiled during composer installation. This is especially useful when you want to generate assets/code/artifacts that are computed from the current version of a certain dependency. Doing so at runtime by checking the installed version of a package would be too expensive, and this package mitigates that.
php  composer  addons 
january 2016 by wjy
Mobile App Develpoments in PHP - PHAP
Creative native iOS, Android and Windows Phone apps in PHP.
php  android  mobiledev 
january 2016 by wjy
koel
a personal music streaming server
music  streaming  server  php  opensource  larave 
december 2015 by wjy
analogic/lescript · GitHub
Lescript is simplified concept of ACME client implementation especially for Let's encrypt service. It's goal is to have one easy to use PHP file without dependencies. Use at your own risk.
ssl  tls  letsencrypt  php 
december 2015 by wjy
icicle.io · GitHub
Write asynchronous code using synchronous coding techniques with PHP using promises and coroutines.
php  async  eventloop  promise  coroutine  coroutines 
october 2015 by wjy
ikwattro/guzzle-stereo · GitHub
Record and Replay HTTP Responses easily
php  http  guzzle  replay  record 
august 2015 by wjy
box/spout · GitHub
Spout is a PHP library to read and write CSV and XLSX files, in a fast and scalable way. Contrary to other file readers or writers, it is capable of processing very large files while keeping the memory usage really low (less than 10MB).
php  csv  xlsx  performance 
august 2015 by wjy
sstalle/php7cc · GitHub
PHP 7 Compatibility Checker
php  lint  tools  php7 
august 2015 by wjy
symfony/symfony-demo · GitHub
The "Symfony Demo Application" is a reference application created to show how to develop Symfony applications following the recommended best practices.
php  symfony  symfony2  demo  webdev  bestpractices  bestpractice 
july 2015 by wjy
Run your PHP code in our online shell (150+ versions)
3v4l.org is an online shell that allows you to evaluate your code on my server. I compiled more than 150 different PHP versions (every version released since 4.3.0) and HHVM for you to use. For every script you submit, this site tells you: Output from all released PHP and HHVM versions Performance (time and memory) of every version VLD opcode output Contextual links to documentation and php sourcecode Output from all upcoming alpha & beta PHP versions Output from a few popular RFC Branches HHVM Analyzer output
php  tools  testing  development  online  shell  hhvm 
july 2015 by wjy
dunglas/api-platform · GitHub
API-first web framework on top of Symfony with JSON-LD, Schema.org and Hydra support
api  framework  php  webdev  symfony  jsonld 
june 2015 by wjy
phpsh -- an interactive shell for php
phpsh is an interactive shell for php that features readline history, tab completion, quick access to documentation. It was developed at Facebook and ironically, is written mostly in python. It is open source and released under a modified BSD license. If you don't have --with-readline and --with-libedit compiled into your PHP binary but you do have Python2.4 installed, you may find this useful. If your PHP binary includes the readline module, you may prefer one of the pure PHP alternatives you can find by searching the Internet.
php  tools  programming  repl  facebook 
may 2015 by wjy
SSL Decoder
an open-source alternative for the SSL Labs server test
ssl  security  testing  test  https  tls  websec  tools  ssllab  php 
april 2015 by wjy
egeloen/ivory-http-adapter · GitHub
ssue http requests through the most popular clients in PHP 5.4.8+
php  http  adaper  psr7 
march 2015 by wjy
GitHub - widmogrod/php-functional: Functors, Applicative Functors and Monads in PHP
Functional programing is a fascinating concept. The purpose of this library is to explore Functors, Applicative Functors and Monads in OOP PHP, and provide examples of real world use case. Monad types available in the project: State Monad IO Monad Collection Monad (a.k.a List Monad, since list is a protected keyword in PHP I name it collection) Either Monad Maybe Monad
php  functional  functors  applicative  monads 
march 2015 by wjy
filp/nod · GitHub
Notifications in PHP (notify-send, growl, etc) like that.
php  library  notification  growl 
march 2015 by wjy
whoops! - php errors for cool kids
whoops is a nice little library that helps you develop and maintain your projects better, by helping you deal with errors and exceptions in a less painful way.
php  debugging  development  tools  library  errors  exceptions 
march 2015 by wjy
« earlier      
per page:    204080120160

related tags

!awesome  !cool  !hhvm  !jit  !jsfiddle  !jsperf  !nvm  !swag  !virtualenv  0mq  actionscript  activerecord  adaper  addons  admin  administration  ajax  alternative  amadeus  amd  amfphp  analyze  android  ansible  ant  aot  apache  api  apigility  apns  app  apple  applicative  arc2  article  articles  as3  assets  ast  async  attack  authentication  automation  aviation  awesome  baas  babel  backbone.js  backend  backtrace  barcode  bcrypt  bdd  benchmark  benchmarking  benchmarks  Best-Practice  best-practices  bestpractice  bestpractices  blog  book  bookmarking  bootstrap  browser  bugs  build  builder  bulletphp  bundle  bundles  business  c++  cache  caching  Cacti  cakephp  calendar  capistrano  cheatsheet  chinese  ci  class  classdiagram  cli  client  cloud  cloudcomputing  cluster  CMF  cms  code  codegeneration  CodeIgniter  codesniffer  codestyle  coding  codingstandards  codingstyle  coffeescript  collection  commandline  commonjs  commonmark  community  comp  comparison  compile  compiler  composer  compress  compression  concurrency  configuration  consistent-hashing  console  continuousintegration  controlpanel  convert  cool  coredump  coroutine  coroutines  cpp  crawl  crawler  critique  crm  crud  crypto  cryptography  css  csv  cucumber  curl  customize  daemon  dashboard  data  database  date  datetime  db  dbgp  deamon  debian  debug  debugger  debugging  debuging  decode  decoder  decompiler  demo  dependency  dependencyinjection  deploy  deployment  designpattern  designpatterns  desktop  developer  development  devops  devtools  diagrams  digg  distributed  docker  docs  doctrine  doctrine2  documentation  dom  dotenv  dotnet  dreamhost  drupal  drush  dvwa  easter  eclipse  ecommerce  editor  egg  ejecutable  email  embedded  encryption  engine  envirenment  environment  erlang  errorhandler  errors  event  eventdriven  eventloop  evernote  excel  exceptions  explorer  extension  facebook  faker  fastcgi  fdt  fig  file  filter  flash  flex  format  formatting  forum  foss  fp  fpm  framework  frameworks  free  FSM  fun  functional  functors  galaxia  gd  gdb  gdpr  gearman  generator  generators  getopts  gfw  gif  git  github  gnu  golang  google  graphviz  growl  grunt  gui  guide  guideline  guidelines  guzzle  h2o  hack  hacking  ham  haml  hashing  hashtable  hhvm  hippyvm  hmvc  hoa  hook  hosting  howto  html  html5  http  http2  https  ibm  ide  image  imageprocessing  imagick  ini  installer  integration  interactive  interface  internals  interpreter  ios  iosdev  ipad  iptable  java  javascript  jelastic  jquery  js  json  jsonld  jsonpath  jwt  kohana  kphp  lamp  language  larave  laravel  learning  lesscss  letsencrypt  lib  libevent  libraries  library  libsodium  license  licensing  lightweight  linq  lint  linter  linux  list  loadbalancing  localhost  log  logging  lol  lua  mac  machine-learning  machinelearning  mailchimp  make  mandrill  manual  markdown  md5  mdb2  mechanize  memcache  memcached  messaging  microframework  middleware  migration  mime  mimetypes  minecraft  mirror  mobile  mobiledev  mock  mocking  modern  monads  mongo  mongodb  Mongrel2  monitoring  monolog  music  mvc  mysql  mysqli  namespace  nette  neuralnetwork  node  node-php  node.js  node.php  nodejs  nonblocking  notes  notetatking  notification  npm  oauth2  ocaml  online  oop  opcache  opensource  openssl  OpenXML  optimization  orm  osx  paas  package  package-manager  packages  packaging  packagist  paperwork  parse  parser  password  patterns  payment  pdo  pear  peg  people  performance  perl  personal  ph7  phalcon  phar  Phing  php  php-fpm  php-gtk  php-resque  php.ini  php5  php5.3  php6  php7  phpci  phpcs  phpdoc  phpmd  phpmeta  phpmyadmin  phpquery  phpspec  phpunit  pimple  pki  plugin  podcast  podcasts  pool  processmanager  productivity  profiler  profiling  programming  projects  promise  promises  propel  proposal  provisioning  proxy  psr-0  psr-1  psr-2  psr7  puphpet  puppet  purifier  push  puzzle  puzzles  pypy  python  qa  quercus  query  queue  rack  RAD  rails  rake  rant  ratchet  rdf  react  reactphp  readability  realtime  record  reddit  redis  reference  regex  repl  replay  repository  requirements  resources  respect  resque  rest  restful  restfull  restler  RFC  router  routing  rpc  RPython  ruby  rules  rust  rvm  saas  sadness  sass  satis  savant  scala  scalability  scanner  schedule  scm  scraper  scraping  scrypt  search  searchengine  security  sed  selenium  semantic  semanticweb  serialization  serialize  serializer  server  service  setup  sf2  sha1  shadowsocks  shell  shoppingcart  silex  sinatra  skipper  slack  slides  slim  smarty  smtp  snippets  snmp  soa  soap  social  software  sparql  spec  specification  spider  spl  spoon  sql  ssl  ssllab  standard  standards  statemachine  staticanalysis  staticanalyze  staticanalyzer  statictyping  statistic  stdlib  storage  store  streaming  stripe  strtotime  Subversion  suhosin  SVN  swf  swoole  sylius  symfony  symfony2  symphony  sysadmin  sysfony  sysfony2  tal  talks  task  telephony  template  templateengine  templates  templating  test  testing  text  tikiwiki  time  TinyButStrong  tips  tls  tool  tools  tracing  tracking  traits  trans  translations  transpiler  tutorial  twig  twitter  typo3  udp  ui  uml  unframework  unicode  unittest  unittesting  unix  url  vagrant  validation  video  videos  vim  virtual  virtualbox  virtualmachine  visual  vm  vulnerability  wamp  web  web.py  webapp  webdev  webdevelopment  webiny  websec  websecurity  webservice  webservices  websocket  websockets  web_service  wiki  wikipedia  wordpress  workers  workflow  WYSIWYG  xampp  xdebug  xhprof  xls  xlsx  xml  xmlhttprequest  xprof  xshell  xss  yii  youtube  zend  zendframeword  zephir  ZeroMQ  zf2  zope 

Copy this bookmark:



description:


tags: