PHP Classes

Covoiturage Libre: Web application for managing a carpoling site

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 74 All time: 10,216 This week: 59Up
Version License PHP version Categories
covoiturage-libre 1.0.0The PHP License5PHP 5, Geography
Description 

Author

This package is a Web application for managing a carpooling site.

It provides a complete Web application to let the users interact and perform activities regarding carpooling. Currently it can manage cities, cars, users, etc..

Picture of Adnane EL Mouttaki
Name: Adnane EL Mouttaki <contact>
Classes: 2 packages by
Country: Morocco Morocco
Innovation award
Innovation award
Nominee: 1x

 

Documentation

Covoiturage-libre.fr

covoiturage-libre is an open source carpooling website in PHP.

Getting started

To install the website, just clone this repository on your computer and point your webserver to it.

Then, you will need to edit Connections/covoiturette.php.default with your configuration options and save it to Connections/covoiturette.php

Create the database::

mysql --user youruser --password
mysql> CREATE DATABASE covoiturette

... and import the tables::

mysql --user root --password -p covoiturette < ../trajets.sql
mysql --user root --password -p covoiturette < ../villes.sql
mysql --user root --password -p covoiturette < ../trajets_ws.sql
mysql --user root --password -p covoiturette < ../villes_ws.sql

Make it run

You can also import them manually into PHPMyAdmin if you want to.

Make it run on NGINX, for instance, by doing it like this::

# /etc/nginx/sites-enabled/coivoiturage-libre.fr 
server {
    server_name covoiturage-libre.local;
    set $path /home/alexis/dev/php/covoiturage-libre/;
    root   $path;

    location / {
        index  index.php;
    }

    location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
      access_log        off;
      expires           30d;
    }

    location ~ .php$ {
        fastcgi_param  SCRIPT_FILENAME  $path$fastcgi_script_name;
        fastcgi_pass   php_backend;
        include fastcgi_params;
    }

}
upstream php_backend {
        server 127.0.0.1:9000;
}

  Files folder image Files (274)  
File Role Description
Files folder imagewww (32 files, 12 directories)
Accessible without login Plain text file README.rst Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:74
This week:0
All time:10,216
This week:59Up