hhefesto / patientCare

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Total Downloads Latest Stable Version License

Using Laravel

sudo /etc/init.d/apache2 stop
sudo /opt/lampp/manager-linux-x64.run

Common commands

Serving

php artisan serve

Migrations

Reference

php artisan migrate:refresh

php artisan make:migration create_users_table --create=users

Models and Controllers

Default Routes:

GET /insurance (index) Route::get() GET /insurance/i (show) Route::get() POST /insurance (store) Route::post() GET /insurance/i/edit (edit) Route::get() PATCH /insurance/i (update) Route::patch() DELETE /insurance/i (destroy) Route::delete()

ALL Route::resource()

List all the current routes

php artisan route:list

Create the controller with boilerplate functions

php artisan make:controller InsuranceController -r

Create the controller with boilerplate functions, including and referencing the Model

php artisan make:controller InsuranceController -r -m Insurance

Testing

Run Tests

vendor/bin/phpunit

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

About


Languages

Language:PHP 60.1%Language:HTML 39.7%Language:Vue 0.2%