repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/bootstrap/app.php
bootstrap/app.php
<?php /* |-------------------------------------------------------------------------- | Create The Application |-------------------------------------------------------------------------- | | The first thing we will do is create a new Laravel application instance | which serves as the "glue" for all the components of Laravel, and is | the IoC container for the system binding all of the various parts. | */ $app = new Illuminate\Foundation\Application( realpath(__DIR__.'/../') ); /* |-------------------------------------------------------------------------- | Bind Important Interfaces |-------------------------------------------------------------------------- | | Next, we need to bind some important interfaces into the container so | we will be able to resolve them when needed. The kernels serve the | incoming requests to this application from both the web and CLI. | */ $app->singleton( Illuminate\Contracts\Http\Kernel::class, App\Http\Kernel::class ); $app->singleton( Illuminate\Contracts\Console\Kernel::class, App\Console\Kernel::class ); $app->singleton( Illuminate\Contracts\Debug\ExceptionHandler::class, App\Exceptions\Handler::class ); /* |-------------------------------------------------------------------------- | Return The Application |-------------------------------------------------------------------------- | | This script returns the application instance. The instance is given to | the calling script so we can separate the building of the instances | from the actual running of the application and sending responses. | */ return $app;
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/bootstrap/autoload.php
bootstrap/autoload.php
<?php define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Register The Composer Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader | for our application. We just need to utilize it! We'll require it | into the script here so that we do not have to worry about the | loading of any our classes "manually". Feels great to relax. | */ require __DIR__.'/../vendor/autoload.php';
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/tests/TestCase.php
tests/TestCase.php
<?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { use CreatesApplication; }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/tests/CreatesApplication.php
tests/CreatesApplication.php
<?php namespace Tests; use Illuminate\Contracts\Console\Kernel; trait CreatesApplication { /** * Creates the application. * * @return \Illuminate\Foundation\Application */ public function createApplication() { $app = require __DIR__.'/../bootstrap/app.php'; $app->make(Kernel::class)->bootstrap(); return $app; } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/tests/Feature/ExampleTest.php
tests/Feature/ExampleTest.php
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function testBasicTest() { $response = $this->get('/'); $response->assertStatus(200); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/tests/Unit/ExampleTest.php
tests/Unit/ExampleTest.php
<?php namespace Tests\Unit; use Tests\TestCase; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function testBasicTest() { $this->assertTrue(true); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/routes/web.php
routes/web.php
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ Route::get('/', function () { return view('dashboard'); })->middleware('auth'); Auth::routes(); Route::get('/dashboard', 'DashboardController@index'); // Route::get('/system-management/{option}', 'SystemMgmtController@index'); Route::get('/profile', 'ProfileController@index'); Route::post('user-management/search', 'UserManagementController@search')->name('user-management.search'); Route::resource('user-management', 'UserManagementController'); Route::resource('employee-management', 'EmployeeManagementController'); Route::post('employee-management/search', 'EmployeeManagementController@search')->name('employee-management.search'); Route::resource('system-management/department', 'DepartmentController'); Route::post('system-management/department/search', 'DepartmentController@search')->name('department.search'); Route::resource('system-management/division', 'DivisionController'); Route::post('system-management/division/search', 'DivisionController@search')->name('division.search'); Route::resource('system-management/country', 'CountryController'); Route::post('system-management/country/search', 'CountryController@search')->name('country.search'); Route::resource('system-management/state', 'StateController'); Route::post('system-management/state/search', 'StateController@search')->name('state.search'); Route::resource('system-management/city', 'CityController'); Route::post('system-management/city/search', 'CityController@search')->name('city.search'); Route::get('system-management/report', 'ReportController@index'); Route::post('system-management/report/search', 'ReportController@search')->name('report.search'); Route::post('system-management/report/excel', 'ReportController@exportExcel')->name('report.excel'); Route::post('system-management/report/pdf', 'ReportController@exportPDF')->name('report.pdf'); Route::get('avatars/{name}', 'EmployeeManagementController@load');
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/routes/channels.php
routes/channels.php
<?php /* |-------------------------------------------------------------------------- | Broadcast Channels |-------------------------------------------------------------------------- | | Here you may register all of the event broadcasting channels that your | application supports. The given channel authorization callbacks are | used to check if an authenticated user can listen to the channel. | */ Broadcast::channel('App.User.{id}', function ($user, $id) { return (int) $user->id === (int) $id; });
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/routes/api.php
routes/api.php
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | is assigned the "api" middleware group. Enjoy building your API! | */ Route::middleware('auth:api')->get('/user', function (Request $request) { return $request->user(); }); Route::group(['prefix' => 'states'], function() { Route::get('/{countryId}', 'StateController@loadStates'); }); Route::group(['prefix' => 'cities'], function() { Route::get('/{stateId}', 'CityController@loadCities'); });
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/routes/console.php
routes/console.php
<?php use Illuminate\Foundation\Inspiring; /* |-------------------------------------------------------------------------- | Console Routes |-------------------------------------------------------------------------- | | This file is where you may define all of your Closure based console | commands. Each Closure is bound to a command instance allowing a | simple approach to interacting with each command's IO methods. | */ Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); })->describe('Display an inspiring quote');
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/public/index.php
public/index.php
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ /* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader for | our application. We just need to utilize it! We'll simply require it | into the script here so that we don't have to worry about manual | loading any of our classes later on. It feels great to relax. | */ require __DIR__.'/../bootstrap/autoload.php'; /* |-------------------------------------------------------------------------- | Turn On The Lights |-------------------------------------------------------------------------- | | We need to illuminate PHP development, so let us turn on the lights. | This bootstraps the framework and gets it ready for use, then it | will load up this application so that we can run it and send | the responses back to the browser and delight our users. | */ $app = require_once __DIR__.'/../bootstrap/app.php'; /* |-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | | Once we have the application, we can handle the incoming request | through the kernel, and send the associated response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have prepared for them. | */ $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() ); $response->send(); $kernel->terminate($request, $response);
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/public/bower_components/AdminLTE/plugins/datatables/extensions/Scroller/examples/data/ssp.php
public/bower_components/AdminLTE/plugins/datatables/extensions/Scroller/examples/data/ssp.php
<?php /* * DataTables example server-side processing script. * * Please note that this script is intentionally extremely simply to show how * server-side processing can be implemented, and probably shouldn't be used as * the basis for a large complex system. It is suitable for simple use cases as * for learning. * * See http://datatables.net/usage/server-side for full details on the server- * side processing requirements of DataTables. * * @license MIT - http://datatables.net/license_mit */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Easy set variables */ // DB table to use $table = 'massive'; // Table's primary key $primaryKey = 'id'; // Array of database columns which should be read and sent back to DataTables. // The `db` parameter represents the column name in the database, while the `dt` // parameter represents the DataTables column identifier. In this case simple // indexes $columns = array( array( 'db' => 'id', 'dt' => 0 ), array( 'db' => 'firstname', 'dt' => 1 ), array( 'db' => 'surname', 'dt' => 2 ), array( 'db' => 'zip', 'dt' => 3 ), array( 'db' => 'country', 'dt' => 4 ) ); // SQL server connection information $sql_details = array( 'user' => '', 'pass' => '', 'db' => '', 'host' => '' ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * If you just want to use the basic configuration for DataTables with PHP * server-side, there is no need to edit below this line. */ require( '../../../../examples/server_side/scripts/ssp.class.php' ); echo json_encode( SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) );
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/public/bower_components/AdminLTE/plugins/ckeditor/samples/old/sample_posteddata.php
public/bower_components/AdminLTE/plugins/ckeditor/samples/old/sample_posteddata.php
<?php /* <body><pre> ------------------------------------------------------------------------------------------- CKEditor - Posted Data We are sorry, but your Web server does not support the PHP language used in this script. Please note that CKEditor can be used with any other server-side language than just PHP. To save the content created with CKEditor you need to read the POST data on the server side and write it to a file or the database. Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license ------------------------------------------------------------------------------------------- </pre><div style="display:none"></body> */ include "assets/posteddata.php"; ?>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/public/bower_components/AdminLTE/plugins/ckeditor/samples/old/assets/posteddata.php
public/bower_components/AdminLTE/plugins/ckeditor/samples/old/assets/posteddata.php
<!DOCTYPE html> <?php /* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ ?> <html> <head> <meta charset="utf-8"> <title>Sample &mdash; CKEditor</title> <link rel="stylesheet" href="sample.css"> </head> <body> <h1 class="samples"> CKEditor &mdash; Posted Data </h1> <table border="1" cellspacing="0" id="outputSample"> <colgroup><col width="120"></colgroup> <thead> <tr> <th>Field&nbsp;Name</th> <th>Value</th> </tr> </thead> <?php if (!empty($_POST)) { foreach ( $_POST as $key => $value ) { if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) continue; if ( get_magic_quotes_gpc() ) $value = htmlspecialchars( stripslashes((string)$value) ); else $value = htmlspecialchars( (string)$value ); ?> <tr> <th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th> <td><pre class="samples"><?php echo $value; ?></pre></td> </tr> <?php } } ?> </table> <div id="footer"> <hr> <p> CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> </p> <p id="copy"> Copyright &copy; 2003-2016, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. </p> </div> </body> </html>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/app.php
config/app.php
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to place the application's name in a notification or | any other location as required by the application or its packages. */ 'name' => 'Employee management', /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This may determine how you prefer to configure various | services your application utilizes. Set this in your ".env" file. | */ 'env' => env('APP_ENV', 'production'), /* |-------------------------------------------------------------------------- | Application Debug Mode |-------------------------------------------------------------------------- | | When your application is in debug mode, detailed error messages with | stack traces will be shown on every error that occurs within your | application. If disabled, a simple generic error page is shown. | */ 'debug' => env('APP_DEBUG', false), /* |-------------------------------------------------------------------------- | Application URL |-------------------------------------------------------------------------- | | This URL is used by the console to properly generate URLs when using | the Artisan command line tool. You should set this to the root of | your application so that it is used when running Artisan tasks. | */ 'url' => env('APP_URL', 'http://localhost'), /* |-------------------------------------------------------------------------- | Application Timezone |-------------------------------------------------------------------------- | | Here you may specify the default timezone for your application, which | will be used by the PHP date and date-time functions. We have gone | ahead and set this to a sensible default for you out of the box. | */ 'timezone' => 'UTC', /* |-------------------------------------------------------------------------- | Application Locale Configuration |-------------------------------------------------------------------------- | | The application locale determines the default locale that will be used | by the translation service provider. You are free to set this value | to any of the locales which will be supported by the application. | */ 'locale' => 'en', /* |-------------------------------------------------------------------------- | Application Fallback Locale |-------------------------------------------------------------------------- | | The fallback locale determines the locale to use when the current one | is not available. You may change the value to correspond to any of | the language folders that are provided through your application. | */ 'fallback_locale' => 'en', /* |-------------------------------------------------------------------------- | Encryption Key |-------------------------------------------------------------------------- | | This key is used by the Illuminate encrypter service and should be set | to a random, 32 character string, otherwise these encrypted strings | will not be safe. Please do this before deploying an application! | */ 'key' => env('APP_KEY'), 'cipher' => 'AES-256-CBC', /* |-------------------------------------------------------------------------- | Logging Configuration |-------------------------------------------------------------------------- | | Here you may configure the log settings for your application. Out of | the box, Laravel uses the Monolog PHP logging library. This gives | you a variety of powerful log handlers / formatters to utilize. | | Available Settings: "single", "daily", "syslog", "errorlog" | */ 'log' => env('APP_LOG', 'single'), 'log_level' => env('APP_LOG_LEVEL', 'debug'), /* |-------------------------------------------------------------------------- | Autoloaded Service Providers |-------------------------------------------------------------------------- | | The service providers listed here will be automatically loaded on the | request to your application. Feel free to add your own services to | this array to grant expanded functionality to your applications. | */ 'providers' => [ /* * Laravel Framework Service Providers... */ Illuminate\Auth\AuthServiceProvider::class, Illuminate\Broadcasting\BroadcastServiceProvider::class, Illuminate\Bus\BusServiceProvider::class, Illuminate\Cache\CacheServiceProvider::class, Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, Illuminate\Cookie\CookieServiceProvider::class, Illuminate\Database\DatabaseServiceProvider::class, Illuminate\Encryption\EncryptionServiceProvider::class, Illuminate\Filesystem\FilesystemServiceProvider::class, Illuminate\Foundation\Providers\FoundationServiceProvider::class, Illuminate\Hashing\HashServiceProvider::class, Illuminate\Mail\MailServiceProvider::class, Illuminate\Notifications\NotificationServiceProvider::class, Illuminate\Pagination\PaginationServiceProvider::class, Illuminate\Pipeline\PipelineServiceProvider::class, Illuminate\Queue\QueueServiceProvider::class, Illuminate\Redis\RedisServiceProvider::class, Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, Illuminate\Session\SessionServiceProvider::class, Illuminate\Translation\TranslationServiceProvider::class, Illuminate\Validation\ValidationServiceProvider::class, Illuminate\View\ViewServiceProvider::class, /* * Package Service Providers... */ Laravel\Tinker\TinkerServiceProvider::class, /* * Application Service Providers... */ App\Providers\AppServiceProvider::class, App\Providers\AuthServiceProvider::class, // App\Providers\BroadcastServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, Maatwebsite\Excel\ExcelServiceProvider::class, Barryvdh\DomPDF\ServiceProvider::class, ], /* |-------------------------------------------------------------------------- | Class Aliases |-------------------------------------------------------------------------- | | This array of class aliases will be registered when this application | is started. However, feel free to register as many as you wish as | the aliases are "lazy" loaded so they don't hinder performance. | */ 'aliases' => [ 'App' => Illuminate\Support\Facades\App::class, 'Artisan' => Illuminate\Support\Facades\Artisan::class, 'Auth' => Illuminate\Support\Facades\Auth::class, 'Blade' => Illuminate\Support\Facades\Blade::class, 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, 'Bus' => Illuminate\Support\Facades\Bus::class, 'Cache' => Illuminate\Support\Facades\Cache::class, 'Config' => Illuminate\Support\Facades\Config::class, 'Cookie' => Illuminate\Support\Facades\Cookie::class, 'Crypt' => Illuminate\Support\Facades\Crypt::class, 'DB' => Illuminate\Support\Facades\DB::class, 'Eloquent' => Illuminate\Database\Eloquent\Model::class, 'Event' => Illuminate\Support\Facades\Event::class, 'File' => Illuminate\Support\Facades\File::class, 'Gate' => Illuminate\Support\Facades\Gate::class, 'Hash' => Illuminate\Support\Facades\Hash::class, 'Lang' => Illuminate\Support\Facades\Lang::class, 'Log' => Illuminate\Support\Facades\Log::class, 'Mail' => Illuminate\Support\Facades\Mail::class, 'Notification' => Illuminate\Support\Facades\Notification::class, 'Password' => Illuminate\Support\Facades\Password::class, 'Queue' => Illuminate\Support\Facades\Queue::class, 'Redirect' => Illuminate\Support\Facades\Redirect::class, 'Redis' => Illuminate\Support\Facades\Redis::class, 'Request' => Illuminate\Support\Facades\Request::class, 'Response' => Illuminate\Support\Facades\Response::class, 'Route' => Illuminate\Support\Facades\Route::class, 'Schema' => Illuminate\Support\Facades\Schema::class, 'Session' => Illuminate\Support\Facades\Session::class, 'Storage' => Illuminate\Support\Facades\Storage::class, 'URL' => Illuminate\Support\Facades\URL::class, 'Validator' => Illuminate\Support\Facades\Validator::class, 'View' => Illuminate\Support\Facades\View::class, 'Excel' => Maatwebsite\Excel\Facades\Excel::class, 'PDF' => Barryvdh\DomPDF\Facade::class, ], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/session.php
config/session.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Session Driver |-------------------------------------------------------------------------- | | This option controls the default session "driver" that will be used on | requests. By default, we will use the lightweight native driver but | you may specify any of the other wonderful drivers provided here. | | Supported: "file", "cookie", "database", "apc", | "memcached", "redis", "array" | */ 'driver' => env('SESSION_DRIVER', 'file'), /* |-------------------------------------------------------------------------- | Session Lifetime |-------------------------------------------------------------------------- | | Here you may specify the number of minutes that you wish the session | to be allowed to remain idle before it expires. If you want them | to immediately expire on the browser closing, set that option. | */ 'lifetime' => 120, 'expire_on_close' => false, /* |-------------------------------------------------------------------------- | Session Encryption |-------------------------------------------------------------------------- | | This option allows you to easily specify that all of your session data | should be encrypted before it is stored. All encryption will be run | automatically by Laravel and you can use the Session like normal. | */ 'encrypt' => false, /* |-------------------------------------------------------------------------- | Session File Location |-------------------------------------------------------------------------- | | When using the native session driver, we need a location where session | files may be stored. A default has been set for you but a different | location may be specified. This is only needed for file sessions. | */ 'files' => storage_path('framework/sessions'), /* |-------------------------------------------------------------------------- | Session Database Connection |-------------------------------------------------------------------------- | | When using the "database" or "redis" session drivers, you may specify a | connection that should be used to manage these sessions. This should | correspond to a connection in your database configuration options. | */ 'connection' => null, /* |-------------------------------------------------------------------------- | Session Database Table |-------------------------------------------------------------------------- | | When using the "database" session driver, you may specify the table we | should use to manage the sessions. Of course, a sensible default is | provided for you; however, you are free to change this as needed. | */ 'table' => 'sessions', /* |-------------------------------------------------------------------------- | Session Cache Store |-------------------------------------------------------------------------- | | When using the "apc" or "memcached" session drivers, you may specify a | cache store that should be used for these sessions. This value must | correspond with one of the application's configured cache stores. | */ 'store' => null, /* |-------------------------------------------------------------------------- | Session Sweeping Lottery |-------------------------------------------------------------------------- | | Some session drivers must manually sweep their storage location to get | rid of old sessions from storage. Here are the chances that it will | happen on a given request. By default, the odds are 2 out of 100. | */ 'lottery' => [2, 100], /* |-------------------------------------------------------------------------- | Session Cookie Name |-------------------------------------------------------------------------- | | Here you may change the name of the cookie used to identify a session | instance by ID. The name specified here will get used every time a | new session cookie is created by the framework for every driver. | */ 'cookie' => 'laravel_session', /* |-------------------------------------------------------------------------- | Session Cookie Path |-------------------------------------------------------------------------- | | The session cookie path determines the path for which the cookie will | be regarded as available. Typically, this will be the root path of | your application but you are free to change this when necessary. | */ 'path' => '/', /* |-------------------------------------------------------------------------- | Session Cookie Domain |-------------------------------------------------------------------------- | | Here you may change the domain of the cookie used to identify a session | in your application. This will determine which domains the cookie is | available to in your application. A sensible default has been set. | */ 'domain' => env('SESSION_DOMAIN', null), /* |-------------------------------------------------------------------------- | HTTPS Only Cookies |-------------------------------------------------------------------------- | | By setting this option to true, session cookies will only be sent back | to the server if the browser has a HTTPS connection. This will keep | the cookie from being sent to you if it can not be done securely. | */ 'secure' => env('SESSION_SECURE_COOKIE', false), /* |-------------------------------------------------------------------------- | HTTP Access Only |-------------------------------------------------------------------------- | | Setting this value to true will prevent JavaScript from accessing the | value of the cookie and the cookie will only be accessible through | the HTTP protocol. You are free to modify this option if needed. | */ 'http_only' => true, ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/queue.php
config/queue.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Queue Driver |-------------------------------------------------------------------------- | | Laravel's queue API supports an assortment of back-ends via a single | API, giving you convenient access to each back-end using the same | syntax for each one. Here you may set the default queue driver. | | Supported: "sync", "database", "beanstalkd", "sqs", "redis", "null" | */ 'default' => env('QUEUE_DRIVER', 'sync'), /* |-------------------------------------------------------------------------- | Queue Connections |-------------------------------------------------------------------------- | | Here you may configure the connection information for each server that | is used by your application. A default configuration has been added | for each back-end shipped with Laravel. You are free to add more. | */ 'connections' => [ 'sync' => [ 'driver' => 'sync', ], 'database' => [ 'driver' => 'database', 'table' => 'jobs', 'queue' => 'default', 'retry_after' => 90, ], 'beanstalkd' => [ 'driver' => 'beanstalkd', 'host' => 'localhost', 'queue' => 'default', 'retry_after' => 90, ], 'sqs' => [ 'driver' => 'sqs', 'key' => 'your-public-key', 'secret' => 'your-secret-key', 'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id', 'queue' => 'your-queue-name', 'region' => 'us-east-1', ], 'redis' => [ 'driver' => 'redis', 'connection' => 'default', 'queue' => 'default', 'retry_after' => 90, ], ], /* |-------------------------------------------------------------------------- | Failed Queue Jobs |-------------------------------------------------------------------------- | | These options configure the behavior of failed queue job logging so you | can control which database and table are used to store the jobs that | have failed. You may change them to any database / table you wish. | */ 'failed' => [ 'database' => env('DB_CONNECTION', 'mysql'), 'table' => 'failed_jobs', ], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/cache.php
config/cache.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Cache Store |-------------------------------------------------------------------------- | | This option controls the default cache connection that gets used while | using this caching library. This connection is used when another is | not explicitly specified when executing a given caching function. | | Supported: "apc", "array", "database", "file", "memcached", "redis" | */ 'default' => env('CACHE_DRIVER', 'file'), /* |-------------------------------------------------------------------------- | Cache Stores |-------------------------------------------------------------------------- | | Here you may define all of the cache "stores" for your application as | well as their drivers. You may even define multiple stores for the | same cache driver to group types of items stored in your caches. | */ 'stores' => [ 'apc' => [ 'driver' => 'apc', ], 'array' => [ 'driver' => 'array', ], 'database' => [ 'driver' => 'database', 'table' => 'cache', 'connection' => null, ], 'file' => [ 'driver' => 'file', 'path' => storage_path('framework/cache/data'), ], 'memcached' => [ 'driver' => 'memcached', 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), 'sasl' => [ env('MEMCACHED_USERNAME'), env('MEMCACHED_PASSWORD'), ], 'options' => [ // Memcached::OPT_CONNECT_TIMEOUT => 2000, ], 'servers' => [ [ 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 'port' => env('MEMCACHED_PORT', 11211), 'weight' => 100, ], ], ], 'redis' => [ 'driver' => 'redis', 'connection' => 'default', ], ], /* |-------------------------------------------------------------------------- | Cache Key Prefix |-------------------------------------------------------------------------- | | When utilizing a RAM based store such as APC or Memcached, there might | be other applications utilizing the same cache. So, we'll specify a | value to get prefixed to all our keys so we can avoid collisions. | */ 'prefix' => 'laravel', ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/view.php
config/view.php
<?php return [ /* |-------------------------------------------------------------------------- | View Storage Paths |-------------------------------------------------------------------------- | | Most templating systems load templates from disk. Here you may specify | an array of paths that should be checked for your views. Of course | the usual Laravel view path has already been registered for you. | */ 'paths' => [ resource_path('views'), ], /* |-------------------------------------------------------------------------- | Compiled View Path |-------------------------------------------------------------------------- | | This option determines where all the compiled Blade templates will be | stored for your application. Typically, this is within the storage | directory. However, as usual, you are free to change this value. | */ 'compiled' => realpath(storage_path('framework/views')), ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/database.php
config/database.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections below you wish | to use as your default connection for all database work. Of course | you may use many connections at once using the Database library. | */ 'default' => env('DB_CONNECTION', 'mysql'), /* |-------------------------------------------------------------------------- | Database Connections |-------------------------------------------------------------------------- | | Here are each of the database connections setup for your application. | Of course, examples of configuring each database platform that is | supported by Laravel is shown below to make development simple. | | | All database work in Laravel is done through the PHP PDO facilities | so make sure you have the driver for your particular database of | choice installed on your machine before you begin development. | */ 'connections' => [ 'sqlite' => [ 'driver' => 'sqlite', 'database' => env('DB_DATABASE', database_path('database.sqlite')), 'prefix' => '', ], 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, ], 'pgsql' => [ 'driver' => 'pgsql', 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '5432'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), 'charset' => 'utf8', 'prefix' => '', 'schema' => 'public', 'sslmode' => 'prefer', ], ], /* |-------------------------------------------------------------------------- | Migration Repository Table |-------------------------------------------------------------------------- | | This table keeps track of all the migrations that have already run for | your application. Using this information, we can determine which of | the migrations on disk haven't actually been run in the database. | */ 'migrations' => 'migrations', /* |-------------------------------------------------------------------------- | Redis Databases |-------------------------------------------------------------------------- | | Redis is an open source, fast, and advanced key-value store that also | provides a richer set of commands than a typical key-value systems | such as APC or Memcached. Laravel makes it easy to dig right in. | */ 'redis' => [ 'client' => 'predis', 'default' => [ 'host' => env('REDIS_HOST', '127.0.0.1'), 'password' => env('REDIS_PASSWORD', null), 'port' => env('REDIS_PORT', 6379), 'database' => 0, ], ], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/services.php
config/services.php
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, SparkPost and others. This file provides a sane | default location for this type of information, allowing packages | to have a conventional place to find your various credentials. | */ 'mailgun' => [ 'domain' => env('MAILGUN_DOMAIN'), 'secret' => env('MAILGUN_SECRET'), ], 'ses' => [ 'key' => env('SES_KEY'), 'secret' => env('SES_SECRET'), 'region' => 'us-east-1', ], 'sparkpost' => [ 'secret' => env('SPARKPOST_SECRET'), ], 'stripe' => [ 'model' => App\User::class, 'key' => env('STRIPE_KEY'), 'secret' => env('STRIPE_SECRET'), ], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/filesystems.php
config/filesystems.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. The "local" disk, as well as a variety of cloud | based disks are available to your application. Just store away! | */ 'default' => 'local', /* |-------------------------------------------------------------------------- | Default Cloud Filesystem Disk |-------------------------------------------------------------------------- | | Many applications store files both locally and in the cloud. For this | reason, you may specify a default "cloud" driver here. This driver | will be bound as the Cloud disk implementation in the container. | */ 'cloud' => 's3', /* |-------------------------------------------------------------------------- | Filesystem Disks |-------------------------------------------------------------------------- | | Here you may configure as many filesystem "disks" as you wish, and you | may even configure multiple disks of the same driver. Defaults have | been setup for each driver as an example of the required options. | | Supported Drivers: "local", "ftp", "s3", "rackspace" | */ 'disks' => [ 'local' => [ 'driver' => 'local', 'root' => storage_path('app'), ], 'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), 'url' => env('APP_URL').'/storage', 'visibility' => 'public', ], 's3' => [ 'driver' => 's3', 'key' => env('AWS_KEY'), 'secret' => env('AWS_SECRET'), 'region' => env('AWS_REGION'), 'bucket' => env('AWS_BUCKET'), ], ], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/mail.php
config/mail.php
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may specify which one you're using throughout | your application here. By default, Laravel is setup for SMTP mail. | | Supported: "smtp", "sendmail", "mailgun", "mandrill", "ses", | "sparkpost", "log", "array" | */ 'driver' => env('MAIL_DRIVER', 'smtp'), /* |-------------------------------------------------------------------------- | SMTP Host Address |-------------------------------------------------------------------------- | | Here you may provide the host address of the SMTP server used by your | applications. A default option is provided that is compatible with | the Mailgun mail service which will provide reliable deliveries. | */ 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), /* |-------------------------------------------------------------------------- | SMTP Host Port |-------------------------------------------------------------------------- | | This is the SMTP port used by your application to deliver e-mails to | users of the application. Like the host we have set this value to | stay compatible with the Mailgun e-mail application by default. | */ 'port' => env('MAIL_PORT', 587), /* |-------------------------------------------------------------------------- | Global "From" Address |-------------------------------------------------------------------------- | | You may wish for all e-mails sent by your application to be sent from | the same address. Here, you may specify a name and address that is | used globally for all e-mails that are sent by your application. | */ 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 'name' => env('MAIL_FROM_NAME', 'Example'), ], /* |-------------------------------------------------------------------------- | E-Mail Encryption Protocol |-------------------------------------------------------------------------- | | Here you may specify the encryption protocol that should be used when | the application send e-mail messages. A sensible default using the | transport layer security protocol should provide great security. | */ 'encryption' => env('MAIL_ENCRYPTION', 'tls'), /* |-------------------------------------------------------------------------- | SMTP Server Username |-------------------------------------------------------------------------- | | If your SMTP server requires a username for authentication, you should | set it here. This will get used to authenticate with your server on | connection. You may also set the "password" value below this one. | */ 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), /* |-------------------------------------------------------------------------- | Sendmail System Path |-------------------------------------------------------------------------- | | When using the "sendmail" driver to send e-mails, we will need to know | the path to where Sendmail lives on this server. A default path has | been provided here, which will work well on most of your systems. | */ 'sendmail' => '/usr/sbin/sendmail -bs', /* |-------------------------------------------------------------------------- | Markdown Mail Settings |-------------------------------------------------------------------------- | | If you are using Markdown based email rendering, you may configure your | theme and component paths here, allowing you to customize the design | of the emails. Or, you may simply stick with the Laravel defaults! | */ 'markdown' => [ 'theme' => 'default', 'paths' => [ resource_path('views/vendor/mail'), ], ], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/excel.php
config/excel.php
<?php return array( 'cache' => [ /* |-------------------------------------------------------------------------- | Enable/Disable cell caching |-------------------------------------------------------------------------- */ 'enable' => true, /* |-------------------------------------------------------------------------- | Caching driver |-------------------------------------------------------------------------- | | Set the caching driver | | Available methods: | memory|gzip|serialized|igbinary|discISAM|apc|memcache|temp|wincache|sqlite|sqlite3 | */ 'driver' => 'memory', /* |-------------------------------------------------------------------------- | Cache settings |-------------------------------------------------------------------------- */ 'settings' => [ 'memoryCacheSize' => '32MB', 'cacheTime' => 600 ], /* |-------------------------------------------------------------------------- | Memcache settings |-------------------------------------------------------------------------- */ 'memcache' => [ 'host' => 'localhost', 'port' => 11211, ], /* |-------------------------------------------------------------------------- | Cache dir (for discISAM) |-------------------------------------------------------------------------- */ 'dir' => storage_path('cache') ], 'properties' => [ 'creator' => 'Maatwebsite', 'lastModifiedBy' => 'Maatwebsite', 'title' => 'Spreadsheet', 'description' => 'Default spreadsheet export', 'subject' => 'Spreadsheet export', 'keywords' => 'maatwebsite, excel, export', 'category' => 'Excel', 'manager' => 'Maatwebsite', 'company' => 'Maatwebsite', ], /* |-------------------------------------------------------------------------- | Sheets settings |-------------------------------------------------------------------------- */ 'sheets' => [ /* |-------------------------------------------------------------------------- | Default page setup |-------------------------------------------------------------------------- */ 'pageSetup' => [ 'orientation' => 'portrait', 'paperSize' => '9', 'scale' => '100', 'fitToPage' => false, 'fitToHeight' => true, 'fitToWidth' => true, 'columnsToRepeatAtLeft' => ['', ''], 'rowsToRepeatAtTop' => [0, 0], 'horizontalCentered' => false, 'verticalCentered' => false, 'printArea' => null, 'firstPageNumber' => null, ], ], /* |-------------------------------------------------------------------------- | Creator |-------------------------------------------------------------------------- | | The default creator of a new Excel file | */ 'creator' => 'Maatwebsite', 'csv' => [ /* |-------------------------------------------------------------------------- | Delimiter |-------------------------------------------------------------------------- | | The default delimiter which will be used to read out a CSV file | */ 'delimiter' => ',', /* |-------------------------------------------------------------------------- | Enclosure |-------------------------------------------------------------------------- */ 'enclosure' => '"', /* |-------------------------------------------------------------------------- | Line endings |-------------------------------------------------------------------------- */ 'line_ending' => "\r\n", /* |-------------------------------------------------------------------------- | setUseBom |-------------------------------------------------------------------------- */ 'use_bom' => false ], 'export' => [ /* |-------------------------------------------------------------------------- | Autosize columns |-------------------------------------------------------------------------- | | Disable/enable column autosize or set the autosizing for | an array of columns ( array('A', 'B') ) | */ 'autosize' => true, /* |-------------------------------------------------------------------------- | Autosize method |-------------------------------------------------------------------------- | | --> PHPExcel_Shared_Font::AUTOSIZE_METHOD_APPROX | The default is based on an estimate, which does its calculation based | on the number of characters in the cell value (applying any calculation | and format mask, and allowing for wordwrap and rotation) and with an | "arbitrary" adjustment based on the font (Arial, Calibri or Verdana, | defaulting to Calibri if any other font is used) and a proportional | adjustment for the font size. | | --> PHPExcel_Shared_Font::AUTOSIZE_METHOD_EXACT | The second method is more accurate, based on actual style formatting as | well (bold, italic, etc), and is calculated by generating a gd2 imagettf | bounding box and using its dimensions to determine the size; but this | method is significantly slower, and its accuracy is still dependent on | having the appropriate fonts installed. | */ 'autosize-method' => PHPExcel_Shared_Font::AUTOSIZE_METHOD_APPROX, /* |-------------------------------------------------------------------------- | Auto generate table heading |-------------------------------------------------------------------------- | | If set to true, the array indices (or model attribute names) | will automatically be used as first row (table heading) | */ 'generate_heading_by_indices' => true, /* |-------------------------------------------------------------------------- | Auto set alignment on merged cells |-------------------------------------------------------------------------- */ 'merged_cell_alignment' => 'left', /* |-------------------------------------------------------------------------- | Pre-calculate formulas during export |-------------------------------------------------------------------------- */ 'calculate' => false, /* |-------------------------------------------------------------------------- | Include Charts during export |-------------------------------------------------------------------------- */ 'includeCharts' => false, /* |-------------------------------------------------------------------------- | Default sheet settings |-------------------------------------------------------------------------- */ 'sheets' => [ /* |-------------------------------------------------------------------------- | Default page margin |-------------------------------------------------------------------------- | | 1) When set to false, default margins will be used | 2) It's possible to enter a single margin which will | be used for all margins. | 3) Alternatively you can pass an array with 4 margins | Default order: array(top, right, bottom, left) | */ 'page_margin' => false, /* |-------------------------------------------------------------------------- | Value in source array that stands for blank cell |-------------------------------------------------------------------------- */ 'nullValue' => null, /* |-------------------------------------------------------------------------- | Insert array starting from this cell address as the top left coordinate |-------------------------------------------------------------------------- */ 'startCell' => 'A1', /* |-------------------------------------------------------------------------- | Apply strict comparison when testing for null values in the array |-------------------------------------------------------------------------- */ 'strictNullComparison' => false ], /* |-------------------------------------------------------------------------- | Store settings |-------------------------------------------------------------------------- */ 'store' => [ /* |-------------------------------------------------------------------------- | Path |-------------------------------------------------------------------------- | | The path we want to save excel file to | */ 'path' => storage_path('exports'), /* |-------------------------------------------------------------------------- | Return info |-------------------------------------------------------------------------- | | Whether we want to return information about the stored file or not | */ 'returnInfo' => false ], /* |-------------------------------------------------------------------------- | PDF Settings |-------------------------------------------------------------------------- */ 'pdf' => [ /* |-------------------------------------------------------------------------- | PDF Drivers |-------------------------------------------------------------------------- | Supported: DomPDF, tcPDF, mPDF */ 'driver' => 'DomPDF', /* |-------------------------------------------------------------------------- | PDF Driver settings |-------------------------------------------------------------------------- */ 'drivers' => [ /* |-------------------------------------------------------------------------- | DomPDF settings |-------------------------------------------------------------------------- */ 'DomPDF' => [ 'path' => base_path('vendor/dompdf/dompdf/') ], /* |-------------------------------------------------------------------------- | tcPDF settings |-------------------------------------------------------------------------- */ 'tcPDF' => [ 'path' => base_path('vendor/tecnick.com/tcpdf/') ], /* |-------------------------------------------------------------------------- | mPDF settings |-------------------------------------------------------------------------- */ 'mPDF' => [ 'path' => base_path('vendor/mpdf/mpdf/') ], ] ] ], 'filters' => [ /* |-------------------------------------------------------------------------- | Register read filters |-------------------------------------------------------------------------- */ 'registered' => [ 'chunk' => 'Maatwebsite\Excel\Filters\ChunkReadFilter' ], /* |-------------------------------------------------------------------------- | Enable certain filters for every file read |-------------------------------------------------------------------------- */ 'enabled' => [] ], 'import' => [ /* |-------------------------------------------------------------------------- | Has heading |-------------------------------------------------------------------------- | | The sheet has a heading (first) row which we can use as attribute names | | Options: true|false|slugged|slugged_with_count|ascii|numeric|hashed|trans|original | */ 'heading' => 'slugged', /* |-------------------------------------------------------------------------- | First Row with data or heading of data |-------------------------------------------------------------------------- | | If the heading row is not the first row, or the data doesn't start | on the first row, here you can change the start row. | */ 'startRow' => 1, /* |-------------------------------------------------------------------------- | Cell name word separator |-------------------------------------------------------------------------- | | The default separator which is used for the cell names | Note: only applies to 'heading' settings 'true' && 'slugged' | */ 'separator' => '_', /* |-------------------------------------------------------------------------- | Include Charts during import |-------------------------------------------------------------------------- */ 'includeCharts' => false, /* |-------------------------------------------------------------------------- | Sheet heading conversion |-------------------------------------------------------------------------- | | Convert headings to ASCII | Note: only applies to 'heading' settings 'true' && 'slugged' | */ 'to_ascii' => true, /* |-------------------------------------------------------------------------- | Import encoding |-------------------------------------------------------------------------- */ 'encoding' => [ 'input' => 'UTF-8', 'output' => 'UTF-8' ], /* |-------------------------------------------------------------------------- | Calculate |-------------------------------------------------------------------------- | | By default cells with formulas will be calculated. | */ 'calculate' => true, /* |-------------------------------------------------------------------------- | Ignore empty cells |-------------------------------------------------------------------------- | | By default empty cells are not ignored | */ 'ignoreEmpty' => false, /* |-------------------------------------------------------------------------- | Force sheet collection |-------------------------------------------------------------------------- | | For a sheet collection even when there is only 1 sheets. | When set to false and only 1 sheet found, the parsed file will return | a row collection instead of a sheet collection. | When set to true, it will return a sheet collection instead. | */ 'force_sheets_collection' => false, /* |-------------------------------------------------------------------------- | Date format |-------------------------------------------------------------------------- | | The format dates will be parsed to | */ 'dates' => [ /* |-------------------------------------------------------------------------- | Enable/disable date formatting |-------------------------------------------------------------------------- */ 'enabled' => true, /* |-------------------------------------------------------------------------- | Default date format |-------------------------------------------------------------------------- | | If set to false, a carbon object will return | */ 'format' => false, /* |-------------------------------------------------------------------------- | Date columns |-------------------------------------------------------------------------- */ 'columns' => [] ], /* |-------------------------------------------------------------------------- | Import sheets by config |-------------------------------------------------------------------------- */ 'sheets' => [ /* |-------------------------------------------------------------------------- | Example sheet |-------------------------------------------------------------------------- | | Example sheet "test" will grab the firstname at cell A2 | */ 'test' => [ 'firstname' => 'A2' ] ] ], 'views' => [ /* |-------------------------------------------------------------------------- | Styles |-------------------------------------------------------------------------- | | The default styles which will be used when parsing a view | */ 'styles' => [ /* |-------------------------------------------------------------------------- | Table headings |-------------------------------------------------------------------------- */ 'th' => [ 'font' => [ 'bold' => true, 'size' => 12, ] ], /* |-------------------------------------------------------------------------- | Strong tags |-------------------------------------------------------------------------- */ 'strong' => [ 'font' => [ 'bold' => true, 'size' => 12, ] ], /* |-------------------------------------------------------------------------- | Bold tags |-------------------------------------------------------------------------- */ 'b' => [ 'font' => [ 'bold' => true, 'size' => 12, ] ], /* |-------------------------------------------------------------------------- | Italic tags |-------------------------------------------------------------------------- */ 'i' => [ 'font' => [ 'italic' => true, 'size' => 12, ] ], /* |-------------------------------------------------------------------------- | Heading 1 |-------------------------------------------------------------------------- */ 'h1' => [ 'font' => [ 'bold' => true, 'size' => 24, ] ], /* |-------------------------------------------------------------------------- | Heading 2 |-------------------------------------------------------------------------- */ 'h2' => [ 'font' => [ 'bold' => true, 'size' => 18, ] ], /* |-------------------------------------------------------------------------- | Heading 2 |-------------------------------------------------------------------------- */ 'h3' => [ 'font' => [ 'bold' => true, 'size' => 13.5, ] ], /* |-------------------------------------------------------------------------- | Heading 4 |-------------------------------------------------------------------------- */ 'h4' => [ 'font' => [ 'bold' => true, 'size' => 12, ] ], /* |-------------------------------------------------------------------------- | Heading 5 |-------------------------------------------------------------------------- */ 'h5' => [ 'font' => [ 'bold' => true, 'size' => 10, ] ], /* |-------------------------------------------------------------------------- | Heading 6 |-------------------------------------------------------------------------- */ 'h6' => [ 'font' => [ 'bold' => true, 'size' => 7.5, ] ], /* |-------------------------------------------------------------------------- | Hyperlinks |-------------------------------------------------------------------------- */ 'a' => [ 'font' => [ 'underline' => true, 'color' => ['argb' => 'FF0000FF'], ] ], /* |-------------------------------------------------------------------------- | Horizontal rules |-------------------------------------------------------------------------- */ 'hr' => [ 'borders' => [ 'bottom' => [ 'style' => 'thin', 'color' => ['FF000000'] ], ] ] ] ] );
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/scout.php
config/scout.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Search Engine |-------------------------------------------------------------------------- | | This option controls the default search connection that gets used while | using Laravel Scout. This connection is used when syncing all models | to the search service. You should adjust this based on your needs. | | Supported: "algolia", "null" | */ 'driver' => env('SCOUT_DRIVER', 'algolia'), /* |-------------------------------------------------------------------------- | Index Prefix |-------------------------------------------------------------------------- | | Here you may specify a prefix that will be applied to all search index | names used by Scout. This prefix may be useful if you have multiple | "tenants" or applications sharing the same search infrastructure. | */ 'prefix' => env('SCOUT_PREFIX', ''), /* |-------------------------------------------------------------------------- | Queue Data Syncing |-------------------------------------------------------------------------- | | This option allows you to control if the operations that sync your data | with your search engines are queued. When this is set to "true" then | all automatic data syncing will get queued for better performance. | */ 'queue' => true, /* |-------------------------------------------------------------------------- | Algolia Configuration |-------------------------------------------------------------------------- | | Here you may configure your Algolia settings. Algolia is a cloud hosted | search engine which works great with Scout out of the box. Just plug | in your application ID and admin API key to get started searching. | */ 'algolia' => [ 'id' => env('ALGOLIA_APP_ID', ''), 'secret' => env('ALGOLIA_SECRET', ''), ], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/broadcasting.php
config/broadcasting.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Broadcaster |-------------------------------------------------------------------------- | | This option controls the default broadcaster that will be used by the | framework when an event needs to be broadcast. You may set this to | any of the connections defined in the "connections" array below. | | Supported: "pusher", "redis", "log", "null" | */ 'default' => env('BROADCAST_DRIVER', 'null'), /* |-------------------------------------------------------------------------- | Broadcast Connections |-------------------------------------------------------------------------- | | Here you may define all of the broadcast connections that will be used | to broadcast events to other systems or over websockets. Samples of | each available type of connection are provided inside this array. | */ 'connections' => [ 'pusher' => [ 'driver' => 'pusher', 'key' => env('PUSHER_APP_KEY'), 'secret' => env('PUSHER_APP_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ // ], ], 'redis' => [ 'driver' => 'redis', 'connection' => 'default', ], 'log' => [ 'driver' => 'log', ], 'null' => [ 'driver' => 'null', ], ], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/config/auth.php
config/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for your application. You may change these defaults | as required, but they're a perfect start for most applications. | */ 'defaults' => [ 'guard' => 'web', 'passwords' => 'users', ], /* |-------------------------------------------------------------------------- | Authentication Guards |-------------------------------------------------------------------------- | | Next, you may define every authentication guard for your application. | Of course, a great default configuration has been defined for you | here which uses session storage and the Eloquent user provider. | | All authentication drivers have a user provider. This defines how the | users are actually retrieved out of your database or other storage | mechanisms used by this application to persist your user's data. | | Supported: "session", "token" | */ 'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ], 'api' => [ 'driver' => 'token', 'provider' => 'users', ], ], /* |-------------------------------------------------------------------------- | User Providers |-------------------------------------------------------------------------- | | All authentication drivers have a user provider. This defines how the | users are actually retrieved out of your database or other storage | mechanisms used by this application to persist your user's data. | | If you have multiple user tables or models you may configure multiple | sources which represent each model / table. These sources may then | be assigned to any extra authentication guards you have defined. | | Supported: "database", "eloquent" | */ 'providers' => [ 'users' => [ 'driver' => 'eloquent', 'model' => App\User::class, ], // 'users' => [ // 'driver' => 'database', // 'table' => 'users', // ], ], /* |-------------------------------------------------------------------------- | Resetting Passwords |-------------------------------------------------------------------------- | | You may specify multiple password reset configurations if you have more | than one user table or model in the application and you want to have | separate password reset settings based on the specific user types. | | The expire time is the number of minutes that the reset token should be | considered valid. This security feature keeps tokens short-lived so | they have less time to be guessed. You may change this as needed. | */ 'passwords' => [ 'users' => [ 'provider' => 'users', 'table' => 'password_resets', 'expire' => 60, ], ], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/seeds/DatabaseSeeder.php
database/seeds/DatabaseSeeder.php
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $user = factory(App\User::class)->create([ 'username' => 'admin', 'email' => 'admin@gmail.com', 'password' => bcrypt('admin'), 'lastname' => 'Mr', 'firstname' => 'admin' ]); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/factories/ModelFactory.php
database/factories/ModelFactory.php
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding your | database. Just tell the factory how a default model should look. | */ /** @var \Illuminate\Database\Eloquent\Factory $factory */ $factory->define(App\User::class, function (Faker\Generator $faker) { static $password; return [ 'username' => $faker->name, 'email' => $faker->unique()->safeEmail, 'password' => $password ?: $password = bcrypt('secret'), 'lastname' => null, 'firstname' => null, 'remember_token' => str_random(10), ]; });
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/migrations/2017_02_18_003431_create_department_table.php
database/migrations/2017_02_18_003431_create_department_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDepartmentTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('department', function (Blueprint $table) { $table->increments('id', true); $table->string('name', 60); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('department'); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/migrations/2017_02_18_005241_create_city_table.php
database/migrations/2017_02_18_005241_create_city_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCityTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('city', function (Blueprint $table) { $table->increments('id', true); $table->integer('state_id')->unsigned(); $table->foreign('state_id')->references('id')->on('state'); $table->string('name', 60); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('city'); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/migrations/2017_02_18_005005_create_state_table.php
database/migrations/2017_02_18_005005_create_state_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateStateTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('state', function (Blueprint $table) { $table->increments('id', true); $table->integer('country_id')->unsigned(); $table->foreign('country_id')->references('id')->on('country'); $table->string('name', 60); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('state'); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/migrations/2017_02_18_004142_create_division_table.php
database/migrations/2017_02_18_004142_create_division_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDivisionTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('division', function (Blueprint $table) { $table->increments('id', true); $table->string('name', 60); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('division'); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/migrations/2014_10_12_000000_create_users_table.php
database/migrations/2014_10_12_000000_create_users_table.php
<?php use Illuminate\Support\Facades\Schema; 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', true); $table->string('username'); $table->string('email')->unique(); $table->string('password'); $table->string('lastname'); $table->string('firstname'); $table->rememberToken(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/migrations/2017_03_18_001905_create_employee_salary_table.php
database/migrations/2017_03_18_001905_create_employee_salary_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEmployeeSalaryTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('employee_salary', function (Blueprint $table) { $table->increments('id', true); $table->integer('employee_id')->unsigned(); $table->foreign('employee_id')->references('id')->on('employee'); $table->decimal('salary', 16, 2); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('employee_salary'); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/migrations/2017_03_17_163141_create_employees_table.php
database/migrations/2017_03_17_163141_create_employees_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEmployeesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('employees', function (Blueprint $table) { $table->increments('id', true); $table->string('lastname', 60); $table->string('firstname', 60); $table->string('middlename', 60); $table->string('address', 120); $table->integer('city_id')->unsigned(); $table->integer('state_id')->unsigned(); $table->integer('country_id')->unsigned();; $table->foreign('city_id')->references('id')->on('city'); $table->foreign('state_id')->references('id')->on('state'); $table->foreign('country_id')->references('id')->on('country'); $table->char('zip', 10); $table->integer('age')->unsigned(); $table->date('birthdate'); $table->date('date_hired'); $table->integer('department_id')->unsigned(); $table->integer('division_id')->unsigned(); // $table->integer('company_id')->unsigned(); $table->foreign('department_id')->references('id')->on('department'); $table->foreign('division_id')->references('id')->on('division'); // $table->foreign('company_id')->references('id')->on('company'); $table->string('picture', 60); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('employees'); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/database/migrations/2017_02_18_004326_create_country_table.php
database/migrations/2017_02_18_004326_create_country_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCountryTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('country', function (Blueprint $table) { $table->increments('id', true); $table->string('country_code', 3); $table->string('name', 60); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('country'); } }
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/lang/en/passwords.php
resources/lang/en/passwords.php
<?php return [ /* |-------------------------------------------------------------------------- | Password Reset Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are given by the password broker for a password update attempt | has failed, such as for an invalid token or invalid new password. | */ 'password' => 'Passwords must be at least six characters and match the confirmation.', 'reset' => 'Your password has been reset!', 'sent' => 'We have e-mailed your password reset link!', 'token' => 'This password reset token is invalid.', 'user' => "We can't find a user with that e-mail address.", ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/lang/en/pagination.php
resources/lang/en/pagination.php
<?php return [ /* |-------------------------------------------------------------------------- | Pagination Language Lines |-------------------------------------------------------------------------- | | The following language lines are used by the paginator library to build | the simple pagination links. You are free to change them to anything | you want to customize your views to better match your application. | */ 'previous' => '&laquo; Previous', 'next' => 'Next &raquo;', ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/lang/en/validation.php
resources/lang/en/validation.php
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator class. Some of these rules have multiple versions such | as the size rules. Feel free to tweak each of these messages here. | */ 'accepted' => 'The :attribute must be accepted.', 'active_url' => 'The :attribute is not a valid URL.', 'after' => 'The :attribute must be a date after :date.', 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', 'alpha' => 'The :attribute may only contain letters.', 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', 'alpha_num' => 'The :attribute may only contain letters and numbers.', 'array' => 'The :attribute must be an array.', 'before' => 'The :attribute must be a date before :date.', 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', 'between' => [ 'numeric' => 'The :attribute must be between :min and :max.', 'file' => 'The :attribute must be between :min and :max kilobytes.', 'string' => 'The :attribute must be between :min and :max characters.', 'array' => 'The :attribute must have between :min and :max items.', ], 'boolean' => 'The :attribute field must be true or false.', 'confirmed' => 'The :attribute confirmation does not match.', 'date' => 'The :attribute is not a valid date.', 'date_format' => 'The :attribute does not match the format :format.', 'different' => 'The :attribute and :other must be different.', 'digits' => 'The :attribute must be :digits digits.', 'digits_between' => 'The :attribute must be between :min and :max digits.', 'dimensions' => 'The :attribute has invalid image dimensions.', 'distinct' => 'The :attribute field has a duplicate value.', 'email' => 'The :attribute must be a valid email address.', 'exists' => 'The selected :attribute is invalid.', 'file' => 'The :attribute must be a file.', 'filled' => 'The :attribute field must have a value.', 'image' => 'The :attribute must be an image.', 'in' => 'The selected :attribute is invalid.', 'in_array' => 'The :attribute field does not exist in :other.', 'integer' => 'The :attribute must be an integer.', 'ip' => 'The :attribute must be a valid IP address.', 'json' => 'The :attribute must be a valid JSON string.', 'max' => [ 'numeric' => 'The :attribute may not be greater than :max.', 'file' => 'The :attribute may not be greater than :max kilobytes.', 'string' => 'The :attribute may not be greater than :max characters.', 'array' => 'The :attribute may not have more than :max items.', ], 'mimes' => 'The :attribute must be a file of type: :values.', 'mimetypes' => 'The :attribute must be a file of type: :values.', 'min' => [ 'numeric' => 'The :attribute must be at least :min.', 'file' => 'The :attribute must be at least :min kilobytes.', 'string' => 'The :attribute must be at least :min characters.', 'array' => 'The :attribute must have at least :min items.', ], 'not_in' => 'The selected :attribute is invalid.', 'numeric' => 'The :attribute must be a number.', 'present' => 'The :attribute field must be present.', 'regex' => 'The :attribute format is invalid.', 'required' => 'The :attribute field is required.', 'required_if' => 'The :attribute field is required when :other is :value.', 'required_unless' => 'The :attribute field is required unless :other is in :values.', 'required_with' => 'The :attribute field is required when :values is present.', 'required_with_all' => 'The :attribute field is required when :values is present.', 'required_without' => 'The :attribute field is required when :values is not present.', 'required_without_all' => 'The :attribute field is required when none of :values are present.', 'same' => 'The :attribute and :other must match.', 'size' => [ 'numeric' => 'The :attribute must be :size.', 'file' => 'The :attribute must be :size kilobytes.', 'string' => 'The :attribute must be :size characters.', 'array' => 'The :attribute must contain :size items.', ], 'string' => 'The :attribute must be a string.', 'timezone' => 'The :attribute must be a valid zone.', 'unique' => 'The :attribute has already been taken.', 'uploaded' => 'The :attribute failed to upload.', 'url' => 'The :attribute format is invalid.', /* |-------------------------------------------------------------------------- | Custom Validation Language Lines |-------------------------------------------------------------------------- | | Here you may specify custom validation messages for attributes using the | convention "attribute.rule" to name the lines. This makes it quick to | specify a specific custom language line for a given attribute rule. | */ 'custom' => [ 'attribute-name' => [ 'rule-name' => 'custom-message', ], ], /* |-------------------------------------------------------------------------- | Custom Validation Attributes |-------------------------------------------------------------------------- | | The following language lines are used to swap attribute place-holders | with something more reader friendly such as E-Mail Address instead | of "email". This simply helps us make messages a little cleaner. | */ 'attributes' => [], ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/lang/en/auth.php
resources/lang/en/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages that we need to display to the user. You are free to modify | these language lines according to your application's requirements. | */ 'failed' => 'These credentials do not match our records.', 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', ];
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/profile.blade.php
resources/views/profile.blade.php
<!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html> <head> </head> <body> <h1>Hello {{ Auth::user()->username}}, comming soon</h1> </body> </html>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt.blade.php
resources/views/system-mgmt.blade.php
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/dashboard.blade.php
resources/views/dashboard.blade.php
<!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>EM | Empployee Management</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!-- Bootstrap 3.3.6 --> <link href="{{ asset("/bower_components/AdminLTE/bootstrap/css/bootstrap.min.css") }}" rel="stylesheet" type="text/css" /> <!-- Font Awesome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css"> <!-- Ionicons --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css"> <!-- Theme style --> <link href="{{ asset("/bower_components/AdminLTE/dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" /> <!-- AdminLTE Skins. We have chosen the skin-blue for this starter page. However, you can choose any other skin. Make sure you apply the skin class to the body tag so the changes take effect. --> <link href="{{ asset("/bower_components/AdminLTE/dist/css/skins/skin-blue.min.css")}}" rel="stylesheet" type="text/css" /> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <!-- BODY TAG OPTIONS: ================= Apply one or more of the following classes to get the desired effect |---------------------------------------------------------| | SKINS | skin-blue | | | skin-black | | | skin-purple | | | skin-yellow | | | skin-red | | | skin-green | |---------------------------------------------------------| |LAYOUT OPTIONS | fixed | | | layout-boxed | | | layout-top-nav | | | sidebar-collapse | | | sidebar-mini | |---------------------------------------------------------| --> <body class="hold-transition skin-blue sidebar-mini"> <div class="wrapper"> <!-- Main Header --> @include('layouts.header') <!-- Sidebar --> @include('layouts.sidebar') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Dashboard </h1> <ol class="breadcrumb"> <!-- li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li--> <li class="active">Dashboard</li> </ol> </section> <!-- Main content --> <section class="content"> <!-- Your Page Content Here --> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <!-- Footer --> @include('layouts.footer') <!-- ./wrapper --> <!-- REQUIRED JS SCRIPTS --> <!-- jQuery 2.1.3 --> <script src="{{ asset ("/bower_components/AdminLTE/plugins/jQuery/jquery-2.2.3.min.js") }}"></script> <!-- Bootstrap 3.3.2 JS --> <script src="{{ asset ("/bower_components/AdminLTE/bootstrap/js/bootstrap.min.js") }}" type="text/javascript"></script> <!-- AdminLTE App --> <script src="{{ asset ("/bower_components/AdminLTE/dist/js/app.min.js") }}" type="text/javascript"></script> <!-- Optionally, you can add Slimscroll and FastClick plugins. Both of these plugins are recommended to enhance the user experience. Slimscroll is required when using the fixed layout. --> </body> </html>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/dashboard_old.blade.php
resources/views/dashboard_old.blade.php
@extends('layouts.app') @section('content') <div id="wrapper"> <div class="overlay"></div> <!-- Sidebar --> <nav class="navbar navbar-inverse navbar-fixed-top" id="sidebar-wrapper" role="navigation"> <ul class="nav sidebar-nav"> <li class="sidebar-brand"> <a href="#"> Bootstrap 3 </a> </li> <li> <a href="#"><i class="fa fa-fw fa-home"></i> Home</a> </li> <li> <a href="#"><i class="fa fa-fw fa-folder"></i> Page one</a> </li> <li> <a href="#"><i class="fa fa-fw fa-file-o"></i> Second page</a> </li> <li> <a href="#"><i class="fa fa-fw fa-cog"></i> Third page</a> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-fw fa-plus"></i> Dropdown <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li class="dropdown-header">Dropdown heading</li> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> <li> <a href="#"><i class="fa fa-fw fa-bank"></i> Page four</a> </li> <li> <a href="#"><i class="fa fa-fw fa-dropbox"></i> Page 5</a> </li> <li> <a href="#"><i class="fa fa-fw fa-twitter"></i> Last page</a> </li> </ul> </nav> <!-- /#sidebar-wrapper --> <!-- Page Content --> <div id="page-content-wrapper"> <button type="button" class="hamburger is-closed animated fadeInLeft" data-toggle="offcanvas"> <span class="hamb-top"></span> <span class="hamb-middle"></span> <span class="hamb-bottom"></span> </button> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/auth/login.blade.php
resources/views/auth/login.blade.php
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Login</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('login') }}"> {{ csrf_field() }} <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}"> <label for="email" class="col-md-4 control-label">E-Mail Address</label> <div class="col-md-6"> <input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required autofocus> @if ($errors->has('email')) <span class="help-block"> <strong>{{ $errors->first('email') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}"> <label for="password" class="col-md-4 control-label">Password</label> <div class="col-md-6"> <input id="password" type="password" class="form-control" name="password" required> @if ($errors->has('password')) <span class="help-block"> <strong>{{ $errors->first('password') }}</strong> </span> @endif </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <div class="checkbox"> <label> <input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Remember Me </label> </div> </div> </div> <div class="form-group"> <div class="col-md-8 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Login </button> <a class="btn btn-link" href="{{ route('password.request') }}"> Forgot Your Password? </a> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/auth/register.blade.php
resources/views/auth/register.blade.php
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Register</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('register') }}"> {{ csrf_field() }} <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}"> <label for="email" class="col-md-4 control-label">E-Mail Address</label> <div class="col-md-6"> <input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required> @if ($errors->has('email')) <span class="help-block"> <strong>{{ $errors->first('email') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}"> <label for="password" class="col-md-4 control-label">Password</label> <div class="col-md-6"> <input id="password" type="password" class="form-control" name="password" required> @if ($errors->has('password')) <span class="help-block"> <strong>{{ $errors->first('password') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label for="password-confirm" class="col-md-4 control-label">Confirm Password</label> <div class="col-md-6"> <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required> </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Register </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/auth/passwords/email.blade.php
resources/views/auth/passwords/email.blade.php
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Reset Password</div> <div class="panel-body"> @if (session('status')) <div class="alert alert-success"> {{ session('status') }} </div> @endif <form class="form-horizontal" role="form" method="POST" action="{{ route('password.email') }}"> {{ csrf_field() }} <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}"> <label for="email" class="col-md-4 control-label">E-Mail Address</label> <div class="col-md-6"> <input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required> @if ($errors->has('email')) <span class="help-block"> <strong>{{ $errors->first('email') }}</strong> </span> @endif </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Send Password Reset Link </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/auth/passwords/reset.blade.php
resources/views/auth/passwords/reset.blade.php
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Reset Password</div> <div class="panel-body"> @if (session('status')) <div class="alert alert-success"> {{ session('status') }} </div> @endif <form class="form-horizontal" role="form" method="POST" action="{{ route('password.request') }}"> {{ csrf_field() }} <input type="hidden" name="token" value="{{ $token }}"> <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}"> <label for="email" class="col-md-4 control-label">E-Mail Address</label> <div class="col-md-6"> <input id="email" type="email" class="form-control" name="email" value="{{ $email or old('email') }}" required autofocus> @if ($errors->has('email')) <span class="help-block"> <strong>{{ $errors->first('email') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}"> <label for="password" class="col-md-4 control-label">Password</label> <div class="col-md-6"> <input id="password" type="password" class="form-control" name="password" required> @if ($errors->has('password')) <span class="help-block"> <strong>{{ $errors->first('password') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}"> <label for="password-confirm" class="col-md-4 control-label">Confirm Password</label> <div class="col-md-6"> <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required> @if ($errors->has('password_confirmation')) <span class="help-block"> <strong>{{ $errors->first('password_confirmation') }}</strong> </span> @endif </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Reset Password </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/users-mgmt/edit.blade.php
resources/views/users-mgmt/edit.blade.php
@extends('users-mgmt.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Update user</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('user-management.update', ['id' => $user->id]) }}"> <input type="hidden" name="_method" value="PATCH"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <div class="form-group{{ $errors->has('username') ? ' has-error' : '' }}"> <label for="username" class="col-md-4 control-label">User Name</label> <div class="col-md-6"> <input id="username" type="text" class="form-control" name="username" value="{{ $user->username }}" required autofocus> @if ($errors->has('username')) <span class="help-block"> <strong>{{ $errors->first('username') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('firstname') ? ' has-error' : '' }}"> <label for="firstname" class="col-md-4 control-label">First Name</label> <div class="col-md-6"> <input id="firstname" type="text" class="form-control" name="firstname" value="{{ $user->firstname }}" required> @if ($errors->has('firstname')) <span class="help-block"> <strong>{{ $errors->first('firstname') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('lastname') ? ' has-error' : '' }}"> <label for="lastname" class="col-md-4 control-label">Last Name</label> <div class="col-md-6"> <input id="lastname" type="text" class="form-control" name="lastname" value="{{ $user->lastname }}" required> @if ($errors->has('lastname')) <span class="help-block"> <strong>{{ $errors->first('lastname') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}"> <label for="password" class="col-md-4 control-label">New Password</label> <div class="col-md-6"> <input id="password" type="password" class="form-control" name="password"> @if ($errors->has('password')) <span class="help-block"> <strong>{{ $errors->first('password') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label for="password-confirm" class="col-md-4 control-label">Confirm Password</label> <div class="col-md-6"> <input id="password-confirm" type="password" class="form-control" name="password_confirmation"> </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Update </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/users-mgmt/index.blade.php
resources/views/users-mgmt/index.blade.php
@extends('users-mgmt.base') @section('action-content') <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"> <div class="row"> <div class="col-sm-8"> <h3 class="box-title">List of users</h3> </div> <div class="col-sm-4"> <a class="btn btn-primary" href="{{ route('user-management.create') }}">Add new user</a> </div> </div> </div> <!-- /.box-header --> <div class="box-body"> <div class="row"> <div class="col-sm-6"></div> <div class="col-sm-6"></div> </div> <form method="POST" action="{{ route('user-management.search') }}"> {{ csrf_field() }} @component('layouts.search', ['title' => 'Search']) @component('layouts.two-cols-search-row', ['items' => ['User Name', 'First Name'], 'oldVals' => [isset($searchingVals) ? $searchingVals['username'] : '', isset($searchingVals) ? $searchingVals['firstname'] : '']]) @endcomponent </br> @component('layouts.two-cols-search-row', ['items' => ['Last Name', 'Department'], 'oldVals' => [isset($searchingVals) ? $searchingVals['lastname'] : '', isset($searchingVals) ? $searchingVals['department'] : '']]) @endcomponent @endcomponent </form> <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"> <div class="row"> <div class="col-sm-12"> <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info"> <thead> <tr role="row"> <th width="10%" class="sorting_asc" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Name: activate to sort column descending" aria-sort="ascending">User Name</th> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Email: activate to sort column ascending">Email</th> <th width="20%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Email: activate to sort column ascending">First Name</th> <th width="20%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Email: activate to sort column ascending">Last Name</th> <th tabindex="0" aria-controls="example2" rowspan="1" colspan="2" aria-label="Action: activate to sort column ascending">Action</th> </tr> </thead> <tbody> @foreach ($users as $user) <tr role="row" class="odd"> <td class="sorting_1">{{ $user->username }}</td> <td>{{ $user->email }}</td> <td class="hidden-xs">{{ $user->firstname }}</td> <td class="hidden-xs">{{ $user->lastname }}</td> <td> <form class="row" method="POST" action="{{ route('user-management.destroy', ['id' => $user->id]) }}" onsubmit = "return confirm('Are you sure?')"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <a href="{{ route('user-management.edit', ['id' => $user->id]) }}" class="btn btn-warning col-sm-3 col-xs-5 btn-margin"> Update </a> @if ($user->username != Auth::user()->username) <button type="submit" class="btn btn-danger col-sm-3 col-xs-5 btn-margin"> Delete </button> @endif </form> </td> </tr> @endforeach </tbody> <tfoot> <tr> <th width="10%" rowspan="1" colspan="1">User Name</th> <th width="20%" rowspan="1" colspan="1">Email</th> <th class="hidden-xs" width="20%" rowspan="1" colspan="1">First Name</th> <th class="hidden-xs" width="20%" rowspan="1" colspan="1">Last Name</th> <th rowspan="1" colspan="2">Action</th> </tr> </tfoot> </table> </div> </div> <div class="row"> <div class="col-sm-5"> <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">Showing 1 to {{count($users)}} of {{count($users)}} entries</div> </div> <div class="col-sm-7"> <div class="dataTables_paginate paging_simple_numbers" id="example2_paginate"> {{ $users->links() }} </div> </div> </div> </div> </div> <!-- /.box-body --> </div> </section> <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/users-mgmt/base.blade.php
resources/views/users-mgmt/base.blade.php
@extends('layouts.app-template') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> User Mangement </h1> <ol class="breadcrumb"> <!-- li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li--> <li class="active">User Mangement</li> </ol> </section> @yield('action-content') <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/users-mgmt/create.blade.php
resources/views/users-mgmt/create.blade.php
@extends('users-mgmt.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Add new user</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('user-management.store') }}"> {{ csrf_field() }} <div class="form-group{{ $errors->has('username') ? ' has-error' : '' }}"> <label for="username" class="col-md-4 control-label">User Name</label> <div class="col-md-6"> <input id="username" type="text" class="form-control" name="username" value="{{ old('username') }}" required autofocus> @if ($errors->has('username')) <span class="help-block"> <strong>{{ $errors->first('username') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}"> <label for="email" class="col-md-4 control-label">E-Mail Address</label> <div class="col-md-6"> <input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required> @if ($errors->has('email')) <span class="help-block"> <strong>{{ $errors->first('email') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('firstname') ? ' has-error' : '' }}"> <label for="firstname" class="col-md-4 control-label">First Name</label> <div class="col-md-6"> <input id="firstname" type="text" class="form-control" name="firstname" value="{{ old('firstname') }}" required> @if ($errors->has('firstname')) <span class="help-block"> <strong>{{ $errors->first('firstname') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('lastname') ? ' has-error' : '' }}"> <label for="lastname" class="col-md-4 control-label">Last Name</label> <div class="col-md-6"> <input id="lastname" type="text" class="form-control" name="lastname" value="{{ old('lastname') }}" required> @if ($errors->has('lastname')) <span class="help-block"> <strong>{{ $errors->first('lastname') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}"> <label for="password" class="col-md-4 control-label">Password</label> <div class="col-md-6"> <input id="password" type="password" class="form-control" name="password" required> @if ($errors->has('password')) <span class="help-block"> <strong>{{ $errors->first('password') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label for="password-confirm" class="col-md-4 control-label">Confirm Password</label> <div class="col-md-6"> <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required> </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Create </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/layouts/two-cols-date-search-row.blade.php
resources/views/layouts/two-cols-date-search-row.blade.php
<div class="row"> @php $index = 0; @endphp @foreach ($items as $item) <div class="col-md-6"> <div class="form-group"> @php $stringFormat = strtolower(str_replace(' ', '', $item)); @endphp <label class="col-md-3 control-label">{{$item}}</label> <div class="col-md-7"> <div class="input-group date"> <div class="input-group-addon"> <i class="fa fa-calendar"></i> </div> <input type="text" value="{{isset($oldVals) ? $oldVals[$index] : ''}}" name="<?=$stringFormat?>" class="form-control pull-right" id="<?=$stringFormat?>" placeholder="{{$item}}" required> </div> </div> </div> </div> @php $index++; @endphp @endforeach </div>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/layouts/app-template.blade.php
resources/views/layouts/app-template.blade.php
<!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>EM | Empployee Management</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!-- Bootstrap 3.3.6 --> <link href="{{ asset("/bower_components/AdminLTE/bootstrap/css/bootstrap.min.css") }}" rel="stylesheet" type="text/css" /> <!-- Font Awesome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css"> <!-- Ionicons --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css"> <link href="{{ asset("/bower_components/AdminLTE/plugins/datatables/dataTables.bootstrap.css")}}" rel="stylesheet" type="text/css" /> <link href="{{ asset("/bower_components/AdminLTE/plugins/daterangepicker/daterangepicker.css")}}" rel="stylesheet" type="text/css" /> <link href="{{ asset("/bower_components/AdminLTE/plugins/datepicker/datepicker3.css")}}" rel="stylesheet" type="text/css" /> <!-- Theme style --> <link href="{{ asset("/bower_components/AdminLTE/dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" /> <!-- AdminLTE Skins. We have chosen the skin-blue for this starter page. However, you can choose any other skin. Make sure you apply the skin class to the body tag so the changes take effect. --> <link href="{{ asset("/bower_components/AdminLTE/dist/css/skins/_all-skins.min.css")}}" rel="stylesheet" type="text/css" /> <link href="{{ asset('css/app-template.css') }}" rel="stylesheet"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <!-- BODY TAG OPTIONS: ================= Apply one or more of the following classes to get the desired effect |---------------------------------------------------------| | SKINS | skin-blue | | | skin-black | | | skin-purple | | | skin-yellow | | | skin-red | | | skin-green | |---------------------------------------------------------| |LAYOUT OPTIONS | fixed | | | layout-boxed | | | layout-top-nav | | | sidebar-collapse | | | sidebar-mini | |---------------------------------------------------------| --> <body class="hold-transition skin-blue sidebar-mini"> <div class="wrapper"> <!-- Main Header --> @include('layouts.header') <!-- Sidebar --> @include('layouts.sidebar') @yield('content') <!-- /.content-wrapper --> <!-- Footer --> @include('layouts.footer') <!-- ./wrapper --> <!-- REQUIRED JS SCRIPTS --> <!-- jQuery 2.1.3 --> <script src="{{ asset ("/bower_components/AdminLTE/plugins/jQuery/jquery-2.2.3.min.js") }}"></script> <!-- Bootstrap 3.3.2 JS --> <script src="{{ asset ("/bower_components/AdminLTE/bootstrap/js/bootstrap.min.js") }}" type="text/javascript"></script> <script src="{{ asset ("/bower_components/AdminLTE/plugins/datatables/jquery.dataTables.min.js") }}" type="text/javascript" ></script> <script src="{{ asset ("/bower_components/AdminLTE/plugins/datatables/dataTables.bootstrap.min.js") }}" type="text/javascript" ></script> <script src="{{ asset ("/bower_components/AdminLTE/plugins/slimScroll/jquery.slimscroll.min.js") }}" type="text/javascript" ></script> <script src="{{ asset ("/bower_components/AdminLTE/plugins/fastclick/fastclick.js") }}" type="text/javascript" ></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script> <script src="{{ asset ("/bower_components/AdminLTE/plugins/input-mask/jquery.inputmask.js") }}" type="text/javascript" ></script> <script src="{{ asset ("/bower_components/AdminLTE/plugins/input-mask/jquery.inputmask.date.extensions.js") }}" type="text/javascript" ></script> <script src="{{ asset ("/bower_components/AdminLTE/plugins/input-mask/jquery.inputmask.extensions.js") }}" type="text/javascript" ></script> <script src="{{ asset ("/bower_components/AdminLTE/plugins/daterangepicker/daterangepicker.js") }}" type="text/javascript" ></script> <script src="{{ asset ("/bower_components/AdminLTE/plugins/datepicker/bootstrap-datepicker.js") }}" type="text/javascript" ></script> <!-- AdminLTE App --> <script src="{{ asset ("/bower_components/AdminLTE/dist/js/app.min.js") }}" type="text/javascript"></script> <script src="{{ asset ("/bower_components/AdminLTE/dist/js/demo.js") }}" type="text/javascript"></script> <!-- Optionally, you can add Slimscroll and FastClick plugins. Both of these plugins are recommended to enhance the user experience. Slimscroll is required when using the fixed layout. --> <script> $(document).ready(function() { //Date picker $('#birthDate').datepicker({ autoclose: true, format: 'yyyy/mm/dd' }); $('#hiredDate').datepicker({ autoclose: true, format: 'yyyy/mm/dd' }); $('#from').datepicker({ autoclose: true, format: 'yyyy/mm/dd' }); $('#to').datepicker({ autoclose: true, format: 'yyyy/mm/dd' }); }); </script> <script src="{{ asset('js/site.js') }}"></script> </body> </html>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/layouts/header.blade.php
resources/views/layouts/header.blade.php
<!-- Main Header --> <header class="main-header"> <!-- Logo --> <a href="index2.html" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels --> <span class="logo-mini"><b>E</b>M</span> <!-- logo for regular state and mobile devices --> <span class="logo-lg">{{ config('app.name', 'EmployeeManagement') }}</span> </a> <!-- Header Navbar --> <nav class="navbar navbar-static-top" role="navigation"> <!-- Sidebar toggle button--> <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle navigation</span> </a> <!-- Navbar Right Menu --> <div class="navbar-custom-menu"> <ul class="nav navbar-nav"> <!-- User Account Menu --> <li class="dropdown user user-menu"> <!-- Menu Toggle Button --> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <!-- The user image in the navbar--> <img src="{{ asset("/bower_components/AdminLTE/dist/img/user2-160x160.jpg") }}" class="user-image" alt="User Image"> <!-- hidden-xs hides the username on small devices so only the image appears. --> <span class="hidden-xs">{{ Auth::user()->username }}</span> </a> <ul class="dropdown-menu"> <!-- The user image in the menu --> <li class="user-header"> <img src="{{ asset("/bower_components/AdminLTE/dist/img/user2-160x160.jpg") }}" class="img-circle" alt="User Image"> <p> Hello {{ Auth::user()->username }} </p> </li> <!-- Menu Footer--> <li class="user-footer"> @if (Auth::guest()) <div class="pull-left"> <a href="{{ route('login') }}" class="btn btn-default btn-flat">Login</a> </div> @else <div class="pull-left"> <a href="{{ url('profile') }}" class="btn btn-default btn-flat">Profile</a> </div> <div class="pull-right"> <a class="btn btn-default btn-flat" href="{{ route('logout') }}" onclick="event.preventDefault();document.getElementById('logout-form').submit();"> Logout </a> </div> @endif </li> </ul> </li> </ul> </div> </nav> </header> <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> {{ csrf_field() }} </form>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/layouts/search.blade.php
resources/views/layouts/search.blade.php
<div class="box box-default"> <div class="box-header with-border"> <h3 class="box-title">{{isset($title) ? $title : 'Search'}}</h3> <div class="box-tools pull-right"> <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button> </div> </div> <!-- /.box-header --> <div class="box-body"> {{ $slot }} </div> <!-- /.box-body --> <div class="box-footer"> <button type="submit" class="btn btn-primary"> <span class="glyphicon glyphicon-search" aria-hidden="true"></span> Search </button> </div> </div>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/layouts/two-cols-search-row.blade.php
resources/views/layouts/two-cols-search-row.blade.php
<div class="row"> @php $index = 0; @endphp @foreach ($items as $item) <div class="col-md-6"> <div class="form-group"> @php $stringFormat = strtolower(str_replace(' ', '', $item)); @endphp <label for="input<?=$stringFormat?>" class="col-sm-3 control-label">{{$item}}</label> <div class="col-sm-9"> <input value="{{isset($oldVals) ? $oldVals[$index] : ''}}" type="text" class="form-control" name="<?=$stringFormat?>" id="input<?=$stringFormat?>" placeholder="{{$item}}"> </div> </div> </div> @php $index++; @endphp @endforeach </div>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/layouts/sidebar.blade.php
resources/views/layouts/sidebar.blade.php
<!-- Left side column. contains the logo and sidebar --> <aside class="main-sidebar"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel (optional) --> <div class="user-panel"> <div class="pull-left image"> <img src="{{ asset("/bower_components/AdminLTE/dist/img/user2-160x160.jpg") }}" class="img-circle" alt="User Image"> </div> <div class="pull-left info"> <p>{{ Auth::user()->name}}</p> <!-- Status --> <a href="#"><i class="fa fa-circle text-success"></i> Online</a> </div> </div> <!-- search form (Optional) --> <form action="#" method="get" class="sidebar-form"> <div class="input-group"> <input type="text" name="q" class="form-control" placeholder="Search..."> <span class="input-group-btn"> <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i> </button> </span> </div> </form> <!-- /.search form --> <!-- Sidebar Menu --> <ul class="sidebar-menu"> <!-- Optionally, you can add icons to the links --> <li class="active"><a href="/"><i class="fa fa-link"></i> <span>Dashboard</span></a></li> <li><a href="{{ url('employee-management') }}"><i class="fa fa-link"></i> <span>Employee Management</span></a></li> <li class="treeview"> <a href="#"><i class="fa fa-link"></i> <span>System Management</span> <span class="pull-right-container"> <i class="fa fa-angle-left pull-right"></i> </span> </a> <ul class="treeview-menu"> <li><a href="{{ url('system-management/department') }}">Department</a></li> <li><a href="{{ url('system-management/division') }}">Division</a></li> <li><a href="{{ url('system-management/country') }}">Country</a></li> <li><a href="{{ url('system-management/state') }}">State</a></li> <li><a href="{{ url('system-management/city') }}">City</a></li> <li><a href="{{ url('system-management/report') }}">Report</a></li> </ul> </li> <li><a href="{{ route('user-management.index') }}"><i class="fa fa-link"></i> <span>User management</span></a></li> </ul> <!-- /.sidebar-menu --> </section> <!-- /.sidebar --> </aside>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/layouts/footer.blade.php
resources/views/layouts/footer.blade.php
<!-- Main Footer --> <footer class="main-footer"> <!-- To the right --> <div class="pull-right hidden-xs"> Anything you want </div> <!-- Default to the left --> <strong>Copyright &copy; 2017 <a href="#">Company</a>.</strong> All rights reserved. </footer>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/layouts/app.blade.php
resources/views/layouts/app.blade.php
<!DOCTYPE html> <html lang="{{ config('app.locale') }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</title> <!-- Styles --> <link href="{{ asset('css/app.css') }}" rel="stylesheet"> <!--link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous" --> <!-- Scripts --> <script> window.Laravel = {!! json_encode([ 'csrfToken' => csrf_token(), ]) !!}; </script> </head> <body> <div id="app"> <nav class="navbar navbar-default navbar-static-top"> <div class="container"> <div class="navbar-header"> <!-- Collapsed Hamburger --> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse"> <span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <!-- Branding Image --> <a class="navbar-brand" href="{{ url('/') }}"> {{ config('app.name', 'Laravel') }} </a> </div> <div class="collapse navbar-collapse" id="app-navbar-collapse"> <!-- Left Side Of Navbar --> <ul class="nav navbar-nav"> &nbsp; </ul> <!-- Right Side Of Navbar --> <ul class="nav navbar-nav navbar-right"> <!-- Authentication Links --> @if (Auth::guest()) <li><a href="{{ route('login') }}">Login</a></li> <!--li><a href="{{ route('register') }}">Register</a></li--> @else <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"> {{ Auth::user()->username }} <span class="caret"></span> </a> <ul class="dropdown-menu" role="menu"> <li> <a href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();"> Logout </a> <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> {{ csrf_field() }} </form> </li> </ul> </li> @endif </ul> </div> </div> </nav> @yield('content') </div> <!-- Scripts --> <script src="{{ asset('js/app.js') }}"></script> <!--script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script --> <!--script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script--> <!--script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script--> </body> </html>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/employees-mgmt/edit.blade.php
resources/views/employees-mgmt/edit.blade.php
@extends('employees-mgmt.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Update employee</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('employee-management.update', ['id' => $employee->id]) }}" enctype="multipart/form-data"> <input type="hidden" name="_method" value="PATCH"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <div class="form-group{{ $errors->has('firstname') ? ' has-error' : '' }}"> <label for="firstname" class="col-md-4 control-label">First Name</label> <div class="col-md-6"> <input id="firstname" type="text" class="form-control" name="firstname" value="{{ $employee->firstname }}" required autofocus> @if ($errors->has('firstname')) <span class="help-block"> <strong>{{ $errors->first('firstname') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('lastname') ? ' has-error' : '' }}"> <label for="lastname" class="col-md-4 control-label">Last Name</label> <div class="col-md-6"> <input id="lastname" type="text" class="form-control" name="lastname" value="{{ $employee->lastname }}" required> @if ($errors->has('lastname')) <span class="help-block"> <strong>{{ $errors->first('lastname') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('middlename') ? ' has-error' : '' }}"> <label for="middlename" class="col-md-4 control-label">Middle Name</label> <div class="col-md-6"> <input id="middlename" type="text" class="form-control" name="middlename" value="{{ $employee->middlename }}" required> @if ($errors->has('middlename')) <span class="help-block"> <strong>{{ $errors->first('middlename') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('address') ? ' has-error' : '' }}"> <label for="address" class="col-md-4 control-label">Address</label> <div class="col-md-6"> <input id="address" type="text" class="form-control" name="address" value="{{ $employee->address }}" required> @if ($errors->has('address')) <span class="help-block"> <strong>{{ $errors->first('address') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label class="col-md-4 control-label">City</label> <div class="col-md-6"> <select class="form-control" name="city_id"> @foreach ($cities as $city) <option {{$employee->city_id == $city->id ? 'selected' : ''}} value="{{$city->id}}">{{$city->name}}</option> @endforeach </select> </div> </div> <div class="form-group"> <label class="col-md-4 control-label">State</label> <div class="col-md-6"> <select class="form-control" name="state_id"> @foreach ($states as $state) <option {{$employee->state_id == $state->id ? 'selected' : ''}} value="{{$state->id}}">{{$state->name}}</option> @endforeach </select> </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Country</label> <div class="col-md-6"> <select class="form-control" name="country_id"> @foreach ($countries as $country) <option {{$employee->country_id == $country->id ? 'selected' : ''}} value="{{$country->id}}">{{$country->name}}</option> @endforeach </select> </div> </div> <div class="form-group{{ $errors->has('zip') ? ' has-error' : '' }}"> <label for="zip" class="col-md-4 control-label">Zip</label> <div class="col-md-6"> <input id="zip" type="text" class="form-control" name="zip" value="{{ $employee->zip }}" required> @if ($errors->has('zip')) <span class="help-block"> <strong>{{ $errors->first('zip') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('age') ? ' has-error' : '' }}"> <label for="zip" class="col-md-4 control-label">Age</label> <div class="col-md-6"> <input id="age" type="text" class="form-control" name="age" value="{{ $employee->age }}" required> @if ($errors->has('age')) <span class="help-block"> <strong>{{ $errors->first('age') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Birthday</label> <div class="col-md-6"> <div class="input-group date"> <div class="input-group-addon"> <i class="fa fa-calendar"></i> </div> <input type="text" value="{{ $employee->birthdate }}" name="birthdate" class="form-control pull-right" id="birthDate" required> </div> </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Hired Date</label> <div class="col-md-6"> <div class="input-group date"> <div class="input-group-addon"> <i class="fa fa-calendar"></i> </div> <input type="text" value="{{ $employee->date_hired }}" name="date_hired" class="form-control pull-right" id="hiredDate" required> </div> </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Department</label> <div class="col-md-6"> <select class="form-control" name="department_id"> @foreach ($departments as $department) <option {{$employee->department_id == $department->id ? 'selected' : ''}} value="{{$department->id}}">{{$department->name}}</option> @endforeach </select> </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Division</label> <div class="col-md-6"> <select class="form-control" name="division_id"> @foreach ($divisions as $division) <option {{$employee->division_id == $division->id ? 'selected' : ''}} value="{{$division->id}}">{{$division->name}}</option> @endforeach </select> </div> </div> <div class="form-group"> <label for="avatar" class="col-md-4 control-label" >Picture</label> <div class="col-md-6"> <img src="../../{{$employee->picture }}" width="50px" height="50px"/> <input type="file" id="picture" name="picture" /> </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Update </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/employees-mgmt/index.blade.php
resources/views/employees-mgmt/index.blade.php
@extends('employees-mgmt.base') @section('action-content') <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"> <div class="row"> <div class="col-sm-8"> <h3 class="box-title">List of employees</h3> </div> <div class="col-sm-4"> <a class="btn btn-primary" href="{{ route('employee-management.create') }}">Add new employee</a> </div> </div> </div> <!-- /.box-header --> <div class="box-body"> <div class="row"> <div class="col-sm-6"></div> <div class="col-sm-6"></div> </div> <form method="POST" action="{{ route('employee-management.search') }}"> {{ csrf_field() }} @component('layouts.search', ['title' => 'Search']) @component('layouts.two-cols-search-row', ['items' => ['First Name', 'Department_Name'], 'oldVals' => [isset($searchingVals) ? $searchingVals['firstname'] : '', isset($searchingVals) ? $searchingVals['department_name'] : '']]) @endcomponent @endcomponent </form> <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"> <div class="row"> <div class="col-sm-12"> <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info"> <thead> <tr role="row"> <th width="8%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Picture: activate to sort column descending" aria-sort="ascending">Picture</th> <th width="10%" class="sorting_asc" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Name: activate to sort column descending" aria-sort="ascending">Employee Name</th> <th width="12%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Address: activate to sort column ascending">Address</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Age: activate to sort column ascending">Age</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Birthdate: activate to sort column ascending">Birthdate</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="HiredDate: activate to sort column ascending">Hired Date</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Department: activate to sort column ascending">Department</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Division: activate to sort column ascending">Division</th> <th tabindex="0" aria-controls="example2" rowspan="1" colspan="2" aria-label="Action: activate to sort column ascending">Action</th> </tr> </thead> <tbody> @foreach ($employees as $employee) <tr role="row" class="odd"> <td><img src="../{{$employee->picture }}" width="50px" height="50px"/></td> <td class="sorting_1">{{ $employee->firstname }} {{$employee->middlename}} {{$employee->lastname}}</td> <td class="hidden-xs">{{ $employee->address }}</td> <td class="hidden-xs">{{ $employee->age }}</td> <td class="hidden-xs">{{ $employee->birthdate }}</td> <td class="hidden-xs">{{ $employee->date_hired }}</td> <td class="hidden-xs">{{ $employee->department_name }}</td> <td class="hidden-xs">{{ $employee->division_name }}</td> <td> <form class="row" method="POST" action="{{ route('employee-management.destroy', ['id' => $employee->id]) }}" onsubmit = "return confirm('Are you sure?')"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <a href="{{ route('employee-management.edit', ['id' => $employee->id]) }}" class="btn btn-warning col-sm-3 col-xs-5 btn-margin"> Update </a> <button type="submit" class="btn btn-danger col-sm-3 col-xs-5 btn-margin"> Delete </button> </form> </td> </tr> @endforeach </tbody> <tfoot> <tr> <tr role="row"> <th width="8%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Picture: activate to sort column descending" aria-sort="ascending">Picture</th> <th width="10%" class="sorting_asc" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Name: activate to sort column descending" aria-sort="ascending">Employee Name</th> <th width="12%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Address: activate to sort column ascending">Address</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Age: activate to sort column ascending">Age</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Birthdate: activate to sort column ascending">Birthdate</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="HiredDate: activate to sort column ascending">Hired Date</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Department: activate to sort column ascending">Department</th> <th width="8%" class="sorting hidden-xs" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Division: activate to sort column ascending">Division</th> <th tabindex="0" aria-controls="example2" rowspan="1" colspan="2" aria-label="Action: activate to sort column ascending">Action</th> </tr> </tr> </tfoot> </table> </div> </div> <div class="row"> <div class="col-sm-5"> <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">Showing 1 to {{count($employees)}} of {{count($employees)}} entries</div> </div> <div class="col-sm-7"> <div class="dataTables_paginate paging_simple_numbers" id="example2_paginate"> {{ $employees->links() }} </div> </div> </div> </div> </div> <!-- /.box-body --> </div> </section> <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/employees-mgmt/base.blade.php
resources/views/employees-mgmt/base.blade.php
@extends('layouts.app-template') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Employee Mangement </h1> <ol class="breadcrumb"> <!-- li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li--> <li class="active">Employee Mangement</li> </ol> </section> @yield('action-content') <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/employees-mgmt/create.blade.php
resources/views/employees-mgmt/create.blade.php
@extends('employees-mgmt.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Add new employee</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('employee-management.store') }}" enctype="multipart/form-data"> {{ csrf_field() }} <div class="form-group{{ $errors->has('firstname') ? ' has-error' : '' }}"> <label for="firstname" class="col-md-4 control-label">First Name</label> <div class="col-md-6"> <input id="firstname" type="text" class="form-control" name="firstname" value="{{ old('firstname') }}" required autofocus> @if ($errors->has('firstname')) <span class="help-block"> <strong>{{ $errors->first('firstname') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('lastname') ? ' has-error' : '' }}"> <label for="lastname" class="col-md-4 control-label">Last Name</label> <div class="col-md-6"> <input id="lastname" type="text" class="form-control" name="lastname" value="{{ old('lastname') }}" required> @if ($errors->has('lastname')) <span class="help-block"> <strong>{{ $errors->first('lastname') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('middlename') ? ' has-error' : '' }}"> <label for="middlename" class="col-md-4 control-label">Middle Name</label> <div class="col-md-6"> <input id="middlename" type="text" class="form-control" name="middlename" value="{{ old('middlename') }}" required> @if ($errors->has('middlename')) <span class="help-block"> <strong>{{ $errors->first('middlename') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('address') ? ' has-error' : '' }}"> <label for="address" class="col-md-4 control-label">Address</label> <div class="col-md-6"> <input id="address" type="text" class="form-control" name="address" value="{{ old('address') }}" required> @if ($errors->has('address')) <span class="help-block"> <strong>{{ $errors->first('address') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Country</label> <div class="col-md-6"> <select class="form-control js-country" name="country_id"> <option value="-1">Please select your country</option> @foreach ($countries as $country) <option value="{{$country->id}}">{{$country->name}}</option> @endforeach </select> </div> </div> <div class="form-group"> <label class="col-md-4 control-label">State</label> <div class="col-md-6"> <select class="form-control js-states" name="state_id"> <option value="-1">Please select your state</option> {{-- @foreach ($states as $state) <option value="{{$state->id}}">{{$state->name}}</option> @endforeach --}} </select> </div> </div> <div class="form-group"> <label class="col-md-4 control-label">City</label> <div class="col-md-6"> <select class="form-control js-cities" name="city_id"> <option value="-1">Please select your city</option> {{-- @foreach ($cities as $city) <option value="{{$city->id}}">{{$city->name}}</option> @endforeach --}} </select> </div> </div> <div class="form-group{{ $errors->has('zip') ? ' has-error' : '' }}"> <label for="zip" class="col-md-4 control-label">Zip</label> <div class="col-md-6"> <input id="zip" type="text" class="form-control" name="zip" value="{{ old('zip') }}" required> @if ($errors->has('zip')) <span class="help-block"> <strong>{{ $errors->first('zip') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('age') ? ' has-error' : '' }}"> <label for="zip" class="col-md-4 control-label">Age</label> <div class="col-md-6"> <input id="age" type="text" class="form-control" name="age" value="{{ old('age') }}" required> @if ($errors->has('age')) <span class="help-block"> <strong>{{ $errors->first('age') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Birthday</label> <div class="col-md-6"> <div class="input-group date"> <div class="input-group-addon"> <i class="fa fa-calendar"></i> </div> <input type="text" value="{{ old('birthdate') }}" name="birthdate" class="form-control pull-right" id="birthDate" required> </div> </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Hired Date</label> <div class="col-md-6"> <div class="input-group date"> <div class="input-group-addon"> <i class="fa fa-calendar"></i> </div> <input type="text" value="{{ old('date_hired') }}" name="date_hired" class="form-control pull-right" id="hiredDate" required> </div> </div> </div> <div class="form-group{{ $errors->has('department_id') ? ' has-error' : '' }}"> <label class="col-md-4 control-label">Department</label> <div class="col-md-6"> <select class="form-control" name="department_id"> @foreach ($departments as $department) <option value="{{$department->id}}">{{$department->name}}</option> @endforeach </select> @if ($errors->has('department_id')) <span class="help-block"> <strong>{{ $errors->first('department_id') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('division_id') ? ' has-error' : '' }}"> <label class="col-md-4 control-label">Division</label> <div class="col-md-6"> <select class="form-control" name="division_id"> @foreach ($divisions as $division) <option value="{{$division->id}}">{{$division->name}}</option> @endforeach </select> @if ($errors->has('division_id')) <span class="help-block"> <strong>{{ $errors->first('division_id') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label for="avatar" class="col-md-4 control-label" >Picture</label> <div class="col-md-6"> <input type="file" id="picture" name="picture" required > </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Create </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/state/edit.blade.php
resources/views/system-mgmt/state/edit.blade.php
@extends('system-mgmt.state.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Update state</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('state.update', ['id' => $state->id]) }}"> <input type="hidden" name="_method" value="PATCH"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">State Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ $state->name }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Country</label> <div class="col-md-6"> <select class="form-control" name="country_id"> @foreach ($countries as $country) <option value="{{$country->id}}" {{$country->id == $state->country_id ? 'selected' : ''}}>{{$country->name}}</option> @endforeach </select> </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Update </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/state/index.blade.php
resources/views/system-mgmt/state/index.blade.php
@extends('system-mgmt.state.base') @section('action-content') <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"> <div class="row"> <div class="col-sm-8"> <h3 class="box-title">List of states</h3> </div> <div class="col-sm-4"> <a class="btn btn-primary" href="{{ route('state.create') }}">Add new state</a> </div> </div> </div> <!-- /.box-header --> <div class="box-body"> <div class="row"> <div class="col-sm-6"></div> <div class="col-sm-6"></div> </div> <form method="POST" action="{{ route('state.search') }}"> {{ csrf_field() }} @component('layouts.search', ['title' => 'Search']) @component('layouts.two-cols-search-row', ['items' => ['Name'], 'oldVals' => [isset($searchingVals) ? $searchingVals['name'] : '']]) @endcomponent @endcomponent </form> <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"> <div class="row"> <div class="col-sm-12"> <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info"> <thead> <tr role="row"> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="state: activate to sort column ascending">State Name</th> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="country: activate to sort column ascending">Country Name</th> <th tabindex="0" aria-controls="example2" rowspan="1" colspan="2" aria-label="Action: activate to sort column ascending">Action</th> </tr> </thead> <tbody> @foreach ($states as $state) <tr role="row" class="odd"> <td>{{ $state->name }}</td> <td>{{ $state->country_name }}</td> <td> <form class="row" method="POST" action="{{ route('state.destroy', ['id' => $state->id]) }}" onsubmit = "return confirm('Are you sure?')"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <a href="{{ route('state.edit', ['id' => $state->id]) }}" class="btn btn-warning col-sm-3 col-xs-5 btn-margin"> Update </a> <button type="submit" class="btn btn-danger col-sm-3 col-xs-5 btn-margin"> Delete </button> </form> </td> </tr> @endforeach </tbody> <tfoot> <tr> <th width="20%" rowspan="1" colspan="1">State Name</th> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="country: activate to sort column ascending">Country Name</th> <th rowspan="1" colspan="2">Action</th> </tr> </tfoot> </table> </div> </div> <div class="row"> <div class="col-sm-5"> <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">Showing 1 to {{count($states)}} of {{count($states)}} entries</div> </div> <div class="col-sm-7"> <div class="dataTables_paginate paging_simple_numbers" id="example2_paginate"> {{ $states->links() }} </div> </div> </div> </div> </div> <!-- /.box-body --> </div> </section> <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/state/base.blade.php
resources/views/system-mgmt/state/base.blade.php
@extends('layouts.app-template') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> State Mangement </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> System Mangement</a></li> <li class="active">State</li> </ol> </section> @yield('action-content') <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/state/create.blade.php
resources/views/system-mgmt/state/create.blade.php
@extends('system-mgmt.state.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Add new state</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('state.store') }}"> {{ csrf_field() }} <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">State Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label class="col-md-4 control-label">Country</label> <div class="col-md-6"> <select class="form-control" name="country_id"> @foreach ($countries as $country) <option value="{{$country->id}}">{{$country->name}}</option> @endforeach </select> </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Create </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/department/edit.blade.php
resources/views/system-mgmt/department/edit.blade.php
@extends('system-mgmt.department.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Update department</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('department.update', ['id' => $department->id]) }}"> <input type="hidden" name="_method" value="PATCH"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">department Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ $department->name }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Update </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/department/index.blade.php
resources/views/system-mgmt/department/index.blade.php
@extends('system-mgmt.department.base') @section('action-content') <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"> <div class="row"> <div class="col-sm-8"> <h3 class="box-title">List of departments</h3> </div> <div class="col-sm-4"> <a class="btn btn-primary" href="{{ route('department.create') }}">Add new department</a> </div> </div> </div> <!-- /.box-header --> <div class="box-body"> <div class="row"> <div class="col-sm-6"></div> <div class="col-sm-6"></div> </div> <form method="POST" action="{{ route('department.search') }}"> {{ csrf_field() }} @component('layouts.search', ['title' => 'Search']) @component('layouts.two-cols-search-row', ['items' => ['Name'], 'oldVals' => [isset($searchingVals) ? $searchingVals['name'] : '']]) @endcomponent @endcomponent </form> <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"> <div class="row"> <div class="col-sm-12"> <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info"> <thead> <tr role="row"> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Department: activate to sort column ascending">Department Name</th> <th tabindex="0" aria-controls="example2" rowspan="1" colspan="2" aria-label="Action: activate to sort column ascending">Action</th> </tr> </thead> <tbody> @foreach ($departments as $department) <tr role="row" class="odd"> <td>{{ $department->name }}</td> <td> <form class="row" method="POST" action="{{ route('department.destroy', ['id' => $department->id]) }}" onsubmit = "return confirm('Are you sure?')"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <a href="{{ route('department.edit', ['id' => $department->id]) }}" class="btn btn-warning col-sm-3 col-xs-5 btn-margin"> Update </a> <button type="submit" class="btn btn-danger col-sm-3 col-xs-5 btn-margin"> Delete </button> </form> </td> </tr> @endforeach </tbody> <tfoot> <tr> <th width="20%" rowspan="1" colspan="1">Department Name</th> <th rowspan="1" colspan="2">Action</th> </tr> </tfoot> </table> </div> </div> <div class="row"> <div class="col-sm-5"> <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">Showing 1 to {{count($departments)}} of {{count($departments)}} entries</div> </div> <div class="col-sm-7"> <div class="dataTables_paginate paging_simple_numbers" id="example2_paginate"> {{ $departments->links() }} </div> </div> </div> </div> </div> <!-- /.box-body --> </div> </section> <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/department/base.blade.php
resources/views/system-mgmt/department/base.blade.php
@extends('layouts.app-template') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Department Mangement </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> System Mangement</a></li> <li class="active">Department</li> </ol> </section> @yield('action-content') <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/department/create.blade.php
resources/views/system-mgmt/department/create.blade.php
@extends('system-mgmt.department.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Add new department</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('department.store') }}"> {{ csrf_field() }} <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">Department Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Create </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/country/edit.blade.php
resources/views/system-mgmt/country/edit.blade.php
@extends('system-mgmt.country.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Update country</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('country.update', ['id' => $country->id]) }}"> <input type="hidden" name="_method" value="PATCH"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">Country Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ $country->name }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('country_code') ? ' has-error' : '' }}"> <label for="country_code" class="col-md-4 control-label">Country Code</label> <div class="col-md-6"> <input id="country_code" type="text" class="form-control" name="country_code" value="{{ $country->country_code }}" required> @if ($errors->has('country_code')) <span class="help-block"> <strong>{{ $errors->first('country_code') }}</strong> </span> @endif </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Update </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/country/index.blade.php
resources/views/system-mgmt/country/index.blade.php
@extends('system-mgmt.country.base') @section('action-content') <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"> <div class="row"> <div class="col-sm-8"> <h3 class="box-title">List of countries</h3> </div> <div class="col-sm-4"> <a class="btn btn-primary" href="{{ route('country.create') }}">Add new country</a> </div> </div> </div> <!-- /.box-header --> <div class="box-body"> <div class="row"> <div class="col-sm-6"></div> <div class="col-sm-6"></div> </div> <form method="POST" action="{{ route('country.search') }}"> {{ csrf_field() }} @component('layouts.search', ['title' => 'Search']) @component('layouts.two-cols-search-row', ['items' => ['Country_Code', 'Name'], 'oldVals' => [isset($searchingVals) ? $searchingVals['country_code'] : '', isset($searchingVals) ? $searchingVals['name'] : '']]) @endcomponent @endcomponent </form> <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"> <div class="row"> <div class="col-sm-12"> <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info"> <thead> <tr role="row"> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="country: activate to sort column ascending">Country Code</th> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="country: activate to sort column ascending">Country Name</th> <th tabindex="0" aria-controls="example2" rowspan="1" colspan="2" aria-label="Action: activate to sort column ascending">Action</th> </tr> </thead> <tbody> @foreach ($countries as $country) <tr role="row" class="odd"> <td>{{ $country->country_code }}</td> <td>{{ $country->name }}</td> <td> <form class="row" method="POST" action="{{ route('country.destroy', ['id' => $country->id]) }}" onsubmit = "return confirm('Are you sure?')"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <a href="{{ route('country.edit', ['id' => $country->id]) }}" class="btn btn-warning col-sm-3 col-xs-5 btn-margin"> Update </a> <button type="submit" class="btn btn-danger col-sm-3 col-xs-5 btn-margin"> Delete </button> </form> </td> </tr> @endforeach </tbody> <tfoot> <tr> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="country: activate to sort column ascending">Country Code</th> <th width="20%" rowspan="1" colspan="1">Country Name</th> <th rowspan="1" colspan="2">Action</th> </tr> </tfoot> </table> </div> </div> <div class="row"> <div class="col-sm-5"> <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">Showing 1 to {{count($countries)}} of {{count($countries)}} entries</div> </div> <div class="col-sm-7"> <div class="dataTables_paginate paging_simple_numbers" id="example2_paginate"> {{ $countries->links() }} </div> </div> </div> </div> </div> <!-- /.box-body --> </div> </section> <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/country/base.blade.php
resources/views/system-mgmt/country/base.blade.php
@extends('layouts.app-template') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Country Mangement </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> System Mangement</a></li> <li class="active">Country</li> </ol> </section> @yield('action-content') <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/country/create.blade.php
resources/views/system-mgmt/country/create.blade.php
@extends('system-mgmt.country.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Add new country</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('country.store') }}"> {{ csrf_field() }} <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">Country Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group{{ $errors->has('country_code') ? ' has-error' : '' }}"> <label for="country_code" class="col-md-4 control-label">Country Code</label> <div class="col-md-6"> <input id="country_code" type="text" class="form-control" name="country_code" value="{{ old('country_code') }}" required> @if ($errors->has('country_code')) <span class="help-block"> <strong>{{ $errors->first('country_code') }}</strong> </span> @endif </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Create </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/report/pdf.blade.php
resources/views/system-mgmt/report/pdf.blade.php
<!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <style> table { border-collapse: collapse; width: 100%; } td, th { border: solid 2px; padding: 10px 5px; } tr { text-align: center; } .container { width: 100%; text-align: center; } </style> </head> <body> <div class="container"> <div><h2>List of hired employees from {{$searchingVals['from']}} to {{$searchingVals['to']}}</h2></div> <table id="example2" role="grid"> <thead> <tr role="row"> <th width="20%">Name</th> <th width="20%">Address</th> <th width="10%">Age</th> <th width="15%">Birthdate</th> <th width="15%">Hired Date</th> <th width="10%">Department</th> <th width="10%">Division</th> </tr> </thead> <tbody> @foreach ($employees as $employee) <tr role="row" class="odd"> <td>{{ $employee['firstname'] }} {{$employee['middlename']}} {{$employee['lastname']}}</td> <td>{{ $employee['address'] }}</td> <td>{{ $employee['age'] }}</td> <td>{{ $employee['birthdate'] }}</td> <td>{{ $employee['date_hired'] }}</td> <td>{{ $employee['department_name'] }}</td> <td>{{ $employee['division_name'] }}</td> </tr> @endforeach </tbody> </table> </div> </body> </html>
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/report/index.blade.php
resources/views/system-mgmt/report/index.blade.php
@extends('system-mgmt.report.base') @section('action-content') <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"> <div class="row"> <div class="col-sm-4"> <h3 class="box-title">List of hired employees</h3> </div> <div class="col-sm-4"> <form class="form-horizontal" role="form" method="POST" action="{{ route('report.excel') }}"> {{ csrf_field() }} <input type="hidden" value="{{$searchingVals['from']}}" name="from" /> <input type="hidden" value="{{$searchingVals['to']}}" name="to" /> <button type="submit" class="btn btn-primary"> Export to Excel </button> </form> </div> <div class="col-sm-4"> <form class="form-horizontal" role="form" method="POST" action="{{ route('report.pdf') }}"> {{ csrf_field() }} <input type="hidden" value="{{$searchingVals['from']}}" name="from" /> <input type="hidden" value="{{$searchingVals['to']}}" name="to" /> <button type="submit" class="btn btn-info"> Export to PDF </button> </form> </div> </div> </div> <!-- /.box-header --> <div class="box-body"> <div class="row"> <div class="col-sm-6"></div> <div class="col-sm-6"></div> </div> <form method="POST" action="{{ route('report.search') }}"> {{ csrf_field() }} @component('layouts.search', ['title' => 'Search']) @component('layouts.two-cols-date-search-row', ['items' => ['From', 'To'], 'oldVals' => [isset($searchingVals) ? $searchingVals['from'] : '', isset($searchingVals) ? $searchingVals['to'] : '']]) @endcomponent @endcomponent </form> <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"> <div class="row"> <div class="col-sm-12"> <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info"> <thead> <tr role="row"> <th width = "20%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Name: activate to sort column ascending">Employee Name</th> <th width = "20%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Birthday: activate to sort column ascending">Birthday</th> <th width = "40%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Address: activate to sort column ascending">Address</th> <th width = "20%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Birthday: activate to sort column ascending">Hired Day</th> </tr> </thead> <tbody> @foreach ($employees as $employee) <tr role="row" class="odd"> <td>{{ $employee->firstname }} {{ $employee->middlename }} {{ $employee->lastname }}</td> <td>{{ $employee->birthdate }}</td> <td>{{ $employee->address }}</td> <td>{{ $employee->date_hired }}</td> </tr> @endforeach </tbody> <tfoot> <tr role="row"> <th width = "20%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Name: activate to sort column ascending">Employee Name</th> <th width = "20%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Birthday: activate to sort column ascending">Birthday</th> <th width = "40%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Address: activate to sort column ascending">Address</th> <th width = "20%" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Birthday: activate to sort column ascending">Hired Day</th> </tr> </tfoot> </table> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">Showing 1 to {{count($employees)}} of {{count($employees)}} entries</div> </div> </div> </div> </div> <!-- /.box-body --> </div> </section> <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/report/base.blade.php
resources/views/system-mgmt/report/base.blade.php
@extends('layouts.app-template') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Report </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> System Mangement</a></li> <li class="active">Report</li> </ol> </section> @yield('action-content') <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/division/edit.blade.php
resources/views/system-mgmt/division/edit.blade.php
@extends('system-mgmt.division.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Update division</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('division.update', ['id' => $division->id]) }}"> <input type="hidden" name="_method" value="PATCH"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">Division Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ $division->name }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Update </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/division/index.blade.php
resources/views/system-mgmt/division/index.blade.php
@extends('system-mgmt.division.base') @section('action-content') <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"> <div class="row"> <div class="col-sm-8"> <h3 class="box-title">List of divisions</h3> </div> <div class="col-sm-4"> <a class="btn btn-primary" href="{{ route('division.create') }}">Add new division</a> </div> </div> </div> <!-- /.box-header --> <div class="box-body"> <div class="row"> <div class="col-sm-6"></div> <div class="col-sm-6"></div> </div> <form method="POST" action="{{ route('division.search') }}"> {{ csrf_field() }} @component('layouts.search', ['title' => 'Search']) @component('layouts.two-cols-search-row', ['items' => ['Name'], 'oldVals' => [isset($searchingVals) ? $searchingVals['name'] : '']]) @endcomponent @endcomponent </form> <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"> <div class="row"> <div class="col-sm-12"> <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info"> <thead> <tr role="row"> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="division: activate to sort column ascending">Division Name</th> <th tabindex="0" aria-controls="example2" rowspan="1" colspan="2" aria-label="Action: activate to sort column ascending">Action</th> </tr> </thead> <tbody> @foreach ($divisions as $division) <tr role="row" class="odd"> <td>{{ $division->name }}</td> <td> <form class="row" method="POST" action="{{ route('division.destroy', ['id' => $division->id]) }}" onsubmit = "return confirm('Are you sure?')"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <a href="{{ route('division.edit', ['id' => $division->id]) }}" class="btn btn-warning col-sm-3 col-xs-5 btn-margin"> Update </a> <button type="submit" class="btn btn-danger col-sm-3 col-xs-5 btn-margin"> Delete </button> </form> </td> </tr> @endforeach </tbody> <tfoot> <tr> <th width="20%" rowspan="1" colspan="1">Division Name</th> <th rowspan="1" colspan="2">Action</th> </tr> </tfoot> </table> </div> </div> <div class="row"> <div class="col-sm-5"> <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">Showing 1 to {{count($divisions)}} of {{count($divisions)}} entries</div> </div> <div class="col-sm-7"> <div class="dataTables_paginate paging_simple_numbers" id="example2_paginate"> {{ $divisions->links() }} </div> </div> </div> </div> </div> <!-- /.box-body --> </div> </section> <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/division/base.blade.php
resources/views/system-mgmt/division/base.blade.php
@extends('layouts.app-template') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Division Mangement </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> System Mangement</a></li> <li class="active">Division</li> </ol> </section> @yield('action-content') <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/division/create.blade.php
resources/views/system-mgmt/division/create.blade.php
@extends('system-mgmt.division.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Add new division</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('division.store') }}"> {{ csrf_field() }} <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">Division Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Create </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/city/edit.blade.php
resources/views/system-mgmt/city/edit.blade.php
@extends('system-mgmt.city.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Update city</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('city.update', ['id' => $city->id]) }}"> <input type="hidden" name="_method" value="PATCH"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">City Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ $city->name }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label class="col-md-4 control-label">State</label> <div class="col-md-6"> <select class="form-control" name="state_id"> @foreach ($states as $state) <option value="{{$state->id}}" {{$state->id == $city->state_id ? 'selected' : ''}}>{{$state->name}}</option> @endforeach </select> </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Update </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/city/index.blade.php
resources/views/system-mgmt/city/index.blade.php
@extends('system-mgmt.city.base') @section('action-content') <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"> <div class="row"> <div class="col-sm-8"> <h3 class="box-title">List of cities</h3> </div> <div class="col-sm-4"> <a class="btn btn-primary" href="{{ route('city.create') }}">Add new city</a> </div> </div> </div> <!-- /.box-header --> <div class="box-body"> <div class="row"> <div class="col-sm-6"></div> <div class="col-sm-6"></div> </div> <form method="POST" action="{{ route('city.search') }}"> {{ csrf_field() }} @component('layouts.search', ['title' => 'Search']) @component('layouts.two-cols-search-row', ['items' => ['Name'], 'oldVals' => [isset($searchingVals) ? $searchingVals['name'] : '']]) @endcomponent @endcomponent </form> <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"> <div class="row"> <div class="col-sm-12"> <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info"> <thead> <tr role="row"> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="city: activate to sort column ascending">City Name</th> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="state: activate to sort column ascending">State Name</th> <th tabindex="0" aria-controls="example2" rowspan="1" colspan="2" aria-label="Action: activate to sort column ascending">Action</th> </tr> </thead> <tbody> {{$cities}} @foreach ($cities as $city) <tr role="row" class="odd"> <td>{{ $city->name }}</td> <td>{{ $city->state_name }}</td> <td> <form class="row" method="POST" action="{{ route('city.destroy', ['id' => $city->id]) }}" onsubmit = "return confirm('Are you sure?')"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <a href="{{ route('city.edit', ['id' => $city->id]) }}" class="btn btn-warning col-sm-3 col-xs-5 btn-margin"> Update </a> <button type="submit" class="btn btn-danger col-sm-3 col-xs-5 btn-margin"> Delete </button> </form> </td> </tr> @endforeach </tbody> <tfoot> <tr> <th width="20%" rowspan="1" colspan="1">City Name</th> <th width="20%" class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="state: activate to sort column ascending">State Name</th> <th rowspan="1" colspan="2">Action</th> </tr> </tfoot> </table> </div> </div> <div class="row"> <div class="col-sm-5"> <div class="dataTables_info" id="example2_info" role="status" aria-live="polite">Showing 1 to {{count($cities)}} of {{count($cities)}} entries</div> </div> <div class="col-sm-7"> <div class="dataTables_paginate paging_simple_numbers" id="example2_paginate"> {{ $cities->links() }} </div> </div> </div> </div> </div> <!-- /.box-body --> </div> </section> <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/city/base.blade.php
resources/views/system-mgmt/city/base.blade.php
@extends('layouts.app-template') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> State Mangement </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> System Mangement</a></li> <li class="active">State</li> </ol> </section> @yield('action-content') <!-- /.content --> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
hoadv/employee-mgmt-laravel5.4-adminlte
https://github.com/hoadv/employee-mgmt-laravel5.4-adminlte/blob/5e15dfc4c71bbeec165be4e4337c1acc6b84f387/resources/views/system-mgmt/city/create.blade.php
resources/views/system-mgmt/city/create.blade.php
@extends('system-mgmt.city.base') @section('action-content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Add new city</div> <div class="panel-body"> <form class="form-horizontal" role="form" method="POST" action="{{ route('city.store') }}"> {{ csrf_field() }} <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}"> <label for="name" class="col-md-4 control-label">City Name</label> <div class="col-md-6"> <input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus> @if ($errors->has('name')) <span class="help-block"> <strong>{{ $errors->first('name') }}</strong> </span> @endif </div> </div> <div class="form-group"> <label class="col-md-4 control-label">State</label> <div class="col-md-6"> <select class="form-control" name="state_id"> @foreach ($states as $state) <option value="{{$state->id}}">{{$state->name}}</option> @endforeach </select> </div> </div> <div class="form-group"> <div class="col-md-6 col-md-offset-4"> <button type="submit" class="btn btn-primary"> Create </button> </div> </div> </form> </div> </div> </div> </div> </div> @endsection
php
MIT
5e15dfc4c71bbeec165be4e4337c1acc6b84f387
2026-01-05T04:43:07.369163Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/JwtToken.php
src/JwtToken.php
<?php namespace GenTux\Jwt; use JsonSerializable; use Illuminate\Support\Arr; use GenTux\Jwt\Drivers\JwtDriverInterface; use GenTux\Jwt\Exceptions\NoTokenException; use GenTux\Jwt\Exceptions\NoSecretException; use GenTux\Jwt\Exceptions\InvalidTokenException; class JwtToken implements JsonSerializable { /** @var JwtDriverInterface */ private $jwt; /** @var string|null */ private $secret; /** @var string|null */ private $algorithm; /** @var string|null current token */ private $token; /** * @param JwtDriverInterface $jwt * @param string|null $secret * @param string|null $algorithm */ public function __construct(JwtDriverInterface $jwt, $secret = null, $algorithm = null) { $this->jwt = $jwt; $this->secret = $secret; $this->algorithm = $algorithm; } /** * Get the current JWT token * * @return string * * @throws NoTokenException */ public function token() { if (!$this->token) { throw new NoTokenException('No token has been set.'); } return $this->token; } /** * Set the current JWT token * * @param string $token * * @return self */ public function setToken($token) { $this->token = $token; return $this; } /** * Get the secret to use for token operations * * @return string * * @throws NoSecretException */ public function secret() { $secret = $this->secret ?: getenv('JWT_SECRET'); if (!$secret) { throw new NoSecretException('Unable to find secret. Set using env variable JWT_SECRET'); } return $secret; } /** * Set the secret to use for token operations * * @param string $secret * * @return self */ public function setSecret($secret) { $this->secret = $secret; return $this; } /** * Get the algorithm to use * * This can be customized by setting the env variable JWT_ALGO * * @return string */ public function algorithm() { $algorithm = $this->algorithm ?: getenv('JWT_ALGO'); return $algorithm ?: 'HS256'; } /** * Set the algorithm to use * * @param string $algo * * @return self */ public function setAlgorithm($algo) { $this->algorithm = $algo; return $this; } /** * Validate a token * * @param string|null $secret * @param string|null $algo * * @return bool */ public function validate($secret = null, $algo = null) { $token = $this->token(); $secret = $secret ?: $this->secret(); $algo = $algo ?: $this->algorithm(); return $this->jwt->validateToken($token, $secret, $algo); } /** * Validate the token or throw an exception * * @param string|null $secret * @param string|null $algo * * @return bool * * @throws InvalidTokenException */ public function validateOrFail($secret = null, $algo = null) { if (!$this->validate($secret, $algo)) { throw new InvalidTokenException('Token is not valid.'); } return true; } /** * Get the payload from the current token * * @param string|null $path dot syntax to query for specific data * @param string|null $secret * @param string|null $algo * * @return array */ public function payload($path = null, $secret = null, $algo = null) { $token = $this->token(); $secret = $secret ?: $this->secret(); $algo = $algo ?: $this->algorithm(); $payload = $this->jwt->decodeToken($token, $secret, $algo); return $this->queryPayload($payload, $path); } /** * Query the payload using dot syntax to find specific data * * @param array $payload * @param string|null $path * * @return mixed */ private function queryPayload($payload, $path = null) { if (is_null($path)) return $payload; if (array_key_exists($path, $payload)) { return $payload[$path]; } $dotData = Arr::dot($payload); if (array_key_exists($path, $dotData)) { return $dotData[$path]; } return null; } /** * Create a new token with the provided payload * * The default algorithm used is HS256. To set a custom one, set * the env variable JWT_ALGO. * * @todo Support for enforcing required claims in payload as well as defaults * * @param JwtPayloadInterface|array $payload * @param string|null $secret * @param string|null $algo * * @return JwtToken */ public function createToken($payload, $secret = null, $algo = null) { $algo = $algo ?: $this->algorithm(); $secret = $secret ?: $this->secret(); if ($payload instanceof JwtPayloadInterface) { $payload = $payload->getPayload(); } $newToken = $this->jwt->createToken($payload, $secret, $algo); $token = clone $this; $token->setToken($newToken); return $token; } /** * Specify data which should be serialized to JSON * @link http://php.net/manual/en/jsonserializable.jsonserialize.php * * @return mixed data which can be serialized by <b>json_encode</b>, * which is a value of any type other than a resource. * @since 5.4.0 */ #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->token(); } /** * Convert into string * * @return string * * @throws NoTokenException */ public function __toString() { return $this->token(); } }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/GetsJwtToken.php
src/GetsJwtToken.php
<?php namespace GenTux\Jwt; use Illuminate\Http\Request; use GenTux\Jwt\Drivers\JwtDriverInterface; use GenTux\Jwt\Exceptions\NoTokenException; /** * This trait can be used to retrieve JWT tokens * from the current request. */ trait GetsJwtToken { /** * Get the JWT token from the request * * We'll check the Authorization header first, and if that's not set * then check the input to see if its provided there instead. * * @param Request|null $request * * @return string|null */ public function getToken($request = null) { $request = $request ?: $this->makeRequest(); list($token) = sscanf($request->header($this->getAuthHeaderKey()) ?? "", 'Bearer %s'); if (!$token) { $name = $this->getInputName(); $token = $request->input($name); } return $token; } /** * Create a new JWT token object from the token in the request * * @param Request|null $request * * @return JwtToken * * @throws NoTokenException */ public function jwtToken($request = null) { $token = $this->getToken($request); if (!$token) throw new NoTokenException('JWT token is required.'); $driver = $this->makeDriver(); $jwt = new JwtToken($driver); $jwt->setToken($token); return $jwt; } /** * Get payload from JWT token * * @param string|null $path to query payload * @param Request|null $request * * @return array */ public function jwtPayload($path = null, $request = null) { $jwt = $this->jwtToken($request); return $jwt->payload($path); } /** * Get the input name to search for the token in the request * * This can be customized by setting the JWT_INPUT env variable. * It will default to using `token` if not defined. * * @return string */ private function getInputName() { return getenv('JWT_INPUT') ?: 'token'; } /** * Get the header key to search for the token * * This can be customized by setting the JWT_HEADER env variable. * It will default to using `Authorization` if not defined. * * @return string */ private function getAuthHeaderKey() { return getenv('JWT_HEADER') ?: 'Authorization'; } /** * Create a driver to use for the token from the IoC * * @return JwtDriverInterface */ private function makeDriver() { return app()->make(JwtDriverInterface::class); } /** * Resolve the current request from the IoC * * @return \Illuminate\Http\Request */ private function makeRequest() { if ($this instanceof Request) return $this; return app()->make(Request::class); } }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/JwtPayloadInterface.php
src/JwtPayloadInterface.php
<?php namespace GenTux\Jwt; interface JwtPayloadInterface { /** * Get the payload for JWT token * * @return array */ public function getPayload(); }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/Exceptions/JwtExceptionHandler.php
src/Exceptions/JwtExceptionHandler.php
<?php namespace GenTux\Jwt\Exceptions; trait JwtExceptionHandler { /** * Render JWT exception * * @param JwtException $e * * @return \Illuminate\Http\Response */ public function handleJwtException(JwtException $e) { if($e instanceof InvalidTokenException) { return $this->handleJwtInvalidToken($e); } elseif ($e instanceof NoTokenException) { return $this->handleJwtNoToken($e); } elseif ($e instanceof NoSecretException) { return $this->handleJwtNoSecret($e); } else { $message = getenv('JWT_MESSAGE_ERROR') ?: 'There was an error while validating the authorization token.'; return response()->json([ 'error' => $message ], 500); } } /** * @param InvalidTokenException $e * * @return \Illuminate\Http\Response */ protected function handleJwtInvalidToken(InvalidTokenException $e) { $message = getenv('JWT_MESSAGE_INVALID') ?: 'Authorization token is not valid.'; return response()->json(['error' => $message], 401); } /** * @param NoTokenException $e * * @return \Illuminate\Http\Response */ protected function handleJwtNoToken(NoTokenException $e) { $message = getenv('JWT_MESSAGE_NOTOKEN') ?: 'Authorization token is required.'; return response()->json(['error' => $message], 401); } /** * @param NoSecretException $e * * @return \Illuminate\Http\Response */ protected function handleJwtNoSecret(NoSecretException $e) { $message = getenv('JWT_MESSAGE_NOSECRET') ?: 'No JWT secret defined.'; return response()->json(['error' => $message], 500); } }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/Exceptions/NoSecretException.php
src/Exceptions/NoSecretException.php
<?php namespace GenTux\Jwt\Exceptions; class NoSecretException extends JwtException { }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/Exceptions/JwtException.php
src/Exceptions/JwtException.php
<?php namespace GenTux\Jwt\Exceptions; class JwtException extends \Exception { }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/Exceptions/NoTokenException.php
src/Exceptions/NoTokenException.php
<?php namespace GenTux\Jwt\Exceptions; class NoTokenException extends JwtException { }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/Exceptions/InvalidTokenException.php
src/Exceptions/InvalidTokenException.php
<?php namespace GenTux\Jwt\Exceptions; class InvalidTokenException extends JwtException { }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/Http/JwtMiddleware.php
src/Http/JwtMiddleware.php
<?php namespace GenTux\Jwt\Http; use Closure; use GenTux\Jwt\JwtToken; use GenTux\Jwt\GetsJwtToken; use GenTux\Jwt\Exceptions\NoTokenException; class JwtMiddleware { use GetsJwtToken; /** @var JwtToken */ private $jwt; /** * @param JwtToken $jwt */ public function __construct(JwtToken $jwt) { $this->jwt = $jwt; } /** * Validate JWT token before passing on to the next middleware * * @param \Illuminate\Http\Request $request * @param Closure $next */ public function handle($request, Closure $next) { $token = $this->getTokenFromRequest($request); $this->jwt->setToken($token)->validateOrFail(); return $next($request); } /** * Get the token from the request * * @param \Illuminate\Http\Request $request * * @return string * * @throws NoTokenException */ private function getTokenFromRequest($request) { $token = $this->getToken($request); if( ! $token) { throw new NoTokenException('JWT token is required.'); } return $token; } }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/Drivers/FirebaseDriver.php
src/Drivers/FirebaseDriver.php
<?php namespace GenTux\Jwt\Drivers; use Firebase\JWT\JWT; class FirebaseDriver implements JwtDriverInterface { /** * @param int $leeway for checking timestamps */ public function __construct($leeway = null) { $leeway = $leeway ?: getenv('JWT_LEEWAY'); JWT::$leeway = $leeway ?: 0; } /** * Validate that the provided token * * @param string $token * @param string $secret * @param string $algorithm * * @return bool */ public function validateToken($token, $secret, $algorithm = 'HS256') { try { JWT::decode($token, $secret, [$algorithm]); } catch(\Exception $e) { return false; } return true; } /** * Create a new token with the provided payload * * @param array $payload * @param string $secret * @param string $algorithm * * @return string */ public function createToken($payload, $secret, $algorithm = 'HS256') { return JWT::encode($payload, $secret, $algorithm); } /** * Decode the provided token into an array * * @param string $token * @param string $secret * @param string $algorithm * * @return array */ public function decodeToken($token, $secret, $algorithm = 'HS256') { $decoded = JWT::decode($token, $secret, [$algorithm]); return $this->convertObjectToArray($decoded); } /** * Recursively convert the provided object to an array * * @param mixed $data * * @return array */ private function convertObjectToArray($data) { $converted = []; foreach($data as $key => $value) { if(is_object($value)) { $converted[$key] = $this->convertObjectToArray($value); } else { $converted[$key] = $value; } } return $converted; } }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/Drivers/JwtDriverInterface.php
src/Drivers/JwtDriverInterface.php
<?php namespace GenTux\Jwt\Drivers; interface JwtDriverInterface { /** * Validate that the provided token * * @param string $token * @param string $secret * @param string $algorithm * * @return bool */ public function validateToken($token, $secret, $algorithm = 'HS256'); /** * Create a new token with the provided payload * * @param array $payload * @param string $secret * @param string $algorithm * * @return string */ public function createToken($payload, $secret, $algorithm = 'HS256'); /** * Decode the provided token into an array * * @param string $token * @param string $secret * @param string $algorithm * * @return array */ public function decodeToken($token, $secret, $algorithm = 'HS256'); }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false
generationtux/jwt-artisan
https://github.com/generationtux/jwt-artisan/blob/7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4/src/Support/LumenServiceProvider.php
src/Support/LumenServiceProvider.php
<?php namespace GenTux\Jwt\Support; use GenTux\Jwt\Http\JwtMiddleware; class LumenServiceProvider extends ServiceProvider { /** * Register middlewares for JWT that can be used in routes file */ protected function registerMiddleware() { $this->app->routeMiddleware(['jwt' => JwtMiddleware::class]); } }
php
MIT
7f7a4863fb38d5b822b8a5dca6d836e3d3076ed4
2026-01-05T04:43:14.261135Z
false