-
30 ДЕК 20150
-
29 ДЕК 20150
-
28 ДЕК 20150
phan - статический анализатор для PHP
Выводит вот такой вот отчет:test1.php:191 UndefError call to undefined function get_real_size() test1.php:232 UndefError static call to undeclared class core\session\manager test1.php:386 UndefError Trying to instantiate undeclared class lang_installer test2.php:4 TypeError arg#1(arg) is object but escapeshellarg() takes string test2.php:4 TypeError arg#1(msg) is int but logmsg() takes string defined at sth.php:5 test2.php:4 TypeError arg#2(level) is string but logmsg() takes int defined at sth.php:5 test3.php:11 TypeError arg#1(number) is string but number_format() takes float test3.php:12 TypeError arg#1(string) is int but htmlspecialchars() takes string test3.php:13 TypeError arg#1(str) is int but md5() takes string test3.php:14 TypeError arg#1(separator) is int but explode() takes string test3.php:14 TypeError arg#2(str) is int but explode() takes string
Требует PHP7 и расширение php-ast =)
https://github.com/etsy/phan -
26 ДЕК 20150
funct - php библиотека объединяет в себе наиболее частые блоки кода
Пример использования notEmpty($value)Funct\notEmpty('fooBar'); // => true Funct\notEmpty(''); // => false
Список функций на текущий момент: arrayKeyNotExists, false, firstValue, firstValueNotEmpty, notEmpty, notInArray, notNull, null, tempFile, true, compact, countBy, every, findWhere, first, firstN, flatten, flattenAll, forEvery, get, groupBy, initial, intersection, invoke, last, lastIndexOf, lastN, maxValue, merge, minValue, pairs, partition, pluck, reject, rest, reverse, some, sortBy, tail, union, unzip, where, without, zip, between, camelize, chompLeft, chompRight, classify, collapseWhitespace, contains, countOccurrences, dasherize, endsWith, includes, isAlpha, isAlphaNumeric, isLower, isNumeric, isUpper, latinize, left, len, length, lines, lowerCaseFirst, pad, padLeft, padRight, repeat, reverse, right, slugify, startsWith, strip, stripPunctuation, times, titleize, toSentenceSerial, truncate, underscore, upperCaseFirst, ifCondition, ifIsset, ifNotEmpty, toArray.
Минимальные требования PHP >= 5.5
https://github.com/phpfunct/funct -
25 ДЕК 20150
unslider - js скрипт слайдера

Пример<div class="banner"> <ul><li>This is my slider.</li><li>Pretty cool, huh?</li></ul> </div> <script src="//code.jquery.com/jquery-2.1.4.min.js"></script> <script src="/path/to/unslider.js"></script> <script>$(function() { $('.banner').unslider() })</script> -
24 ДЕК 20150
asynchronous-php - список ресурсов связанных с асинхронностью в php

Асинхронность, кэши, cli, сжатие базы данных, днс, события, файловые системы, гуи, хттп, ирк, сокеты и потоки, веб приложения, веб сервисы и тд и тп.
https://github.com/elazar/asynchronous-php -
21 ДЕК 20150
Responsify.js - скрипт создания отзывчивых изображений с фокусом на область

Пример использованияfunction start() { microm.startRecording().then(function() { console.log('recording...') }).catch(function() { console.log('error recording'); }); } function stop() { microm.stop().then(function(result) { mp3 = result; console.log(mp3.url, mp3.blob, mp3.buffer); play(); download(); }); }
http://responsifyjs.space/ -
19 ДЕК 20150
Js скрипт фильтра по тексту для страницы FAQ

<img src="image.png" alt="" data-focus-left=".30" data-focus-top=".12" data-focus-right=".79" data-focus-bottom=".66" />
Демонстрация: http://jsfiddle.net/lesson8/u66Qa/show/
Категории:
Оставить на заметку в:


