A resource for web developers, offering insights into modern technologies, development practices, and personal experiences. Features a complete PHP-FIG standards guide with practical implementations and detailed explanations of each PSR standard.
To get a local copy up and running follow these simple steps.
Ensure you have one of the following:
- Docker Desktop (recommended)
- OR the following installed locally:
- Ruby (Jekyll requires Ruby >= 2.5.0)
- Bundler (Ruby package manager)
- PHP 8.2+
- Composer
- Git
- Clone the repo with submodules
git clone --recurse-submodules https://github.com/jonesrussell/blog.git
cd blog
- Choose your development environment:
code .
# When prompted, click "Reopen in Container"
# The container will automatically install all dependencies
# Install Ruby dependencies
bundle install
# Install PHP dependencies (for PHP-FIG guide)
cd code/php-fig-guide
composer install
cd ../..
# Serve the site locally
bundle exec jekyll serve
This project includes a dev container configuration that provides:
- Jekyll development environment
- PHP 8.2 with Xdebug
- Composer
- All necessary VS Code extensions
- Git and GitHub CLI
- Blog: Navigate to
http://localhost:4000/blog/
in your browser - PHP-FIG Guide: Located in
code/php-fig-guide/
- Run tests:
cd code/php-fig-guide && composer test
- Check coding standards:
composer check-style
- Fix coding standards:
composer fix-style
- Run tests:
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Please ensure you follow:
- WRITING_STYLE.md for blog posts
- PSR coding standards for PHP code
- Include tests for new code
Distributed under the MIT License. See LICENSE
for more information.
Russell Jones - @jonesrussell42 - [email protected]
Project Links:
- Blog: https://github.com/jonesrussell/blog
- PHP-FIG Guide: https://github.com/jonesrussell/php-fig-guide