Skip to content
The repository for php-lang.net - the source for PHP content mashup
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
public
utils/PHPLang/DataSource
.gitattributes
.gitignore
README.md
_ide_helper.php
artisan
composer.json
server.php

README.md

Installation

The application uses Laravel 4 framework. Composer is being used to manage the dependencies.

Install dependencies

composer install 

Or for standalone composer setup -

php composer.phar install  

Autoloading custom classes

We added classes with custom functionality inside the utils directory under the PHPLang namespace. Please run this command to dump the autoloader for these classes -

composer dump-autoload

Configure Database

Edit app/config/database.php and fill up the mysql database details.

Run migrations

For creating the necessary tables, we used Laravel 4 migrations. Run the following command to run the database migrations -

php artisan migrate

Test Command

We have created a test command to test functionality. Run it like this -

php artisan test
You can’t perform that action at this time.