2016. szeptember 27., kedd
Phonegap App With Laravel and Angular
Building a Phonegap App With Laravel and Angular : http://matthewdaly.co.uk/blog/2016/09/11/building-a-phonegap-app-with-laravel-and-angular-part-1/
Phonegap isn’t terribly hard to use, but the difference in context between that and a more conventional web app means that you have to move a lot of functionality to the client side, and unless you’ve used client-side Javascript frameworks before it can be a struggle.
Laravel 5.3 QuickAdmin install - part 1
C:\server\UniServerZ_2016\www\projects\laravel5>composer create-project laravel/laravel quickadmin_test --prefer-dist
[32mInstalling laravel/laravel (v5.3.10)[39m
- Installing [32mlaravel/laravel[39m ([33mv5.3.10[39m)
Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downloading: [33m55% Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downloading: [33m100%[39m
[32mCreated project in quickadmin_test[39m
> php -r "file_exists('.env') || copy('.env.example', '.env');"
[32mLoading composer repositories with package information[39m
[32mUpdating dependencies (including require-dev)[39m
- Installing [32mvlucas/phpdotenv[39m ([33mv2.4.0[39m)
Loading from cache
- Installing [32msymfony/polyfill-mbstring[39m ([33mv1.2.0[39m)
Loading from cache
- Installing [32msymfony/var-dumper[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msymfony/translation[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msymfony/routing[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msymfony/process[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msymfony/http-foundation[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msymfony/event-dispatcher[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32mpsr/log[39m ([33m1.0.1[39m)
Downlo Downlo Downlo Downloading: [33m100%[39m
- Installing [32msymfony/debug[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msymfony/http-kernel[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msymfony/finder[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msymfony/console[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32mswiftmailer/swiftmailer[39m ([33mv5.4.3[39m)
Loading from cache
- Installing [32mparagonie/random_compat[39m ([33mv2.0.2[39m)
Loading from cache
- Installing [32mramsey/uuid[39m ([33m3.5.0[39m)
Loading from cache
- Installing [32mjakub-onderka/php-console-color[39m ([33m0.1[39m)
Loading from cache
- Installing [32mjakub-onderka/php-console-highlighter[39m ([33mv0.3.2[39m)
Loading from cache
- Installing [32mdnoegel/php-xdg-base-dir[39m ([33m0.1[39m)
Loading from cache
- Installing [32mnikic/php-parser[39m ([33mv2.1.1[39m)
Loading from cache
- Installing [32mpsy/psysh[39m ([33mv0.7.2[39m)
Loading from cache
- Installing [32mnesbot/carbon[39m ([33m1.21.0[39m)
Loading from cache
- Installing [32mmtdowling/cron-expression[39m ([33mv1.1.0[39m)
Loading from cache
- Installing [32mmonolog/monolog[39m ([33m1.21.0[39m)
Loading from cache
- Installing [32mleague/flysystem[39m ([33m1.0.27[39m)
Loading from cache
- Installing [32msymfony/polyfill-util[39m ([33mv1.2.0[39m)
Loading from cache
- Installing [32msymfony/polyfill-php56[39m ([33mv1.2.0[39m)
Loading from cache
- Installing [32mjeremeamia/superclosure[39m ([33m2.2.0[39m)
Loading from cache
- Installing [32mdoctrine/inflector[39m ([33mv1.1.0[39m)
Loading from cache
- Installing [32mclasspreloader/classpreloader[39m ([33m3.0.0[39m)
Loading from cache
- Installing [32mlaravel/framework[39m ([33mv5.3.10[39m)
Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downloading: [33m55% Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downloading: [33m100%[39m
- Installing [32mfzaninotto/faker[39m ([33mv1.6.0[39m)
Loading from cache
- Installing [32mhamcrest/hamcrest-php[39m ([33mv1.2.2[39m)
Loading from cache
- Installing [32mmockery/mockery[39m ([33m0.9.5[39m)
Loading from cache
- Installing [32msymfony/yaml[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msebastian/version[39m ([33m2.0.0[39m)
Loading from cache
- Installing [32msebastian/resource-operations[39m ([33m1.0.0[39m)
Loading from cache
- Installing [32msebastian/recursion-context[39m ([33m1.0.2[39m)
Loading from cache
- Installing [32msebastian/object-enumerator[39m ([33m1.0.0[39m)
Loading from cache
- Installing [32msebastian/global-state[39m ([33m1.1.1[39m)
Loading from cache
- Installing [32msebastian/exporter[39m ([33m1.2.2[39m)
Loading from cache
- Installing [32msebastian/environment[39m ([33m1.3.8[39m)
Loading from cache
- Installing [32msebastian/diff[39m ([33m1.4.1[39m)
Loading from cache
- Installing [32msebastian/comparator[39m ([33m1.2.0[39m)
Loading from cache
- Installing [32mdoctrine/instantiator[39m ([33m1.0.5[39m)
Loading from cache
- Installing [32mphpunit/php-text-template[39m ([33m1.2.1[39m)
Loading from cache
- Installing [32mphpunit/phpunit-mock-objects[39m ([33m3.2.7[39m)
Loading from cache
- Installing [32mphpunit/php-timer[39m ([33m1.0.8[39m)
Loading from cache
- Installing [32mphpunit/php-file-iterator[39m ([33m1.4.1[39m)
Loading from cache
- Installing [32msebastian/code-unit-reverse-lookup[39m ([33m1.0.0[39m)
Loading from cache
- Installing [32mphpunit/php-token-stream[39m ([33m1.4.8[39m)
Loading from cache
- Installing [32mphpunit/php-code-coverage[39m ([33m4.0.1[39m)
Loading from cache
- Installing [32mwebmozart/assert[39m ([33m1.1.0[39m)
Loading from cache
- Installing [32mphpdocumentor/reflection-common[39m ([33m1.0[39m)
Loading from cache
- Installing [32mphpdocumentor/type-resolver[39m ([33m0.2[39m)
Loading from cache
- Installing [32mphpdocumentor/reflection-docblock[39m ([33m3.1.0[39m)
Loading from cache
- Installing [32mphpspec/prophecy[39m ([33mv1.6.1[39m)
Loading from cache
- Installing [32mmyclabs/deep-copy[39m ([33m1.5.4[39m)
Loading from cache
- Installing [32mphpunit/phpunit[39m ([33m5.5.5[39m)
Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downloading: [33m55% Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downlo Downloading: [33m100%[39m
- Installing [32msymfony/css-selector[39m ([33mv3.1.4[39m)
Loading from cache
- Installing [32msymfony/dom-crawler[39m ([33mv3.1.4[39m)
Loading from cache
symfony/var-dumper suggests installing ext-symfony_debug ()
symfony/translation suggests installing symfony/config ()
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/class-loader ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
ramsey/uuid suggests installing ircmaxell/random-lib (Provides RandomLib for use with the RandomLibAdapter)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsySH a lot happier :))
psy/psysh suggests installing ext-posix (If you have PCNTL, you'll want the POSIX extension as well.)
psy/psysh suggests installing ext-readline (Enables support for arrow-key history navigation, and showing and manipulating command history.)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
league/flysystem suggests installing ext-fileinfo (Required for MimeType)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-copy (Allows you to use Copy.com storage)
league/flysystem suggests installing league/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver and SES mail driver (~3.0).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (~2.4).)
laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~5.3|~6.0).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (~2.0).)
laravel/framework suggests installing symfony/psr-http-message-bridge (Required to psr7 bridging features (0.2.*).)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.4.0)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
phpunit/phpunit suggests installing ext-tidy (*)
phpunit/phpunit suggests installing ext-xdebug (*)
[32mWriting lock file[39m
[32mGenerating autoload files[39m
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
Generating optimized class loader
> php artisan key:generate
Application key [base64:lI+quIeIk0t97lqrIHjLUyn68cOR7A+0U4kIUl+dZ7I=] set successfully.
C:\server\UniServerZ_2016\www\projects\laravel5>
TCPDF works with PHP 7
TCPDF Downloads: https://sourceforge.net/projects/tcpdf/
In the PHP 7 environment I got a lot of PHP Notice.
Than I put 'error_reporting(0);' before 'require' TCPDF lib and this solved the problem. The PDF has been appeared.
Laravel Captcha
Hamog Captcha: https://packagist.org/packages/hamog/captcha
C:\server\UniServerZ_2016\www\projects\laravel5\auction_webshop>composer require hamog/captcha
Using version ^1.0 for hamog/captcha
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing hamog/captcha (v1.0)
Downloading: 100%
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
[32mGenerating optimized class loader[39m
C:\server\UniServerZ_2016\www\projects\laravel5\auction_webshop>
********
Captcha for Laravel 5 : https://github.com/mewebstudio/captcha
C:\server\UniServerZ_2016\www\projects\laravel5\auction_webshop>composer require mews/captcha
Using version ^2.1 for mews/captcha
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing mews/captcha (v2.1.4)
Downloading: 100%
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
[32mGenerating optimized class loader[39m
C:\server\UniServerZ_2016\www\projects\laravel5\auction_webshop>
****************
BotDetect Laravel 5.2 CAPTCHA Integration Quickstart : https://captcha.com/doc/php/laravel-captcha-quickstart.html
C:\server\path\auction_webshop>composer require captcha-com/laravel-captcha:"4.*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing captcha-com/captcha (4.1.0)
Cloning 1019ff13b82ee6f30119e6d3738acf4a8d36c2d3 from cache
- Installing captcha-com/laravel-captcha (4.1.0)
Downloading: 100%
captcha-com/captcha suggests installing captcha-com/cakephp-captcha (BotDetect 4 PHP Captcha generator integration for the CakePHP framework.)
captcha-com/captcha suggests installing captcha-com/symfony-captcha-bundle (BotDetect 4 PHP Captcha generator integration for the Symfony framework.)
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
[32mGenerating optimized class loader[39m
C:\server\path\auction_webshop>
2016. szeptember 2., péntek
Minecraft + PHP
You can program Minecraft with PHP language :
PHP, Arduino And… Minecraft? Combining Minecraft with PHP! : https://www.sitepoint.com/php-arduino-and-minecraft-combining-minecraft-with-php/
Feliratkozás:
Bejegyzések (Atom)