Skip to main content

Posts

PHP 7 with Laravel 5.3 installation problem ( Your requirements could not be resolved to an installable set of packages )

I'm Facing this problem, while installation using laravel 5.3 with PHP 7 Your requirements could not be resolved to an installable set of packages.   Problem 1     - phpunit/phpunit 5.5.5 requires ext-dom * -> the requested PHP extension dom is missing from your system.     - phpunit/phpunit 5.5.4 requires ext-dom * -> the requested PHP extension dom is missing from your system.     - phpunit/phpunit 5.5.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.     - phpunit/phpunit 5.5.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.     - phpunit/phpunit 5.5.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.     - phpunit/phpunit 5.5.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.     - phpunit/phpunit 5.4.8 requires ext-do...

How To Upgrade to PHP 7 on Ubuntu 14.04

Introduction PHP 7, which was released on December 3, 2015, promises substantial speed improvements over previous versions of the language, along with new features like scalar type hinting. This guide explains how to quickly upgrade an Apache or Nginx web server running PHP 5.x (any release) to PHP 7. Warning: As with most major-version language releases, it's best to wait a little while before switching to PHP 7 in production. In the meanwhile, it's a good time to test your applications for compatibility with the new release, perform benchmarks, and familiarize yourself with new language features. If you're running any services or applications with active users, it is safest to first test this process in a staging environment. Prerequisites This guide assumes that you are running PHP 5.x on an Ubuntu 14.04 machine, using either mod_php in conjunction with Apache, or PHP-FPM in conjunction with Nginx. It also assumes that you have a non-root use...

SMS Integration using laravel 5.3 (Using Twilio trial account)

Installation Begin by installing this package through Composer. Run this command from the Terminal: composer require aloha/twilio Laravel integration To wire this up in your Laravel project, whether it's built in Laravel 4 or 5, you need to add the service provider. Open app.php , and add a new item to the providers array. ' Aloha\Twilio\Support\Laravel\ServiceProvider ' , This will register two new artisan commands for you: twilio:sms twilio:call And make these objects resolvable from the IoC container: Aloha\Twilio\Manager (aliased as twilio ) Aloha\Twilio\TwilioInterface (resolves a Twilio object, the default connection object created by the Manager ). There's a Facade class available for you, if you like. In your app.php config file add the following line to the aliases array if you want to use a short class name: ' Twilio ' => ' Aloha\Twilio\Support\Laravel\Facade ' , In Laravel 4 you can publish the de...