-
17 ФЕВР 20170
-
16 ФЕВР 20170
Mp3Info - получение мета тегов из mp3 файла
use wapmorgan\Mp3Info\Mp3Info; $audio = new Mp3Info($fileName, true); // or omit 2nd argument to increase parsing speed $audio = new Mp3Info($fileName); echo 'Audio duration: '.floor($audio->duration / 60).' min '.floor($audio->duration % 60).' sec'.PHP_EOL; echo 'Audio bitrate: '.($audio->bitRate / 1000).' kb/s'.PHP_EOL;
https://github.com/wapmorgan/Mp3Info -
15 ФЕВР 20170
medoo - PDO обертка на PHP
// If you installed via composer, just use this code to requrie autoloader on the top of your projects. require 'vendor/autoload.php'; // Or if you just download the medoo.php into directory, and require it with the correct path. require_once 'medoo.php'; // Initialize $database = new medoo([ 'database_type' => 'mysql', 'database_name' => 'name', 'server' => 'localhost', 'username' => 'your_username', 'password' => 'your_password', 'charset' => 'utf8' ]); // Enjoy $database->insert('account', [ 'user_name' => 'foo', 'email' => '[email protected]', 'age' => 25, 'lang' => ['en', 'fr', 'jp', 'cn'] ]);
http://medoo.in/ -
14 ФЕВР 20170
-
13 ФЕВР 20170
-
10 ФЕВР 20170
muicss/loadjs - простой маленький загрузчик
// define a dependency bundle loadjs(['/path/to/foo.js', '/path/to/bar.js'], 'foobar'); // execute code elsewhere when the bundle has loaded loadjs.ready('foobar', { success: function() { /* foo.js & bar.js loaded */ }, error: function(depsNotFound) { /* foobar bundle load failed */ } });
https://github.com/muicss/loadjs -
09 ФЕВР 20170
-
08 ФЕВР 20170
Категории:
Оставить на заметку в:




