anamcoollzz/stisla

:description

Installs: 189

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

dev-master 2020-01-18 08:26 UTC

This package is auto-updated.

Last update: 2024-09-18 18:31:19 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require anamcoollzz/stisla

Usage

Change log

Please see the changelog for more information on what has changed recently.

Step by step

  • Install fresh laravel
  • Setup your database configuration first in .env
  • Remove User.php in app folder
  • Remove all default migrations in database/migrations folder
  • Remove all default seeder in database/seeds folder
  • Remove views folder in resources
  • Publish all stisla component with below
$ php artisan vendor:publish --tag=stisla.all 
  • run dump with
$ composer dump-autoload 
  • run
$ php artisan migrate --seed 

Add to your web.php in routes folder

Route::get('/masuk', 'Stisla\AutentikasiController@formMasuk')->name('masuk');
Route::post('/masuk', 'Stisla\AutentikasiController@masuk');

Route::middleware(\App\Http\Middleware\Masuk::class)->group(function(){

	Route::get('/', 'Stisla\AutentikasiController@dashboard')->name('dashboard');
	Route::get('/profil', 'Stisla\AutentikasiController@profil')->name('profil');
	Route::put('/profil', 'Stisla\AutentikasiController@perbaruiProfil')->name('profil.update');
	Route::get('/keluar', 'Stisla\AutentikasiController@keluar')->name('keluar');

});

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email hairulanam21@gmail.com instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.