Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add updated Spanish translation #63

Open
wants to merge 1,382 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1382 commits
Select commit Hold shift + click to select a range
81c7c62
End of Line (#888)
Pen-y-Fan May 2, 2021
af42290
Merge pull request #889 from Pen-y-Fan/php-eol
matthewtrask May 13, 2021
f79d07c
Replace dead link
Aug 10, 2021
8b934a2
Replace http with https
Aug 10, 2021
c166410
Merge branch 'codeguy:gh-pages' into gh-pages
kanlukasz Sep 22, 2021
3a8bafb
Added correct links to Ukrainian variants
svtlichnijj Oct 13, 2021
8600d68
Merge pull request #893 from svtlichnijj/ukr-links
matthewtrask Oct 13, 2021
c57faaa
Merge pull request #891 from kanlukasz/gh-pages
matthewtrask Oct 13, 2021
d81fe2f
Add link for smknstd/modern-php-cheatsheet
kenguest Oct 28, 2021
f221bfd
Merge pull request #897 from kenguest/gh-pages
codeguy Oct 28, 2021
d194445
brew: examples for manual PHP version switch
COil Oct 29, 2021
efb1cdb
Update links to https
danfarrow Dec 12, 2021
a27e277
Merge pull request #899 from danfarrow/patch-1
codeguy Dec 12, 2021
1c46e82
Merge pull request #898 from COil/brew-switch-examples
codeguy Dec 12, 2021
dcd4a74
Update PHP version to 8.1
petk Jan 10, 2022
aa3cfc2
Merge pull request #901 from petk/patch-php81
codeguy Jan 10, 2022
645d2af
Fix PHPDoc URLs
petk Jan 17, 2022
29e46ce
Add missing space in comment
bradp Feb 7, 2022
6724f3d
Merge pull request #904 from bradp/patch-1
matthewtrask Feb 7, 2022
752ebda
Replaced patchwork/utf8 with symfony/polyfill-mbstring
gerardnll Feb 8, 2022
3d2e578
Updated zend/i18n to laminas/laminas-i18n
gerardnll Feb 8, 2022
bf9dec8
Merge pull request #1 from gerardnll/patch-2
gerardnll Feb 8, 2022
cb30706
Merge pull request #905 from gerardnll/patch-1
matthewtrask Feb 8, 2022
92def09
Merge pull request #902 from petk/patch-phpdoc
matthewtrask Mar 8, 2022
7f265f5
The Microsoft Web Platform Installer (WebPI) is removed from the list…
igorradovanov Jun 1, 2022
06207a9
Merge pull request #910 from igorradovanov/gh-pages
matthewtrask Jun 1, 2022
656fa79
Update the current working APC docs
Jun 4, 2022
4531b61
Merge branch 'codeguy:gh-pages' into gh-pages
Jun 4, 2022
4c594ac
Merge pull request #912 from xSavitar/gh-pages
matthewtrask Jun 4, 2022
ba0b053
Fix typo
spebon Jun 7, 2022
b39a710
Merge pull request #913 from spebon/gh-pages
philsturgeon Jun 22, 2022
6cafd92
Testing Tools: add PHPUnit Polyfills
jrfnl Jun 24, 2022
42af1b9
Add Medoo link to database abstraction layers
catfan Jun 26, 2022
3bcae99
PHP 5.6 => PHP 7.0
dionisvl Jul 13, 2022
133690f
Update _posts/01-02-01-Use-the-Current-Stable-Version.md
dionisvl Jul 17, 2022
43a6601
Dwoo library removed from the list of Libraries
igorradovanov Jul 31, 2022
9312263
Replace Zend/View link
igorradovanov Jul 31, 2022
dd4c0f9
Fix broken link - Zend Engine 2 Opcodes
igorradovanov Jul 31, 2022
475ede4
Merge pull request #914 from jrfnl/feature/add-phpunit-polyfills
matthewtrask Jul 31, 2022
4841df6
Merge pull request #917 from dionisvl/gh-pages
matthewtrask Jul 31, 2022
e7a7bae
Merge pull request #924 from igorradovanov/replace-zend-opcodes-link
matthewtrask Aug 19, 2022
6e0076e
Add missing punctuation
Xymph Aug 23, 2022
389eb5c
Fix incorrect case of a few words
Xymph Aug 23, 2022
ca0f073
Remove space inside 2 hyphenated words
Xymph Aug 23, 2022
a85d353
Remove inappropriate apostrophes
Xymph Aug 23, 2022
8c0b237
Use plural grammar/spelling where intended
Xymph Aug 23, 2022
98942cc
Split run-on sentence into 2 sentences
Xymph Aug 23, 2022
005ba52
Improve grammar of ElePHPants paragraph
Xymph Aug 23, 2022
d0bed50
Merge pull request #926 from Xymph/fix-spelling-punc-etc
codeguy Aug 24, 2022
20422fc
Merge pull request #915 from catfan/patch-1
codeguy Aug 24, 2022
67bb04c
Merge pull request #921 from igorradovanov/remove-dwoo-library
codeguy Aug 24, 2022
14954aa
Update http links that now redirect to https
Xymph Aug 25, 2022
11209a4
Update links that redirect to a new path on the same site
Xymph Aug 25, 2022
e8db6d7
Update site links that redirect to a new domain
Xymph Aug 25, 2022
986da80
Update redirected link to O'Reilly book
Xymph Aug 25, 2022
d25c1a1
Update redirected link to ASLR article
Xymph Aug 25, 2022
e37196d
Update redirected link to Symfony translation keys, with new anchor
Xymph Aug 25, 2022
536f637
Update broken link to Oracle article
Xymph Aug 25, 2022
33cad23
Update link to Symfony translation component
Xymph Aug 25, 2022
099e93f
Archive jasongrimes.org link
Xymph Aug 25, 2022
07c6aba
Update Lynda links to LinkedIn
Xymph Aug 26, 2022
d979efd
Replace dead sites by GH repos
Xymph Aug 27, 2022
28733fe
Update broken link to XAMPP
Xymph Aug 27, 2022
2b3f1a5
Fixed a typo
bitdaw Oct 22, 2022
cb2057d
Merge pull request #928 from Xymph/update-redirected-links
codeguy Oct 30, 2022
730728e
Merge pull request #929 from Xymph/archive-update-jason-grimes-link
codeguy Oct 30, 2022
c11572d
Merge pull request #931 from Xymph/update-lynda-links
codeguy Oct 30, 2022
bcd10d8
Merge pull request #932 from Xymph/replace-sites-by-repos
codeguy Oct 30, 2022
46b7850
Merge pull request #934 from AndrewDawes/fix_typos
codeguy Oct 30, 2022
1447976
Update a book to its new title & link (#933)
Xymph Nov 4, 2022
34f7bc4
Merge pull request #922 from igorradovanov/replace-zend-view-link
Xymph Nov 5, 2022
aa4b2e3
Update Zend-View link to version 3
Xymph Nov 5, 2022
b3e32a6
Merge pull request #936 from Xymph/update-zend-view
Xymph Nov 5, 2022
738cd78
Archive design patterns link & add PDF
Xymph Nov 5, 2022
46b8b85
Archive two broken links
Xymph Nov 5, 2022
31b358b
Removed redundancy from the text
jsamiksha1 Dec 6, 2022
2b5b5d6
docs: replace current stable version of php 8.1 = 8.1
Chris53897 Dec 10, 2022
c84de4c
Fix typos in the "Code style guide" post
echernyavskiy Dec 15, 2022
5e77a66
Fix a typo in Data Filtering
echernyavskiy Dec 16, 2022
fe5114d
Fix mod_fcgid link in the "Virtual or Dedicated servers" post.
echernyavskiy Dec 16, 2022
47105ff
Replace Chef fundamentals YouTube playlist link.
echernyavskiy Dec 16, 2022
59870c1
Fix PHP cheatsheets link (http -> https).
echernyavskiy Dec 16, 2022
eb4a239
docs: replace current stable version of php 8.1 = 8.1
Chris53897 Dec 17, 2022
0775e3a
Merge pull request #941 from jsamiksha1/gh-pages
Xymph Dec 27, 2022
fee29d5
Merge pull request #944 from echernyavskiy/patch-4
Xymph Dec 27, 2022
8c7f693
Merge pull request #943 from echernyavskiy/patch-3
Xymph Dec 27, 2022
31dab9d
Merge pull request #947 from echernyavskiy/patch-7
Xymph Dec 27, 2022
f436a72
Merge pull request #945 from echernyavskiy/patch-5
Xymph Dec 27, 2022
87a0109
Merge pull request #946 from echernyavskiy/patch-6
Xymph Dec 27, 2022
d6f176b
Merge pull request #937 from Xymph/archive-design-patterns
Xymph Dec 27, 2022
3c2773c
Merge pull request #938 from Xymph/archive-two-links
Xymph Dec 27, 2022
b90efb4
Add link to design patterns catalog
Xymph Dec 27, 2022
0a3c325
Merge pull request #948 from Xymph/add-design-patterns-catalog
Xymph Dec 28, 2022
85b0229
Update links in welcome.md
vladimirbalin Jan 2, 2023
def9cc8
docs: replace current stable version of php 8.1 = 8.1
Chris53897 Jan 3, 2023
6af64c5
Merge pull request #942 from Chris53897/gh-pages-php-8.2
Xymph Jan 4, 2023
7efc40e
Merge pull request #950 from vladimirbalin/gh-pages
Xymph Jan 4, 2023
1990b26
Update links to redirected GH repos
Xymph Aug 26, 2022
bbde1b0
Merge pull request #930 from Xymph/update-renamed-repos
Xymph Jan 6, 2023
af09e70
Remove XCache
petk Jan 11, 2023
52b6de0
Update links to https in Basics section
petk Jan 11, 2023
d2f3902
Merge pull request #951 from petk/patch-xcache
Xymph Jan 14, 2023
aba68e9
Merge pull request #952 from petk/patch-https
Xymph Jan 14, 2023
ad4b570
Update links in pages to https
petk Jan 15, 2023
31df672
Merge pull request #953 from petk/patch-https
Xymph Jan 15, 2023
5bdcdec
Re-enable PHP Design Patterns original repo
petk Jan 16, 2023
21994a8
Merge pull request #954 from petk/patch-design-patterns
Xymph Jan 16, 2023
db5f56c
Remove scream PHP extension
petk Jan 16, 2023
f505e08
Update APC and APCu
petk Jan 16, 2023
989f0c7
Remove 404 register globals PHP link
petk Jan 16, 2023
a57c5c8
Merge pull request #955 from petk/patch-scream
Xymph Jan 17, 2023
3d14d90
Merge pull request #957 from petk/patch-register-globals
Xymph Jan 17, 2023
250b9fb
Update 14-03-01-Object-Caching.md
petk Jan 17, 2023
ec2634c
Merge pull request #956 from petk/patch-apcu
Xymph Jan 17, 2023
5638836
Update php.net links to point to https://www.php.net
petk Jan 17, 2023
865de67
Remove Rocketeer
petk Jan 17, 2023
55589d1
Merge pull request #959 from petk/patch-rocketeer
matthewtrask Jan 18, 2023
df119b0
Merge pull request #958 from petk/patch-https
Xymph Jan 18, 2023
57e1857
Remove unused Homebrew PHP link
petk Jan 18, 2023
e795c18
Update links in CONTRIBUTING docs
petk Jan 18, 2023
49cadd2
Update links to https
petk Jan 18, 2023
d6839fc
Merge pull request #961 from petk/patch-https-2
Xymph Jan 18, 2023
b1398f1
Merge pull request #960 from petk/patch-homebrew
Xymph Jan 18, 2023
cde634a
Merge pull request #962 from petk/patch-https-3
Xymph Jan 18, 2023
4a3341d
Reword mysql extension chapter
petk Jan 19, 2023
5264be2
Rename mod_php5 to mod_php
petk Jan 19, 2023
e14aaf9
Rename zend-* packages to laminas-*
petk Jan 19, 2023
2016e98
Add Pest
petk Jan 19, 2023
5b39af1
Merge pull request #964 from petk/patch-mod-php
Xymph Jan 19, 2023
dff69dc
Merge pull request #965 from petk/patch-zend
Xymph Jan 19, 2023
3a82872
Merge pull request #966 from petk/patch-pest
Xymph Jan 19, 2023
1bb13df
Merge pull request #963 from petk/patch-mysql
Xymph Jan 19, 2023
a494f29
Fix PEAR with Composer
petk Jan 27, 2023
33b3c38
Update PHP_CodeSniffer location to GitHub
petk Jan 27, 2023
a551416
Merge pull request #968 from petk/patch-pear-2
Xymph Jan 27, 2023
45616f9
Merge pull request #967 from petk/patch-pear
Xymph Jan 27, 2023
767c5cb
Add PER Coding Style
petk Feb 3, 2023
9e93058
Merge pull request #971 from petk/patch-coding-style
Xymph Feb 4, 2023
bcfce63
Add Learn PHP The Right Way Series
petk Feb 6, 2023
d59c324
Merge pull request #972 from petk/patch-videos
Xymph Feb 7, 2023
126d716
added PHP&MYSQL book to the list of paid books
dmitriifrlv Feb 24, 2023
3244d58
changed description of PHP&MYSQL book
dmitriifrlv Feb 26, 2023
2d53d30
Added spaces to book name
dmitriifrlv Mar 3, 2023
d7637c4
Added periods to the list of the paid books
dmitriifrlv Mar 3, 2023
bcbf43b
Merge pull request #973 from dmitriifrlv/add-jon-duckett-book
Xymph Mar 3, 2023
ea075da
Update advice for unserializing user input
svdv22 Apr 13, 2023
3db7ff2
Remove locale from json_encode link
svdv22 Apr 14, 2023
b931e08
Merge pull request #974 from svdv22/unserialize-user-input
Xymph Apr 14, 2023
d4481b3
Remove "A little help" section in Vagrant
avindra May 6, 2023
b09895e
Merge pull request #977 from avindra/patch-1
Xymph May 8, 2023
8a2fd86
Add @phpc Mastodon link
petk May 10, 2023
c993526
Merge pull request #978 from petk/patch-mastodon
Xymph May 11, 2023
5b9cd4b
Use macOS word instead of Mac
petk May 22, 2023
6513260
Merge pull request #981 from petk/patch-macos
Xymph May 22, 2023
427427b
Adds Ubuntu/Debian native pkgs for newer versions
May 23, 2023
003bb06
Use PHP constructor property promotion
petk May 24, 2023
60359a5
Merge pull request #984 from petk/patch-constructor-property-promotion
Xymph May 24, 2023
1096f9b
phpversions.info is no longer maintained
petk May 24, 2023
747c12a
Mention GitHub actions in CI
petk May 24, 2023
dbb3417
Merge pull request #986 from petk/patch-github-actions
Xymph May 24, 2023
5f3db00
Merge pull request #985 from petk/patch-php-versions
Xymph May 24, 2023
4f59243
Add SymfonyCasts
petk May 25, 2023
73f0eaa
Merge pull request #987 from petk/patch-symfony-casts
Xymph May 25, 2023
40f42ca
Merge pull request #983 from muriloloffi/gh-979
codeguy Jun 27, 2023
af68f8b
Update current PHP version to 8.3
petk Nov 24, 2023
71ce0ad
Merge pull request #995 from petk/patch-php8.3
Xymph Nov 26, 2023
af90909
Code Style Guide: update URL for PHP_CodeSniffer
jrfnl Feb 12, 2024
a3c090b
Merge pull request #999 from jrfnl/feature/update-code-style-guide
Xymph Feb 15, 2024
124c1ca
Update URL for Storyplayer in 11-02-01-Test-Driven-Development.md
deschcla Mar 14, 2024
edd3c81
Merge pull request #1001 from deschcla/patch-1
Xymph Mar 15, 2024
01951ad
Update outdated PaaS Providers
Mar 28, 2024
085397c
Merge pull request #1002 from ahmoin/gh-pages
Xymph Mar 28, 2024
40b5633
Update README.md
mazedlx Apr 4, 2024
f14345e
Update welcome.md
mazedlx Apr 4, 2024
846c25c
Merge pull request #1003 from mazedlx/gh-pages
codeguy Apr 4, 2024
1fbd7b6
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages
wilsenhc May 30, 2024
9bd1467
fast-forward to upstream
wilsenhc May 30, 2024
edd8d79
fix: remove deleted chapters
wilsenhc May 30, 2024
0703dee
feat: add cname
wilsenhc May 30, 2024
c03dadb
fix: config
wilsenhc May 30, 2024
937534f
test changing baseurl
wilsenhc May 30, 2024
0270704
feat: change hostname
wilsenhc May 30, 2024
e2dbf22
fix: add baseurl
wilsenhc May 30, 2024
e009ab2
fix: change baseurl
wilsenhc May 31, 2024
4d2d2c2
first translations
wilsenhc May 31, 2024
79ac56f
fix: change CNAME
wilsenhc May 31, 2024
2dd5e46
primeras traducciones
wilsenhc May 31, 2024
05b11ff
primeros pasos
wilsenhc May 31, 2024
33045ef
translate welcome page
wilsenhc May 31, 2024
3012762
fix: rename welcome anchor
wilsenhc May 31, 2024
f9426a7
traducir titulo de chapter
wilsenhc May 31, 2024
1eb0797
traducir web server integrado
wilsenhc May 31, 2024
ea782a8
traducir macOs setup
wilsenhc May 31, 2024
bc9e2ad
Later macOS versions do not include PHP
robgeorgeuk Jun 3, 2024
ef9bc49
Merge pull request #1005 from robgeorgeuk/not-all-macos-include-php
Xymph Jun 4, 2024
0908184
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages
wilsenhc Jun 6, 2024
45d17f3
feat: translate all post titles
wilsenhc Jun 14, 2024
3392f51
feat: translate mac setup new paragraph
wilsenhc Jun 14, 2024
3bd76bf
Merge pull request #1 from wilsenhc/feat/traducir-titulos
wilsenhc Jun 14, 2024
6632286
feat: traducir windows setup page
wilsenhc Jun 14, 2024
f97b897
feat: completar capitulo 2
wilsenhc Jun 25, 2024
1ecafe2
Merge pull request #3 from wilsenhc/ch-02-primeros-pasos
wilsenhc Jun 25, 2024
1732b46
feat: code style guide
wilsenhc Jun 25, 2024
25c3f55
Merge pull request #8 from wilsenhc/ch-03-code-style-guide
wilsenhc Jun 25, 2024
0e15df7
feat: traducir language highlights + namespaces + SPL
wilsenhc Jun 25, 2024
2c2fe72
feat: completar capaitulo 4
wilsenhc Sep 27, 2024
d89a4dd
Merge pull request #10 from wilsenhc/ch-04-language-highlights
wilsenhc Sep 27, 2024
38953d9
fix: comillas
wilsenhc Sep 27, 2024
2e1d91f
feat: gestion de dependencias
wilsenhc Sep 27, 2024
12f59ff
Precision on when APCu cache is shared or not
PowerKiKi Sep 27, 2024
78cff89
Update _posts/14-03-01-Object-Caching.md
PowerKiKi Sep 28, 2024
630628d
Merge pull request #1011 from PowerKiKi/patch-1
Xymph Sep 30, 2024
fb83fe1
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages
wilsenhc Oct 1, 2024
237b7fd
feat: add Chapter 7 DI
vicmans Oct 4, 2024
5f13e57
Merge pull request #26 from vicmans/ch-07-di
wilsenhc Oct 4, 2024
38c3881
Merge branch 'gh-pages' into ch-05-dependency-management
wilsenhc Oct 4, 2024
4b4a05d
feat: completar chapter 5
wilsenhc Oct 7, 2024
cc10e66
Merge pull request #12 from wilsenhc/ch-05-dependency-management
wilsenhc Oct 7, 2024
fe26887
fix: renombrar links en chapter 6
wilsenhc Oct 7, 2024
8cdcccd
feat: add Chapter 10 Exceptions/Errors translation
Oct 10, 2024
e9ac31f
fix: cambios pequeños
wilsenhc Oct 10, 2024
278cb42
Merge pull request #27 from paulohbsousa/ch-10-exceptions
wilsenhc Oct 10, 2024
676ac40
fix styles
wilsenhc Oct 10, 2024
93cea06
feat: completar chapter 08
wilsenhc Oct 10, 2024
6250d28
Merge pull request #28 from wilsenhc/ch-08-databases
wilsenhc Oct 10, 2024
9aa78c7
add translation for ch 09
vicmans Oct 11, 2024
3b85d47
Merge pull request #29 from vicmans/ch-09
wilsenhc Oct 11, 2024
1c2fdc2
WIP: first 3 chapters
DesolatorMagno Oct 12, 2024
9a8b44b
Ch 11: Seguridad
wilsenhc Oct 17, 2024
7344e75
Merge pull request #30 from wilsenhc/ch-11-security
wilsenhc Oct 17, 2024
8af075c
Ch 12: Testing
wilsenhc Oct 17, 2024
e74e6ad
Merge pull request #31 from wilsenhc/ch-12-testing
wilsenhc Oct 17, 2024
e0ef809
add Capítulo 14: Virtualización
abr4xas Oct 18, 2024
342e0fc
fix> small changes to ch 14
wilsenhc Oct 18, 2024
abf4f89
Merge pull request #32 from abr4xas/gh-pages
wilsenhc Oct 18, 2024
c91c2d1
add ch 13 traslations
vicmans Oct 18, 2024
2b9cda7
add cap 15 & 16.
abr4xas Oct 19, 2024
8cd7aa6
Merge branch 'gh-pages' of github.com:abr4xas/php-the-right-way into …
abr4xas Oct 19, 2024
f180874
fix: small changes
wilsenhc Oct 20, 2024
0171cd6
Merge pull request #33 from vicmans/ch13
wilsenhc Oct 20, 2024
474d7c0
Merge pull request #34 from abr4xas/gh-pages
wilsenhc Oct 20, 2024
6ddde01
las 2 chapters
DesolatorMagno Oct 21, 2024
7686bb5
usando https en los links que lo permitan
DesolatorMagno Oct 21, 2024
51691ff
feat: translate chapter 17
wilsenhc Oct 25, 2024
e488d51
Merge pull request #36 from wilsenhc/cahpter-17
wilsenhc Oct 25, 2024
3e57d37
Internacionalización y Localización
DesolatorMagno Nov 1, 2024
0e9646d
small changes
DesolatorMagno Nov 1, 2024
4c21ca3
Merge pull request #35 from DesolatorMagno/gh-pages
wilsenhc Jan 2, 2025
af77a17
add chapter 18
vicmans Jan 8, 2025
8bf0d57
Merge pull request #37 from vicmans/ch-17
wilsenhc Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/_site/
*.DS_Store
.rvmrc
node_modules
vendor
.bundle
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.8
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
es.phptherightway.com
119 changes: 119 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Contributing to PHP The Right Way

Enjoy [PHP The Right Way](https://phptherightway.com) and want to get
involved? Great! There are plenty of ways you can help out.

Please take a moment to review this document in order to make the contribution
process easy and effective for everyone involved.

Following these guidelines helps to communicate that you respect the time of
the developers managing and developing this open source project. In return,
they should reciprocate that respect in addressing your issue or assessing
patches and features.


## Using the issue tracker

The [issue tracker](https://github.com/codeguy/php-the-right-way/issues) is
the preferred channel for changes: spelling mistakes, wording changes, new
content and generally [submitting pull requests](#pull-requests), but please
respect the following restrictions:

* Please **do not** use the issue tracker for personal support requests (use
[Stack Overflow](https://stackoverflow.com/questions/tagged/php) or IRC).

* Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.


<a name="pull-requests"></a>
## Pull Requests

Pull requests are a great way to add new content to PHP The Right Way, as well
as updating any browser issues or other style changes. Pretty much any sort of
change is accepted if seen as constructive.

Adhering to the following process is the best way to get your work
included in the project:

1. [Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the
project, clone your fork, and configure the remotes:

```bash
# Clone your fork of the repo into the current directory
git clone https://github.com/<your-username>/php-the-right-way.git
# Navigate to the newly cloned directory
cd php-the-right-way
# Assign the original repo to a remote called "upstream"
git remote add upstream https://github.com/codeguy/php-the-right-way.git
```

2. If you cloned a while ago, get the latest changes from upstream:

```bash
git checkout gh-pages
git pull upstream gh-pages
```

3. Create a new topic branch (off the main project development branch) to
contain your change or fix:

```bash
git checkout -b <topic-branch-name>
```

4. Install the [Jekyll](https://github.com/jekyll/jekyll/) gem and dependencies to preview locally:

```bash
# Install the needed gems through Bundler
bundle install --path vendor/bundle
# Run the local server
bundle exec jekyll serve
```

5. Commit your changes in logical chunks. Please adhere to these [git commit
message guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
or your content is unlikely be merged into the main project. Use Git's
[interactive rebase](https://docs.github.com/en/get-started/using-git/about-git-rebase)
feature to tidy up your commits before making them public.

6. Locally merge (or rebase) the upstream development branch into your topic branch:

```bash
git pull [--rebase] upstream gh-pages
```

7. Push your topic branch up to your fork:

```bash
git push origin <topic-branch-name>
```

8. [Open a Pull Request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)
with a clear title and description.


## Contribution Agreement and Usage

By submitting a pull request to this repository, you agree to allow the project
owners to license your work under the the terms of the [Creative Commons Attribution-NonCommercial-ShareAlike
3.0 Unported License](https://creativecommons.org/licenses/by-nc-sa/3.0/).

The same content and license will be used for all PHP The Right Way publications,
including - but not limited to:

* [phptherightway.com](https://phptherightway.com)
* Translations of phptherightway.com
* [LeanPub: PHP The Right Way](https://leanpub.com/phptherightway/)
* Translations of "LeanPub: PHP The Right Way"

All content is completely free now, and always will be.

## Contributor Style Guide

1. Use American English spelling (*primary English repo only*)
2. Use four (4) spaces to indent text; do not use tabs
3. Wrap all text to 120 characters
4. Code samples should adhere to PSR-1 or higher
5. Use [GitHub Flavored Markdown](https://github.github.com/gfm/) for all content
6. Use language agnostic urls when referring to external websites such as the [php.net](https://www.php.net/urlhowto.php) manual
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
gem 'rouge'
Loading