|
1 | | -<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p> |
| 1 | +<p align="center"> |
| 2 | +<a href="https://laravel.com" target="_blank"> |
| 3 | +<img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"> |
| 4 | +</a></p> |
2 | 5 |
|
3 | 6 | <p align="center">
|
4 | 7 | <a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a>
|
|
7 | 10 | <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
|
8 | 11 | </p>
|
9 | 12 |
|
10 | | -## About Laravel |
11 | | - |
12 | | -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 takes the pain out of development by easing common tasks used in many web projects, such as: |
13 | | - |
14 | | -- [Simple, fast routing engine](https://laravel.com/docs/routing). |
15 | | -- [Powerful dependency injection container](https://laravel.com/docs/container). |
16 | | -- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. |
17 | | -- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). |
18 | | -- Database agnostic [schema migrations](https://laravel.com/docs/migrations). |
19 | | -- [Robust background job processing](https://laravel.com/docs/queues). |
20 | | -- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). |
21 | | - |
22 | | -Laravel is accessible, powerful, and provides tools required for large, robust applications. |
23 | 13 |
|
24 | | -## Learning Laravel |
| 14 | +## Import - Export Excel & CSV File |
25 | 15 |
|
26 | | -Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. |
| 16 | +**Author Tuantq** |
27 | 17 |
|
28 | | -You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch. |
| 18 | + |
29 | 19 |
|
30 | | -If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. |
| 20 | +<hr> |
31 | 21 |
|
32 | | -##Laravel Sponsors |
| 22 | +#### How to clone project |
33 | 23 |
|
34 | | -We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). |
| 24 | +- Clone the repository: __``git clone https://github.com/tqt97/import-excel-to-db-in-laravel``__ |
| 25 | +- Go to the folder application using cd command on your cmd or terminal __``cd import-excel-to-db-in-laravel``__ |
| 26 | +- Run __``composer install``__ on your cmd or terminal |
| 27 | +- Copy .env.example file to .env on the root folder. You can type __``copy .env.example .env``__ if using command prompt Windows or __``cp .env.example .env``__ if using terminal, Ubuntu |
| 28 | +- Open your __.env__ file and change the database name (__DB_DATABASE__) to whatever you have, username (__DB_USERNAME__) and password (__DB_PASSWORD__) field correspond to your configuration. |
| 29 | +- Run __``php artisan key:generate``__ |
| 30 | +- Run __``php artisan migrate:fresh --seed``__ |
| 31 | +- Run __``npm run dev``__ |
| 32 | +- Run __``php artisan serve``__ |
| 33 | +- Go to **http://127.0.0.1:8000** |
| 34 | +- You can see the application __running__. |
35 | 35 |
|
36 | | -### Premium Partners |
37 | 36 |
|
38 | | -- **[Vehikl](https://vehikl.com/)** |
39 | | -- **[Tighten Co.](https://tighten.co)** |
40 | | -- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** |
41 | | -- **[64 Robots](https://64robots.com)** |
42 | | -- **[Cubet Techno Labs](https://cubettech.com)** |
43 | | -- **[Cyber-Duck](https://cyber-duck.co.uk)** |
44 | | -- **[Many](https://www.many.co.uk)** |
45 | | -- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** |
46 | | -- **[DevSquad](https://devsquad.com)** |
47 | | -- **[Curotec](https://www.curotec.com/services/technologies/laravel/)** |
48 | | -- **[OP.GG](https://op.gg)** |
49 | | -- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)** |
50 | | -- **[Lendio](https://lendio.com)** |
| 37 | +---------------------------------------------------------------- |
| 38 | +### Aliases in cmd/command |
| 39 | + alias pa='php artisan 1ドル' |
| 40 | + alias pas='php artisan serve' |
| 41 | + alias pam='php artisan make:model 1ドル' |
| 42 | + alias pac='php artisan make:controller 1ドル' |
| 43 | + alias pamm='php artisan make:migration 1ドル' |
| 44 | + alias pamg='php artisan migrate' |
| 45 | + alias pamgfs='php artisan migrate:fresh --seed' |
| 46 | + alias pao='php artisan optimize:clear' |
| 47 | + alias pak='php artisan key:generate' |
| 48 | + alias nrd='npm run dev' |
| 49 | + alias nrb='npm run build' |
| 50 | + alias ci='composer install' |
| 51 | + alias c='composer 1ドル' |
| 52 | + alias envc='cp .env.example .env' |
| 53 | + alias par='php artisan make:request 1ドル' |
| 54 | + alias pammdl='php artisan make:middleware 1ドル' |
| 55 | + alias cl='clear' |
| 56 | + alias pamsrc='php artisan make:resource 1ドル' |
51 | 57 |
|
52 | | -## Contributing |
53 | 58 |
|
54 | | -Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). |
55 | | - |
56 | | -## Code of Conduct |
57 | | - |
58 | | -In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). |
59 | | - |
60 | | -## Security Vulnerabilities |
| 59 | +## About Laravel |
61 | 60 |
|
62 | | -If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. |
| 61 | +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 takes the pain out of development by easing common tasks used in many web projects, such as: |
63 | 62 |
|
64 | | -## License |
| 63 | +- [Simple, fast routing engine](https://laravel.com/docs/routing). |
| 64 | +- [Powerful dependency injection container](https://laravel.com/docs/container). |
| 65 | +- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. |
| 66 | +- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). |
| 67 | +- Database agnostic [schema migrations](https://laravel.com/docs/migrations). |
| 68 | +- [Robust background job processing](https://laravel.com/docs/queues). |
| 69 | +- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). |
65 | 70 |
|
66 | | -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). |
| 71 | +Laravel is accessible, powerful, and provides tools required for large, robust applications. |
0 commit comments