Easy data management.
config/database.php
View data quickly and easily.
Database Table <-> "Model"
app/User.php
$query = "SELECT * FROM users where id = '1'"; $result = mysql_query($query);
$user = User::find(1);
Inserting data into our database.
Model Factory: Easy way to generate fake data
@extend('layouts.main')
@yield('content')
@section('content') the content goes here @endsection
@include('partials.header')
// normal php data <?php echo $username ?>
// with blade tags {{ $username }}
@stack('scripts')
@push('scripts') <script src="js/dashboard.js"></script> @endpush
By Chris Sevilleja
Making scotch.io. Google Dev Expert. Champion pizza maker.