Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
alphp committed Mar 12, 2024
0 parents commit cc60813
Show file tree
Hide file tree
Showing 5 changed files with 401 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.bat]
end_of_line = crlf

[*.php]
indent_style = tab
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2

[*.twig]
insert_final_newline = false

[Makefile]
indent_style = tab
51 changes: 51 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Define the line ending behavior of the different file extensions
# Set default behavior, in case users don't have core.autocrlf set.
* text=auto
* text eol=lf

# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.php text
*.default text
*.ctp text
*.sql text
*.md text
*.po text
*.js text
*.css text
*.ini text
*.properties text
*.txt text
*.xml text
*.svg text
*.yml text
.htaccess text

# Declare files that will always have CRLF line endings on checkout.
*.bat eol=crlf

# Declare files that will always have LF line endings on checkout.
*.pem eol=lf

# Denote all files that are truly binary and should not be modified.
*.dbf binary
*.prj binary
*.shp binary
*.shx binary
*.sld binary
*.png binary
*.jpg binary
*.gif binary
*.ico binary
*.mo binary
*.pdf binary
*.phar binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.eot binary
*.gz binary
*.bz2 binary
*.7z binary
*.zip binary
49 changes: 49 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# CakePHP specific files #
##########################
/config/app.php
/config/.env
/logs/*
/tmp/*
/vendor/*
/webroot/files/*

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
*.zip

# Tool specific files #
#######################
/vendor
/tmp
.phpunit.cache
.workflows
/.vscode
/composer.lock
# vim
*~
*.swp
*.swo
# sublime text & textmate
*.sublime-*
*.stTheme.cache
*.tmlanguage.cache
*.tmPreferences.cache
# Eclipse
.settings/*
# JetBrains, aka PHPStorm, IntelliJ IDEA
.idea/*
# NetBeans
nbproject/*
# Visual Studio Code
.vscode
# Sass preprocessor
.sass-cache/
data
38 changes: 38 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "fawno/ean13",
"description": "Generate EAN13 codes",
"license": "MIT",
"authors": [
{
"name": "Fawno",
"homepage": "https://github.com/fawno/ean13/graphs/contributors"
}
],
"support": {
"issues": "https://github.com/fawno/ean13/issues",
"source": "https://github.com/fawno/ean13"
},
"require": {
"php": ">=7.4.0",
"fawno/fpdf": "@stable"
},
"autoload": {
"psr-4": {
"Fawno\\EAN13\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Fawno\\EAN13\\Tests\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "@stable"
},
"scripts": {
"test": "phpunit"
},
"scripts-descriptions": {
"test": "Run PHPUnit tests"
}
}
Loading

0 comments on commit cc60813

Please sign in to comment.