mentors

mentors Commit Details


Date:2014-06-26 00:20:53 (11 years 2 months ago)
Author:Right Or Wrong
Branch:develop
Commit:ca3414a452d786246ad30e5b17c393d8a39043ab
Parents: 666ae3fc27414508593a347e49338589fd89af0e
Message:alot of stuff added here

Changes:

File differences

app/config/mail.php
2828
2929
3030
31
31
3232
3333
3434
......
5454
5555
5656
57
57
5858
5959
6060
......
8080
8181
8282
83
83
8484
8585
8686
......
9393
9494
9595
96
96
9797
9898
9999
|
*/
'host' => 'smtp.mailgun.org',
'host' => 'smtp.gmail.com',
/*
|--------------------------------------------------------------------------
|
*/
'from' => array('address' => null, 'name' => null),
'from' => array('address' => 'elisha.java@gmail.com', 'name' => 'Mentconnect Team'),
/*
|--------------------------------------------------------------------------
|
*/
'username' => null,
'username' => 'elisha.java',
/*
|--------------------------------------------------------------------------
|
*/
'password' => null,
'password' => '$_KIPsigei2003#',
/*
|--------------------------------------------------------------------------
app/controllers/LoginController.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
class LoginController extends \BaseController
{
public function showLogin()
{
return View::make('login');
}
public function doLogin()
{
// validate the info, create rules for the inputs
$rules = array(
'email' => 'required|email', // make sure the email is an actual email
'password' => 'required|alphaNum|min:3' // password can only be alphanumeric and has to be greater than 3 characters
);
// run the validation rules on the inputs from the form
$validator = Validator::make(Input::all(), $rules);
// if the validator fails, redirect back to the form
if ($validator->fails()) {
return Redirect::to('login')
->withErrors($validator) // send back all errors to the login form
->withInput(Input::except('password')); // send back the input (not the password) so that we can repopulate the form
} else {
// create our user data for the authentication
$userdata = array(
'email' => Input::get('email'),
'password' => Input::get('password')
);
// attempt to do the login
if (Auth::attempt($userdata)) {
// validation successful!
// redirect them to the secure section or whatever
// return Redirect::to('secure');
// for now we'll just echo success (even though echoing in a controller is bad)
return \Redirect::to('/');
} else {
// validation not successful, send back to form
return \Redirect::to('login');
}
}
}
public function doLogout()
{
Auth::logout(); // log the user out of our application
return \Redirect::to('/'); // redirect the user to the login screen
}
public function register()
{
return View::make('mentors.register');
}
}
app/controllers/MentorController.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php
class MentorController extends \BaseController {
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
return View::make('mentors.index');
}
/**
* Show the form for creating a new resource.
*
* @return Response
*/
public function create()
{
return View::make('mentors.register');
}
/**
* Store a newly created resource in storage.
*
* @return Response
*/
public function store()
{
$mentor = new Mentor;
}
/**
* Display the specified resource.
*
* @param int $id
* @return Response
*/
public function show($id)
{
$mentor = Mentor::where('id', $id)->get();
return View::make('mentors.profile')->with('mentor', $mentor);
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return Response
*/
public function edit($id)
{
//
}
/**
* Update the specified resource in storage.
*
* @param int $id
* @return Response
*/
public function update($id)
{
//
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return Response
*/
public function destroy($id)
{
//
}
}
app/controllers/RemindersController.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?php
class RemindersController extends Controller {
/**
* Display the password reminder view.
*
* @return Response
*/
public function getRemind()
{
return View::make('password.remind');
}
/**
* Handle a POST request to remind a user of their password.
*
* @return Response
*/
public function postRemind()
{
//validate email entered here
$rules = array(
'email' => 'required|email',
);
$validator = Validator::make(Input::all(), $rules);
if ($validator->fails())
{
return Redirect::to('password/remind')
->withErrors($validator)
->withInput(Input::except('password'));
}else
{
switch ($response = Password::remind(Input::only('email')))
{
case Password::INVALID_USER:
\Session::flash('message', 'The email you entered does not exist. Try a different email.');
return Redirect::back()->with('error', Lang::get($response));
case Password::REMINDER_SENT:
\Session::flash('message', 'Please check your email for information on how to reset your password.');
return Redirect::back()->with('status', Lang::get($response));
}
}
}
/**
* Display the password reset view for the given token.
*
* @param string $token
* @return Response
*/
public function getReset($token = null)
{
if (is_null($token)) App::abort(404);
return View::make('password.reset')->with('token', $token);
}
/**
* Handle a POST request to reset a user's password.
*
* @return Response
*/
public function postReset()
{
//validate input here
$rules = array(
'email' => 'required|email',
'password' => 'required|password',
'password_confirmation' => 'required',
'token' => 'required',
);
$validator = Validator::make(Input::all(), $rules);
if ($validator->fails())
{
return Redirect::back()
->withErrors($validator)
->withInput(Input::except('password', 'password_confirmation'));
}
$credentials = Input::only(
'email', 'password', 'password_confirmation', 'token'
);
$response = Password::reset($credentials, function($user, $password)
{
$user->password = Hash::make($password);
$user->save();
});
switch ($response)
{
case Password::INVALID_PASSWORD:
case Password::INVALID_TOKEN:
case Password::INVALID_USER:
return Redirect::back()->with('error', Lang::get($response));
case Password::PASSWORD_RESET:
echo 'Password was reset successfully';
return Redirect::to('login');
}
}
}
app/controllers/SessionController.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
class SessionController extends \BaseController
{
public function showLogin()
{
return View::make('login');
}
public function doLogin()
{
$rules = array(
'email' => 'required|email',
'password' => 'required|alphaNum|min:3'
);
$validator = Validator::make(Input::all(), $rules);
if ($validator->fails()) {
return Redirect::to('login')
->withErrors($validator)
->withInput(Input::except('password'));
} else {
$userdata = array(
'email' => Input::get('email'),
'password' => Input::get('password')
);
if (Auth::attempt($userdata)) {
return \Redirect::to('/');
} else {
return \Redirect::to('login');
}
}
if (Auth::attempt(array('email' => $email, 'password' => $password), true))
{
// The user is being remembered...
}
}
public function doLogout()
{
Auth::logout();
return \Redirect::to('/');
}
}
app/controllers/UserController.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?php
class UserController extends \BaseController
{
public function create()
{
return View::make('mentors.create');
}
public function store()
{
$rules = array(
'firstname' => 'required|min:3',
'lastname' => 'required|min:3',
'email' => 'required|email',
'password' => 'required|alphaNum|min:3'
);
$validator = Validator::make(Input::all(), $rules);
if ($validator->fails())
{
return Redirect::to('users/create')
->withErrors($validator)
->withInput(Input::except('password'));
} else
{
//note-to-self: convert to use firstOrCreate(array())
$firstname = Input::get('firstname');
$lastname = Input::get('lastname');
$email = Input::get('email');
$password = Input::get('password');
$user = new User;
$user->firstname = $firstname;
$user->lastname = $lastname;
$user->email = $email;
$user->password = Hash::make($password);
if($user->save())
{
return Redirect::to('users/group')->with('success', 'You have successfully registered');
}else
{
return \Redirect::to('users/create')->with('errors', 'Something terrible happened');
}
}
}
/**
* Display the mentor or mentee choice view
* @return Response
*/
public function chooseGroup()
{
return View::make('mentors.group')->with('id', array());
}
/**
* Handles POST to complete user profile
* @param int $id user id
* @return Response
*/
public function completeProfile($id)
{
$user = User::find($id);
return View::make('mentors.complete', array('user' => $user));
}
/**
* Handles POST request to update user profile
* @param $id of the user being updated
* @return Response
*/
public function saveProfile($id)
{
$user = User::find($id);
}
/**
* Display the view of a single user
* @param $id user id to be displayed
* @return Response
*/
public function viewProfile($id)
{
$user = User::find($id);
return View::make('mentors.profile', array('user' => $user));
}
/**
* Display view to edit a given user
* @param $id of the user being updated
* @return Response
*/
public function edit($id)
{
$user = User::find($id);
return View::make('mentors.edit', array('user' => $user));
}
/**
* Handle POST request to delete a user
* @param $id of the user to destroy
* @return Response
*/
public function destroy($id)
{
$user = User::destroy($id);
}
}
app/database/migrations/2014_06_21_195900_create_users_table.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$table->increments('id');
$table->string('name', 32);
$table->string('email', 32);
$table->string('password', 64);
$table->string('title', 32);
$table->string('remember_token', 100)->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('users');
}
}
app/database/migrations/2014_06_24_025956_create_user_table.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$table->increments('id');
$table->string('firstname', 32);
$table->string('lastname', 32);
$table->string('email', 32);
$table->string('password', 64);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('users');
}
}
app/database/migrations/2014_06_24_031127_alter_user_table_add_token.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterUserTableAddToken extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('users', function(Blueprint $table)
{
$table->string('remember_token', 100)->after('password')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
DB::table('users', function(Blueprint $table)
{
$table->dropColumn('remember_token');
});
}
}
app/database/migrations/2014_06_24_040438_make_user_email_unique.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class MakeUserEmailUnique extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('users', function(Blueprint $table)
{
$table->unique('email');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
DB::table('users', function(Blueprint $table)
{
$table->dropUnique('email');
});
}
}
app/database/migrations/2014_06_24_042016_create_password_reminders_table.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePasswordRemindersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('password_reminders', function(Blueprint $table)
{
$table->string('email')->index();
$table->string('token')->index();
$table->timestamp('created_at');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('password_reminders');
}
}
app/database/migrations/2014_06_26_051519_create_mentors_table.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMentorsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mentors', function(Blueprint $table)
{
$table->increments('id');
})
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('mentors');
}
}
app/database/migrations/2014_06_26_051534_create_mentees_table.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMenteesTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('mentees', function(Blueprint $table)
{
$table->increments('id');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('mentees');
}
}
app/database/seeds/UserTableSeeder.php
11
22
3
3
44
55
66
77
88
99
10
11
12
13
14
15
10
11
12
13
14
15
1616
<?php
class UserTableSeeder extends Seeder
class UserTableSeeder extends \Seeder
{
public function run()
{
DB::table('users')->delete();
User::create(array(
'name' => 'Elisha Chirchir',
'email' => 'elisha.java@gmail.com',
'title' => 'Mentor',
'password' => Hash::make('admin'),
));
}
'firstname' => 'Elisha',
'lastname' => 'Chirchir',
'email' => 'elisha.java@gmail.com',
'password' => Hash::make('admin')
));
}
}
app/models/Mentor.php
1
2
3
4
5
6
7
8
9
<?php
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\Reminders\RemindableInterface;
/**
*
*/
class Mentor extends \Eloquent implements UserInterface, RemindableInterface
{}
app/models/User.php
55
66
77
8
89
910
1011
1112
1213
1314
15
1416
1517
1618
class User extends Eloquent implements UserInterface, RemindableInterface {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
protected $fillable = array('firstname', 'lastname', 'email', 'password');
/**
* The attributes excluded from the model's JSON form.
app/routes.php
1111
1212
1313
14
15
16
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
1738
1839
19
2040
21
22
23
24
41
42
43
44
45
46
47
48
49
50
51
52
53
54
2555
|
*/
Route::get('/', function()
{
return View::make('home');
/**
* User Session Controller routes
*/
Route::get('/', function(){return View::make('home') ;});
Route::get('login', array('as' => 'login', 'uses' => 'SessionController@showLogin'));
Route::post('login', array('uses' => 'SessionController@doLogin'));
Route::post('logout', array('uses' => 'SessionController@doLogout'));
/**
* New User Creation Controller routes
*/
Route::get('users/create', array('as' => 'create', 'uses' => 'UserController@create'));
Route::post('users/store', array('uses' => 'UserController@store'));
Route::put('users/{id}/update', array('before' => 'auth', 'as' => 'update', 'uses' => 'UserController@update'));
Route::get('users/{id}/edit', array('before' => 'auth','uses' => 'UserController@edit'));
Route::delete('users/{id}/delete', array('before' => 'auth','uses' => 'UserController@destroy'));
Route::get('users/group', array('uses' => 'UserController@chooseGroup'));
Route::get('users/{id}', array('uses' => 'UserController@viewProfile'));
Route::post('users/{id}', array('uses' => 'UserController@updateProfile'));
Route::get('choose', function(){
return View::make('mentors.group');
});
Route::resource('mentors', 'MentorController');
Route::get('login', array('uses' => 'LoginController@showLogin'));
Route::post('login', array('uses' => 'LoginController@doLogin'));
Route::post('logout', array('uses' => 'LoginController@doLogout'));
Route::get('register', array('uses' => 'LoginController@register'));
/**
* User Password Reminder Controller routes
*/
Route::get('password/remind', array('uses' => 'RemindersController@getRemind'));
Route::post('password/remind', array('uses' => 'RemindersController@postRemind'));
Route::get('password/reset/{token}', array('uses' => 'RemindersController@getReset'));
Route::post('password/reset/{token}', array('uses' => 'RemindersController@postReset'));
// App::missing(function($exception)
// {
// return View::make('home');
// });
app/views/home.blade.php
22
33
44
5
5
66
77
88
......
4242
4343
4444
45
45
4646
4747
4848
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Laravel PHP Framework</title>
<title>Mentconnect inc</title>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
{{HTML::style('css/mentconnect.css')}}
</head>
</p>
<p id="button-row">
{{ HTML::link('register', 'Join Now', array('class' => 'btn btn-large btn-primary proxima-bold')) }}
{{ HTML::link('users/create', 'Join Now', array('class' => 'btn btn-large btn-primary proxima-bold')) }}
</p>
</div>
app/views/login.blade.php
22
33
44
5
6
5
76
87
98
......
4241
4342
4443
45
46
47
48
49
5044
5145
5246
5347
54
48
5549
5650
5751
5852
5953
60
54
6155
6256
6357
......
6963
7064
7165
72
66
7367
7468
7569
76
70
7771
7872
7973
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Laravel PHP Framework</title>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<title>Mentconnect - Login</title>
{{HTML::style('css/mentconnect.css')}}
</head>
<body>
<fieldset>
<legend><h2>Please Sign In</h2></legend>
<p class="text-error">
{{ $errors->first('email') }}
{{ $errors->first('password') }}
</p>
<div class="control-group">
{{ Form::label('email', 'Email', array('class' => 'control-label')) }}
<div class="controls">
{{ Form::text('email', \Input::old('email'), array('class' => 'form-control borderd input-large', 'span' => 'span6', 'placeholder' => 'awesome@awesome.com'))}}
{{ Form::text('email', \Input::old('email'), array('class' => 'form-control borderd input-large', 'span' => 'span6', 'placeholder' => 'awesome@awesome.com'))}} <p class="alert-error pull-right">{{ $errors->first('email') }}</p>
</div>
</div>
<div class="control-group">
{{ Form::label('password', 'Password', array('class' => 'control-label'))}}
<div class="controls">
{{ Form::password('password', array('class' => 'form-control bordered input-large', 'placeholder' => 'Password', 'span' => 'span6'))}}
{{ Form::password('password', array('class' => 'form-control bordered input-large', 'placeholder' => 'Password', 'span' => 'span6'))}} <p class="alert-error pull-right">{{ $errors->first('password') }}</p>
</div>
</div>
<div class="control-group">
</div>
<div class="form-group">
<button class="btn btn-primary btn-large pull-left" type="submit"><span class="login-button-icon"></span>Sign in</button> &nbsp; &nbsp; &nbsp;
<a href="/user/pwreset">Forgot your password?</a>
{{HTML::link('password/remind', 'Forgot your password?')}}
</div>
<hr/>
<div class="form-group bottom-group">
Don't have a Mentconnect account? <a href="/register">Register now →</a>
Don't have a Mentconnect account? {{HTML::link('users/create', 'Register now')}}
</div>
</fieldset>
{{Form::close()}}
app/views/mentors/complete.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mentconnect Inc - Profile</title>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
{{HTML::style('css/mentconnect.css')}}
</head>
<body>
<header id="cta" class="background-showcase">
<div id="nv" class="navbar">
<div class="container">
<a class="navbar-brand" href="/">
<div class="asset logo-white-header">
{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
</div>
</a>
<ul class=" nav navbar-nav pull-right">
<li class>
{{HTML::link('partners', 'Partners') }}
</li>
<li class>
{{HTML::link('blog', 'Blog') }}
</li>
<li class="button">
{{HTML::link('login', 'Sign In') }}
</li>
</ul>
</div>
</div>
</header>
<div id="signup-content">
{{ Form::open(array('url' => 'users/store', 'class' => 'form-horizontal')) }}
<div class="container padded">
<div class="container">
<legend><h2>Complete Your Profile</h2></legend>
</div>
<div class="row">
<div class="col-lg-8">
<div class="form-group">
<label for="firstname">First Name</label>
{{Form::text('firstname', \Input::old('firstname'), array('class' => 'form-control form-control-bordered', 'tabindex' => '1'))}} <span class="pull-right">{{$errors->first('firstname')}}</span>
</div>
<div class="form-group">
<label for="lastname">Last Name</label>
{{ Form::text('lastname', \Input::old('lastname'), array('class' => 'form-control form-control-bordered', 'tabindex' => '2')) }} <span class="pull-right"> {{$errors->first('lastname')}}</span>
</div>
<div class="form-group">
<label for="email">Email</label>
{{ Form::email('email', \Input::old('email'), array('class' => 'form-control form-control-bordered',
'tabindex' => '3')) }}<span class="pull-right"> {{$errors->first('email') }}</span>
</div>
<div class="form-group">
<label for="title">Title</label>
{{ Form::text('title', \Input::old('title'), array('class' => 'form-control form-control-bordered',
'tabindex' => '4')) }}<span class="pull-right"> {{$errors->first('email') }}</span>
</div>
<div class="form-group">
<label for="email">Location</label>
{{ Form::text('location', \Input::old('location'), array('class' => 'form-control form-control-bordered',
'tabindex' => '5')) }}<span class="pull-right"> {{$errors->first('location') }}</span>
</div>
<div class="row" id="signup-bottom-row">
<div class="col-lg-3">
{{Form::submit('Complete!', array('class' => 'btn btn-success btn-large submit-button'))}}
<br /><br />
</div>
</div>
</div>
<div class="col-lg-4">
</div>
</div>
</div>
{{ Form::close() }}
</div>
<div class="container padded"></div>
<div class="container"></div>
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-4">
<p id="copyright-section">
Copyright &copy; 2014. Mentconnect Inc. All Rights Reserved.
</p>
</div>
<div class="col-lg-4">
</div>
<div class="col-lg-4">
<p id="love">
Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
</p>
</div>
</div>
</div>
</div>
</body>
</html>
app/views/mentors/create.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mentconnect Inc</title>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
{{HTML::style('css/mentconnect.css')}}
</head>
<body>
<header id="cta" class="background-showcase">
<div id="nv" class="navbar">
<div class="container">
<a class="navbar-brand" href="/">
<div class="asset logo-white-header">
{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
</div>
</a>
<ul class=" nav navbar-nav pull-right">
<li class>
{{HTML::link('partners', 'Partners') }}
</li>
<li class>
{{HTML::link('blog', 'Blog') }}
</li>
<li class="button">
{{HTML::link('login', 'Sign In') }}
</li>
</ul>
</div>
</div>
</header>
<div id="signup-content">
{{ Form::open(array('url' => 'users/store', 'class' => 'form-horizontal')) }}
<div class="container padded">
<div class="container">
<legend><h2>Sign Up For A Mentconnect Account</h2></legend>
</div>
<div class="row">
<div class="col-lg-3 col-lg-offset-1">
<h3>Be part of the change!</h3>
<p>Learn from experts who care to share. When you are ready, be free to give back by sharing your skills with others.</p>
</div>
<div class="col-lg-8">
<div class="form-group">
<label for="firstname">First Name</label>
{{Form::text('firstname', \Input::old('firstname'), array('class' => 'form-control form-control-bordered', 'tabindex' => '1'))}} <span class="pull-right">{{$errors->first('firstname')}}</span>
</div>
<div class="form-group">
<label for="lastname">Last Name</label>
{{ Form::text('lastname', \Input::old('lastname'), array('class' => 'form-control form-control-bordered', 'tabindex' => '2')) }} <span class="pull-right"> {{$errors->first('lastname')}}</span>
</div>
<div class="form-group">
<label for="email">Email</label>
{{ Form::email('email', \Input::old('email'), array('class' => 'form-control form-control-bordered',
'tabindex' => '3')) }}<span class="pull-right"> {{$errors->first('email') }}</span>
</div>
<div class="form-group">
<label for="password">Password</label>
{{Form::password('password', array('class' => 'form-control form-control-bordered', 'tabindex' => '4'))}} <span class="pull-right"> {{$errors->first('password') }}</span>
</div>
<div class="row" id="signup-bottom-row">
<div class="col-lg-3">
{{Form::submit('Sign Me Up!', array('class' => 'btn btn-success btn-large submit-button'))}}
<br /><br />
</div>
<div class="col-lg-5">
By clicking "Sign Me Up" you agree to our
{{HTML::link('tos', 'Terms of Service') }} and {{HTML::link('privacy', 'Privacy Policy.')}}
</div>
</div>
</div>
</div>
</div>
{{ Form::close() }}
</div>
<div class="container padded"></div>
<div class="container"></div>
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-4">
<p id="copyright-section">
Copyright &copy; 2014. Mentconnect Inc. All Rights Reserved.
</p>
</div>
<div class="col-lg-4">
</div>
<div class="col-lg-4">
<p id="love">
Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
</p>
</div>
</div>
</div>
</div>
</body>
</html>
app/views/mentors/group.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mentconnect Inc - Profile</title>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
{{HTML::style('css/mentconnect.css')}}
</head>
<body>
<header id="cta" class="background-showcase">
<div id="nv" class="navbar">
<div class="container">
<a class="navbar-brand" href="/">
<div class="asset logo-white-header">
{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
</div>
</a>
<ul class=" nav navbar-nav pull-right">
<li class>
{{HTML::link('partners', 'Partners') }}
</li>
<li class>
{{HTML::link('blog', 'Blog') }}
</li>
<li class="button">
{{HTML::link('logout', 'Logout') }}
</li>
</ul>
</div>
</div>
</header>
<div id="signup-content">
<div class="container padded">
<div class="container">
<legend><h2>Complete Your Profile</h2></legend>
</div>
<div class="row">
<div class="container">
<p class="center-feature-sub-content">Please use the buttons below to select your category; if you would like to be a Mentor
to someone who is new to your area of expertise, select the <strong>Be a Mentor</strong> button
and if you would like to find a mentor who will help you through your learning curve,
then select the <strong>Be a Mentee</strong> button to complete your profile respectively.
Welcome to <strong>Mentconnect!</strong></p>
</p>
</div>
</div>
<hr />
<div class="container">
<div class="row">
<div class="col-lg-6">
<div class="page-header"><h1>mentor - <small>someone who teaches or gives help and advice to a less experienced and often younger person.(a friend of Odysseus entrusted with the education of Odysseus' son Telemachus)</small></h1></div>
<p id="button-row">
{{ HTML::link('mentors/create', 'Become a Mentor', array('class' => 'btn btn-large btn-primary proxima-bold')) }}
</p>
</div>
<div class="col-lg-6">
<div class="page-header"><h1>mentee - <small>a less experienced person (protege) who is offered special guidance and support by a respected and trusted person with more experience (a mentor)</small></h1></div>
<p id="button-row">
{{ HTML::link('mentees/create', 'Become a Mentee', array('class' => 'btn btn-large btn-primary proxima-bold')) }}
</p>
</div>
</div>
</div>
</div>
</div>
<div class="container padded"></div>
<div class="container"></div>
<br /><br />
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-4">
<p id="copyright-section">
Copyright &copy; 2014. Mentconnect Inc. All Rights Reserved.
</p>
</div>
<div class="col-lg-4">
</div>
<div class="col-lg-4">
<p id="love">
Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
</p>
</div>
</div>
</div>
</div>
</body>
</html>
app/views/mentors/register.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Laravel PHP Framework</title>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
{{HTML::style('css/mentconnect.css')}}
</head>
<body>
<header id="cta" class="background-showcase">
<div id="nv" class="navbar">
<div class="container">
<a class="navbar-brand" href="/">
<div class="asset logo-white-header">
{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
</div>
</a>
<ul class=" nav navbar-nav pull-right">
<li class>
{{HTML::link('partners', 'Partners') }}
</li>
<li class>
{{HTML::link('blog', 'Blog') }}
</li>
<li class="button">
{{HTML::link('login', 'Sign In') }}
</li>
</ul>
</div>
</div>
</header>
<div id="signup-content">
<div class="container padded">
<div class="container">
<legend><h2>Sign Up For A Mentconnect Account</h2></legend>
</div>
<div class="row">
<div class="col-lg-3 col-lg-offset-1">
<h3>Be part of the change!</h3>
<p>Learn from experts who care to share. When you are ready, be free to give back by sharing your skills with others.</p>
</div>
<div class="col-lg-8">
<div class="form-group">
<label for="id_firstname">First Name</label>
<input id="id_firstname" name="firstname" type="text" class="form-control form-control-bordered" placeholder="" required="" value="" tabindex="1">
</div>
<div class="form-group">
<label for="id_lastname">Last Name</label>
<input id="id_lastname" name="lastname" type="text" class="form-control form-control-bordered" placeholder="" required="" value="" tabindex="2">
</div>
<div class="form-group">
<label for="id_email">Email</label>
<input id="id_email" name="email" type="email" class="form-control form-control-bordered" placeholder="" required="" value="" tabindex="3">
</div>
<div class="form-group">
<label for="id_password">Password</label>
<input id="id_password" name="password" type="password" class="form-control form-control-bordered" placeholder="" required="" tabindex="4">
</div>
<div class="form-group">
<label for="title">Select Title</label>
<select tabindex="5" id="expires-month" class="form-control">
<option>Mentor</option>
<option>Mentee</option>
<option>Both</option>
</select>
</div>
</div>
</div>
<div class="row pull-right" id="signup-bottom-row">
<div class="col-lg-3">
<button type="submit" class="btn btn-success btn-large submit-button">Sign Me Up!</button>
</div>
<div class="col-lg-5">
By clicking "Create my account" you agree to our
<a href="/tos">Terms of Service</a> and <a href="/privacy">Privacy Policy</a>.
</div>
</div>
</div>
</div>
<div class="container padded"></div>
<div class="container"></div>
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-4">
<p id="copyright-section">
Copyright &copy; 2014. Mentconnect Inc. All Rights Reserved.
</p>
</div>
<div class="col-lg-4">
</div>
<div class="col-lg-4">
<p id="love">
Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
</p>
</div>
</div>
</div>
</div>
</body>
</html>
app/views/password/remind.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mentconnect - Password Reminder</title>
{{HTML::style('css/mentconnect.css')}}
</head>
<body>
<header id="cta" class="background-showcase">
<div id="nv" class="navbar">
<div class="container">
<a class="navbar-brand" href="/">
<div class="asset logo-white-header">
{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
</div>
</a>
<ul class=" nav navbar-nav pull-right">
<li class>
{{HTML::link('partners', 'Partners') }}
</li>
<li class>
{{HTML::link('blog', 'Blog') }}
</li>
<li class="button">
{{HTML::link('login', 'Sign In') }}
</li>
</ul>
</div>
</div>
</header>
<div class="container">
<div id="login-cta-content">
</div>
</div>
<div class="container padded">
<div class="col-lg-4"></div>
<div class="col-lg-4">
{{ Form::open(array('url' => 'password/remind', 'class' => 'form-horizontal'))}}
<fieldset>
<legend><h2>Enter Your Email</h2></legend>
@if(Session::has('message'))
<p class="alert-success">{{ Session::get('message') }}</p>
@endif
<div class="control-group">
{{ Form::label('email', 'Email', array('class' => 'control-label')) }}
<div class="controls">
{{ Form::text('email', null, array('class' => 'form-control borderd input-large', 'span' => 'span6', 'placeholder' => 'awesome@awesome.com'))}} <p class="alert-error pull-right">{{$errors->first('email')}}</p>
</div>
</div>
<br /><br />
<div class="form-group">
<div class="controls">
<button class="btn btn-primary btn-large pull-left" type="submit"><span class="login-button-icon"></span>Remind Me</button>
</div>
</div>
<hr/>
</fieldset>
{{Form::close()}}
</div>
<div class="col-lg-4"></div>
</div>
<div class="container padded"></div>
<div class="container padded"></div>
<div class="container"></div>
<br /><br />
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-4">
<p id="copyright-section">
Copyright &copy; 2014. Mentconnect Inc. All Rights Reserved.
</p>
</div>
<div class="col-lg-4">
</div>
<div class="col-lg-4">
<p id="love">
Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
</p>
</div>
</div>
</div>
</div>
</body>
</html>
app/views/password/reset.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mentconnect - Password Reset</title>
{{HTML::style('css/mentconnect.css')}}
</head>
<body>
<header id="cta" class="background-showcase">
<div id="nv" class="navbar">
<div class="container">
<a class="navbar-brand" href="/">
<div class="asset logo-white-header">
{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
</div>
</a>
<ul class=" nav navbar-nav pull-right">
<li class>
{{HTML::link('partners', 'Partners') }}
</li>
<li class>
{{HTML::link('blog', 'Blog') }}
</li>
<li class="button">
{{HTML::link('login', 'Sign In') }}
</li>
</ul>
</div>
</div>
</header>
<div class="container">
<div id="login-cta-content">
</div>
</div>
<div class="container padded">
<div class="col-lg-4"></div>
<div class="col-lg-4">
{{ Form::open(array('url' => 'password/remind', 'class' => 'form-horizontal'))}}
<fieldset>
<legend><h2>Reset Your Password</h2></legend>
@if(Session::has('message'))
<p class="alert-success">{{ Session::get('message') }}</p>
@endif
<div class="control-group">
{{ Form::label('email', 'Email', array('class' => 'control-label')) }}
<div class="controls">
{{ Form::text('email', null, array('class' => 'form-control borderd input-large', 'span' => 'span6', 'placeholder' => 'awesome@awesome.com'))}} <span class="pull-right">{{$errors->first('email')}}</span>
</div>
</div>
<div class="control-group">
{{ Form::label('password', 'Password', array('class' => 'control-label')) }}
<div class="controls">
{{ Form::password('password', array('class' => 'form-control borderd input-large', 'span' => 'span6'))}}
</div>
</div>
<div class="control-group">
{{ Form::label('password_confirmation', 'Password Confirmation', array('class' => 'control-label')) }}
<div class="controls">
{{ Form::password('password_confirmation', array('class' => 'form-control borderd input-large', 'span' => 'span6'))}}
</div>
</div>
<input type="hidden" name="token" value="{{ $token }}">
<br /><br />
<div class="form-group">
<button class="btn btn-primary btn-large pull-left" type="submit"><span class="login-button-icon"></span>Reset Password</button>
</div>
<hr/>
</fieldset>
{{Form::close()}}
</div>
<div class="col-lg-4"></div>
</div>
<div class="container padded"></div>
<div class="container padded"></div>
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-4">
<p id="copyright-section">
Copyright &copy; 2014. Mentconnect Inc. All Rights Reserved.
</p>
</div>
<div class="col-lg-4">
</div>
<div class="col-lg-4">
<p id="love">
Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
</p>
</div>
</div>
</div>
</div>
</body>
</html>
vendor/autoload.php
44
55
66
7
7
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit8654da19460134213af01c9ba865f31d::getLoader();
return ComposerAutoloaderInitcc44ad94c42a7f79fc06f2339ab26405::getLoader();
vendor/composer/autoload_classmap.php
66
77
88
9
910
1011
1112
......
2829
2930
3031
31
32
33
34
35
3236
3337
3438
......
401405
402406
403407
404
408
405409
406
407
408410
409411
410412
......
932934
933935
934936
937
938
935939
936940
937941
......
15161520
15171521
15181522
1523
1524
15191525
15201526
15211527
$baseDir = dirname($vendorDir);
return array(
'AlterUserTableAddToken' => $baseDir . '/app/database/migrations/2014_06_24_031127_alter_user_table_add_token.php',
'BaseController' => $baseDir . '/app/controllers/BaseController.php',
'Boris\\Boris' => $vendorDir . '/d11wtq/boris/lib/Boris/Boris.php',
'Boris\\CLIOptionsHandler' => $vendorDir . '/d11wtq/boris/lib/Boris/CLIOptionsHandler.php',
'ClassPreloader\\Parser\\DirVisitor' => $vendorDir . '/classpreloader/classpreloader/src/ClassPreloader/Parser/DirVisitor.php',
'ClassPreloader\\Parser\\FileVisitor' => $vendorDir . '/classpreloader/classpreloader/src/ClassPreloader/Parser/FileVisitor.php',
'ClassPreloader\\Parser\\NodeTraverser' => $vendorDir . '/classpreloader/classpreloader/src/ClassPreloader/Parser/NodeTraverser.php',
'CreateUsersTable' => $baseDir . '/app/database/migrations/2014_06_21_195900_create_users_table.php',
'CreateMenteesTable' => $baseDir . '/app/database/migrations/2014_06_26_051534_create_mentees_table.php',
'CreateMentorsTable' => $baseDir . '/app/database/migrations/2014_06_26_051519_create_mentors_table.php',
'CreatePasswordRemindersTable' => $baseDir . '/app/database/migrations/2014_06_24_042016_create_password_reminders_table.php',
'CreateUserTable' => $baseDir . '/app/database/migrations/2014_06_24_025956_create_user_table.php',
'Crypt_AES' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/AES.php',
'Crypt_Base' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/Base.php',
'Crypt_Blowfish' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php',
'Jeremeamia\\SuperClosure\\SerializableClosure' => $vendorDir . '/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/SerializableClosure.php',
'Jeremeamia\\SuperClosure\\Visitor\\ClosureFinderVisitor' => $vendorDir . '/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/ClosureFinderVisitor.php',
'Jeremeamia\\SuperClosure\\Visitor\\MagicConstantVisitor' => $vendorDir . '/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/MagicConstantVisitor.php',
'LoginController' => $baseDir . '/app/controllers/LoginController.php',
'MakeUserEmailUnique' => $baseDir . '/app/database/migrations/2014_06_24_040438_make_user_email_unique.php',
'Math_BigInteger' => $vendorDir . '/phpseclib/phpseclib/phpseclib/Math/BigInteger.php',
'Mentor' => $baseDir . '/app/models/Mentor.php',
'MentorController' => $baseDir . '/app/controllers/MentorController.php',
'Monolog\\ErrorHandler' => $vendorDir . '/monolog/monolog/src/Monolog/ErrorHandler.php',
'Monolog\\Formatter\\ChromePHPFormatter' => $vendorDir . '/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php',
'Monolog\\Formatter\\ElasticaFormatter' => $vendorDir . '/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php',
'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerInterface.php',
'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/Psr/Log/LoggerTrait.php',
'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/Psr/Log/NullLogger.php',
'RemindersController' => $baseDir . '/app/controllers/RemindersController.php',
'SessionController' => $baseDir . '/app/controllers/SessionController.php',
'SessionHandlerInterface' => $vendorDir . '/symfony/http-foundation/Symfony/Component/HttpFoundation/Resources/stubs/SessionHandlerInterface.php',
'Stack\\Builder' => $vendorDir . '/stack/builder/src/Stack/Builder.php',
'Stack\\StackedHttpKernel' => $vendorDir . '/stack/builder/src/Stack/StackedHttpKernel.php',
'System_SSH_Agent_Identity' => $vendorDir . '/phpseclib/phpseclib/phpseclib/System/SSH_Agent.php',
'TestCase' => $baseDir . '/app/tests/TestCase.php',
'User' => $baseDir . '/app/models/User.php',
'UserController' => $baseDir . '/app/controllers/UserController.php',
'UserTableSeeder' => $baseDir . '/app/database/seeds/UserTableSeeder.php',
'Whoops\\Exception\\ErrorException' => $vendorDir . '/filp/whoops/src/Whoops/Exception/ErrorException.php',
'Whoops\\Exception\\Frame' => $vendorDir . '/filp/whoops/src/Whoops/Exception/Frame.php',
'Whoops\\Exception\\FrameCollection' => $vendorDir . '/filp/whoops/src/Whoops/Exception/FrameCollection.php',
vendor/composer/autoload_real.php
22
33
44
5
5
66
77
88
......
1919
2020
2121
22
22
2323
24
24
2525
2626
2727
......
4949
5050
5151
52
52
5353
5454
5555
5656
5757
5858
59
59
6060
6161
6262
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit8654da19460134213af01c9ba865f31d
class ComposerAutoloaderInitcc44ad94c42a7f79fc06f2339ab26405
{
private static $loader;
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit8654da19460134213af01c9ba865f31d', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitcc44ad94c42a7f79fc06f2339ab26405', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit8654da19460134213af01c9ba865f31d', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitcc44ad94c42a7f79fc06f2339ab26405', 'loadClassLoader'));
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
$includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $file) {
composerRequire8654da19460134213af01c9ba865f31d($file);
composerRequirecc44ad94c42a7f79fc06f2339ab26405($file);
}
return $loader;
}
}
function composerRequire8654da19460134213af01c9ba865f31d($file)
function composerRequirecc44ad94c42a7f79fc06f2339ab26405($file)
{
require $file;
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.95990s using 13 queries.