Tag : Linux


PHP - Getting Started PHPUnit test with simple example

PHPUnit is a one type of unit testing framework for PHP language. In todays PHPUnit is very popular for testing. Most of site owner want to implement PHPUnit test because that way we can simply test using command. Without testing our website will never be good to publish. But if you don't know about PHPUnit and no idea how to start so just follow bellow example for scratch. I will give you very simple example of PHPUnit and how it works from scratch. I make quick easy example with phpunit command. We have to create two file like as listed bellow: <strong>1)MyTest.php</strong> <strong>2)MyTest.....

By Hardik Savani | February 12, 2017 | | 1823 Viewer | Category : PHP
READ MORE

How to enable rewrite mode for apache in ubuntu?

Whenever you need to rewrite index.php file from url you can find solution here. you can easily enable rewrite mode using bellow terminal command. when i create one virtualhost for my laravel application and open in browser and open my created virtual url. but when i click on login i found following error : <pre> URL not found.... </pre> But when i try add index.php like this way then it works: <pre> http://test.hd/index.php/login </pre> You can remove index.php from url so run following command: <pre class="prettyprint lang-php"> sudo a2enmod rewrite sudo service apache2 restart </pre> Now .....

By Hardik Savani | April 8, 2016 | | 494 Viewer | Category : Ubuntu Apache
READ MORE

    Simple Example of Bootstrap Lightbox Plugin with demo

    Simple Example of Bootstrap Lightbox Plugin with demo

    Open Post

    AngularJS - scroll to a specific element using anchorscroll

    AngularJS - scroll to a specific element using anchorscroll

    Open Post

    How to create custom helper in Laravel 5?

    How to create custom helper in Laravel 5?

    Open Post

    How to use login throttle in laravel 5?

    How to use login throttle in laravel 5?

    Open Post

    How to install composer using command line in ubuntu ?

    How to install composer using command line in ubuntu ?

    Open Post

    How to get Instagram followers count using JQuery Ajax?

    How to get Instagram followers count using JQuery Ajax?

    Open Post