Skip to content

Commit b70194b

Browse files
committed
Initial.
0 parents  commit b70194b

File tree

134 files changed

+7504
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+7504
-0
lines changed

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at patrick@maatwebsite.nl. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributing
2+
3+
Find the contributing guide at: https://docs.laravel-excel.com/3.1/getting-started/contributing

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Maatwebsite
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<p align="center">
2+
<img src="https://user-images.githubusercontent.com/7728097/67977317-26178100-fc18-11e9-943e-c5302ca32622.png" width="400" height="82" alt="Laravel Excel logo">
3+
</p>
4+
5+
<h3 align="center">Supercharged Excel exports and imports</h3>
6+
7+
<p align="center">
8+
A simple, but elegant <a href="https://laravel.com" target="_blank">Laravel<a/> wrapper around <a href="https://phpspreadsheet.readthedocs.io/" target="_blank">PhpSpreadsheet</a>
9+
exports and imports.
10+
</p>
11+
12+
<h4 align="center">
13+
<a href="https://docs.laravel-excel.com/3.1/exports/">Quickstart</a>
14+
<span> · </span>
15+
<a href="https://docs.laravel-excel.com/3.1/getting-started/">Documentation</a>
16+
<span> · </span>
17+
<a href="https://course.laravel-excel.com">Video Course</a>
18+
<span> · </span>
19+
<a href="https://github.com/Maatwebsite/Laravel-Nova-Excel">Nova</a>
20+
<span> · </span>
21+
<a href="https://medium.com/maatwebsite/laravel-excel/home">Blog</a>
22+
<span> · </span>
23+
<a href="https://docs.laravel-excel.com/3.1/getting-started/contributing.html">Contributing</a>
24+
<span> · </span>
25+
<a href="https://docs.laravel-excel.com/3.1/getting-started/support.html">Support</a>
26+
</h4>
27+
28+
<p align="center">
29+
<a href="https://travis-ci.org/Maatwebsite/Laravel-Excel">
30+
<img src="https://travis-ci.org/Maatwebsite/Laravel-Excel.svg?branch=3.1" alt="Build Status">
31+
</a>
32+
33+
<a href="https://styleci.io/repos/14259390">
34+
<img src="https://styleci.io/repos/14259390/shield?branch=3.1" alt="StyleCI">
35+
</a>
36+
37+
<a href="https://packagist.org/packages/maatwebsite/excel">
38+
<img src="https://poser.pugx.org/maatwebsite/excel/v/stable.png" alt="Latest Stable Version">
39+
</a>
40+
41+
<a href="https://packagist.org/packages/maatwebsite/excel">
42+
<img src="https://poser.pugx.org/maatwebsite/excel/downloads.png" alt="Total Downloads">
43+
</a>
44+
45+
<a href="https://packagist.org/packages/maatwebsite/excel">
46+
<img src="https://poser.pugx.org/maatwebsite/excel/license.png" alt="License">
47+
</a>
48+
</p>
49+
50+
## ✨ Features
51+
52+
- **Easily export collections to Excel.** Supercharge your Laravel collections and export them directly to an Excel or CSV document. Exporting has never been so easy.
53+
54+
- **Supercharged exports.** Export queries with automatic chunking for better performance. You provide us the query, we handle the performance. Exporting even larger datasets? No worries, Laravel Excel has your back. You can queue your exports so all of this happens in the background.
55+
56+
- **Supercharged imports.** Import workbooks and worksheets to Eloquent models with chunk reading and batch inserts! Have large files? You can queue every chunk of a file! Your entire import will happen in the background.
57+
58+
- **Export Blade views.** Want to have a custom layout in your spreadsheet? Use a HTML table in a Blade view and export that to Excel.
59+
60+
![banner](https://user-images.githubusercontent.com/7728097/57463977-2263fc80-727c-11e9-833d-669d816fb7fb.jpg)
61+
<br>
62+
63+
## 🎓 Learning Laravel Excel
64+
65+
You can find the full documentation of Laravel Excel [on the website](https://docs.laravel-excel.com).
66+
67+
We welcome suggestions for improving our docs. The documentation repository can be found at [https://github.com/Maatwebsite/laravel-excel-docs](https://github.com/Maatwebsite/laravel-excel-docs).
68+
69+
Some articles and tutorials can be found on our blog: https://medium.com/maatwebsite/laravel-excel/home
70+
71+
## 🎥 Video Course
72+
73+
We are currently building a video course called "Advanced Laravel Excel". In this video course we’ll build a small application with real-life, complex imports and exports that go beyond simple user imports and exports. We’ll go step-by-step and tackle implementing Laravel Excel in a performant way.
74+
75+
If you sign up now, you’ll get notified when the course launches and get it for the early bird price of $69 instead of ~~$99~~.
76+
77+
https://course.laravel-excel.com
78+
79+
## :mailbox_with_mail: License & Postcardware
80+
81+
![1_5nblgs68uarg0wxxejozdq](https://user-images.githubusercontent.com/7728097/53638144-9e5f1a00-3c25-11e9-9f4a-fc71c9d94562.jpg)
82+
83+
Laravel Excel is completely free (MIT license) to use, however the package is licensed as Postcardware. This means that if it makes it to your production environment, we would very much appreciate receiving a postcard from your hometown.
84+
85+
**Maatwebsite**
86+
Markt 2
87+
6231 LS Meerssen
88+
The Netherlands
89+
90+
More about the license can be found at: [https://docs.laravel-excel.com/3.1/getting-started/license.html](https://docs.laravel-excel.com/3.1/getting-started/license.html)
91+
92+
93+
## :wrench: Supported Versions
94+
95+
Versions will be supported for a limited amount of time.
96+
97+
| Version | Laravel Version | Php Version | Support |
98+
|---- |----|----|----|
99+
| 2.1 | <=5.6 | <=7.0 | Unsupported since 15-5-2018 |
100+
| 3.0 | ^5.5 | ^7.0 | Unsupported since 31-12-2018 |
101+
| 3.1 | ^5.5\|^6.0 | ^7.1 | New features |

SECURITY.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Security Policy
2+
3+
**PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY, [SEE BELOW](#reporting-a-vulnerability).**
4+
5+
## Supported Versions
6+
7+
Version | Security Fixes Until
8+
--- | ---
9+
3.1 | -
10+
3.0 | 31-12-2018
11+
2.1 | 15-5-2018
12+
13+
## Reporting a Vulnerability
14+
15+
If you discover a security vulnerability within Laravel Excel, please send an email to Patrick Brouwers at patrick@maatwebsite.nl. All security vulnerabilities will be promptly addressed.

composer.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": "maatwebsite/excel",
3+
"description": "Supercharged Excel exports and imports in Laravel",
4+
"license": "MIT",
5+
"keywords": [
6+
"laravel",
7+
"php",
8+
"phpspreadsheet",
9+
"phpexcel",
10+
"excel",
11+
"csv",
12+
"export",
13+
"import",
14+
"batch"
15+
],
16+
"authors": [
17+
{
18+
"name": "Patrick Brouwers",
19+
"email": "patrick@maatwebsite.nl"
20+
}
21+
],
22+
"require": {
23+
"ext-json": "*",
24+
"php": "^7.0",
25+
"phpoffice/phpspreadsheet": "^1.10",
26+
"illuminate/support": "5.5.*|5.6.*|5.7.*|5.8.*|^6.0"
27+
},
28+
"require-dev": {
29+
"orchestra/testbench": "^4.0",
30+
"phpunit/phpunit": "^8.0",
31+
"mockery/mockery": "^1.1",
32+
"orchestra/database": "^4.0",
33+
"predis/predis": "^1.1"
34+
},
35+
"autoload": {
36+
"psr-4": {
37+
"Maatwebsite\\Excel\\": "src/"
38+
}
39+
},
40+
"autoload-dev": {
41+
"psr-4": {
42+
"Maatwebsite\\Excel\\Tests\\": "tests/"
43+
}
44+
},
45+
"extra": {
46+
"laravel": {
47+
"providers": [
48+
"Maatwebsite\\Excel\\ExcelServiceProvider"
49+
],
50+
"aliases": {
51+
"Excel": "Maatwebsite\\Excel\\Facades\\Excel"
52+
}
53+
}
54+
},
55+
"minimum-stability": "dev",
56+
"prefer-stable": true
57+
}

0 commit comments

Comments
 (0)