Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- APP_ENV=local
- APP_KEY=base64:MLnHL22oIs9X597weZpiHfx25EZ8/PZhAxPZY3+aNms=
- APP_DEBUG=true
- APP_LOG_LEVEL=debug
- APP_URL=137.135.53.188
- DB_CONNECTION=mysql
- DB_HOST=137.135.53.188
- DB_PORT=1433
- DB_DATABASE=OLTP
- DB_USERNAME=username
- DB_PASSWORD=password
- CACHE_DRIVER=file
- SESSION_DRIVER=file
- QUEUE_DRIVER=sync
- REDIS_HOST=127.0.0.1
- REDIS_PASSWORD=null
- REDIS_PORT=6379
- MAIL_DRIVER=smtp
- MAIL_HOST=mailtrap.io
- MAIL_PORT=2525
- MAIL_USERNAME=null
- MAIL_PASSWORD=null
- MAIL_ENCRYPTION=null
- 'sqlsrv' => [
- 'driver' => 'sqlsrv',
- 'host' => env('DB_HOST', '137.135.53.188'),
- 'port' => env('DB_PORT', '1433'),
- 'database' => env('DB_DATABASE', 'OLTP'),
- 'username' => env('DB_USERNAME', 'MapStoriesDB'),
- 'password' => env('DB_PASSWORD', '{(Hr]ucRsUKh9{@N'),
- 'charset' => 'utf8',
- 'prefix' => '',
- 'schema' => 'public',
- ],
- <?php
- namespace App;
- use IlluminateDatabaseEloquentModel;
- class News extends Model
- {
- protected $table='news_news';
- }
- <?php
- namespace AppHttpControllers;
- use IlluminateHttpRequest;
- use AppHttpRequests;
- use AppNews;
- class newsController extends Controller
- {
- public function index(){
- return News::all();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement