The Laravel.io Community Portal.

Overview

Tests Code Style

Laravel.io

This is the repository for the Laravel.io community portal. The code is entirely open source and licensed under the MIT license. We welcome your contributions but we encourage you to read the contributing guide before creating an issue or sending in a pull request. Read the installation guide below to get started with setting up the app on your machine.

Sponsors

We'd like to thank these amazing companies for sponsoring us. If you are interested in becoming a sponsor, please visit the Laravel.io Github Sponsors page.

Requirements

The following tools are required in order to start the installation.

Installation

Note that you're free to adjust the ~/Sites/laravel.io location to any directory you want on your machine. In doing so, be sure to run the valet link command inside the desired directory.

  1. Clone this repository with git clone [email protected]:laravelio/laravel.io.git ~/Sites/laravel.io
  2. Run composer install to install the PHP dependencies
  3. Set up a local database called laravel
  4. Run composer setup to setup the application
  5. Set up a working e-mail driver like Mailtrap
  6. Run valet link to link the site to a testing web address
  7. Configure the (optional) features from below

You can now visit the app in your browser by visiting http://laravel.io.test. If you seeded the database you can login into a test account with johndoe & password.

Github Authentication (optional)

To get Github authentication to work locally, you'll need to register a new OAuth application on Github. Use http://laravel.io.test for the homepage url and http://laravel.io.test/auth/github for the callback url. When you've created the app, fill in the ID and secret in your .env file in the env variables below. You should now be able to authentication with Github.

GITHUB_ID=
GITHUB_SECRET=
GITHUB_URL=http://laravel.io.test/auth/github

Algolia Search (optional)

To get Algolia search running locally, you'll need to register for a new account and create an index called threads. Algolia has a free tier that satisfies all of the requirements needed for a development environment. Now update the below variables in your .env file. The App ID and secret keys can be found in the API Keys section of the Algoila UI.

SCOUT_DRIVER=algolia
SCOUT_QUEUE=true

ALGOLIA_APP_ID=
ALGOLIA_SECRET="Use the Write API Key"

MIX_ALGOLIA_APP_ID="${ALGOLIA_APP_ID}"
MIX_ALGOLIA_SECRET="Use the Search API Key"
MIX_ALGOLIA_INDEX=threads

In order to index your existing threads, run the following command:

php artisan scout:import App\\Models\\Thread

New threads will be automatically added to the index and threads which get updated will be automatically synced. If you need to flush your index and start again, you can run the following command:

php artisan scout:flush App\\Models\\Thread

Twitter Sharing (optional)

To enable published articles to be automatically shared on Twitter, you'll need to create a Twitter app. Once the app has been created, update the below variables in your .env file. The consumer key and secret and access token and secret can be found in the Keys and tokens section of the Twitter developers UI.

TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_SECRET=

Approved articles are shared in the order they were submitted for approval. Articles are shared twice per day at 14:00 and 18:00 UTC. Once an article has been shared, it will not be shared again.

Commands

Command Description
php artisan test --parallel Run the tests
php artisan migrate:fresh --seed Reset the database
npm run watch Watch for changes in CSS and JS files

Maintainers

The Laravel.io portal is currently maintained by Dries Vints and Joe Dixon. If you have any questions please don't hesitate to create an issue on this repo.

Contributing

Please read the contributing guide before creating an issue or sending in a pull request.

Code of Conduct

Please read our Code of Conduct before contributing or engaging in discussions.

Security Vulnerabilities

If you discover a security vulnerability within Laravel.io, please send an email immediately to [email protected]. Do not create an issue for the vulnerability.

License

The MIT License. Please see the license file for more information.

Comments
  • Style ads

    Style ads

    @driesvints, you may need to test this locally as I can't see the ad sense ads. They seem to be taking up around about the right amount of space, but would be nice to see them rendered. I think it's just the homepage, sidebar and footer I can't see.

    Screenshot 2019-08-09 at 16 51 13
    opened by joedixon 23
  • Notifications

    Notifications

    I'm working on the notifications, we need that to #271, #270 and #279. But I'm not a good designer, so I need help before getting deep into it xd

    It's using vue, he will turn the job easier later.

    This is how it looks now

    image

    The first one are in the hover state, the last one are marked as read.

    opened by LucasLeandro1204 21
  • Laravel 8.x Shift

    Laravel 8.x Shift

    This pull request includes the changes for upgrading to Laravel 8.x. Feel free to commit any additional changes to the shift-35839 branch.

    Before merging, you need to:

    • Checkout the shift-35839 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 8
    • Run composer update (if the scripts fail, add --no-scripts)
    • Thoroughly test your application (no tests?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    opened by driesvints 20
  • Laravel 5.8 Shift

    Laravel 5.8 Shift

    This pull request includes the changes for upgrading to Laravel 5.8. Feel free to commit any additional changes to the shift-19040 branch.

    Before merging, you need to:

    • Checkout the shift-19040 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 5.8
    • Run composer update (if the scripts fail, add --no-scripts)
    • Thoroughly test your application (no tests?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    opened by driesvints 20
  • Laravel 5.5 Shift

    Laravel 5.5 Shift

    This pull request includes the changes for upgrading to Laravel 5.5. Feel free to commit any additional changes to the shift-4820 branch.

    Before merging, you should:

    • Checkout the shift-4820 branch
    • Review all pull request comments for additional changes
    • Run composer update (if the pre-commands fail, add --no-scripts)
    • Thoroughly test your application

    If you would like more help with your upgrade, check out the human services from Laravel Shift. If you need to level-up your Git skills, check out Getting Git.

    opened by driesvints 15
  • Weird HTML/CSS issue in pastebin

    Weird HTML/CSS issue in pastebin

    See image: http://i.imgur.com/eRkcCLe.png - Notice the scroll bar at the bottom. I get this problem in Chrome (Windows and Linux), FireFox (only tested Windows) and Internet Explorer 11.

    This seems to be related to the css of body.bin .show-container { width: 200%; overflow-x: scroll; }

    If I remove either the 200% width or the overflow-x things immediately look better. To get rid of the scrollbar at the bottom I need to do overflow-x: hidden on body, which I'm sure is not the intent.

    These changes were introduced in #105 and I'd love to hear more reasoning behind them. Were they even tested?

    bug 
    opened by anlutro 15
  • Laravel 7.x Shift

    Laravel 7.x Shift

    This pull request includes the changes for upgrading to Laravel 7.x. Feel free to commit any additional changes to the shift-24472 branch.

    Before merging, you need to:

    • Checkout the shift-24472 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 7
    • Run composer update (if the scripts fail, add --no-scripts)
    • Thoroughly test your application (no tests?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    opened by driesvints 14
  • Laravel 5.6 Shift

    Laravel 5.6 Shift

    This pull request includes the changes for upgrading to Laravel 5.6. Feel free to commit any additional changes to the shift-6274 branch.

    Before merging, you should:

    • Checkout the shift-6274 branch
    • Review all pull request comments for additional changes
    • Update your dependencies for Laravel 5.6
    • Run composer update (if the pre-scripts fail, add --no-scripts)
    • Thoroughly test your application

    If you need help with your upgrade, check out the Shift Human Services or join the Shifty Coders Slack room to get answers to all your Laravel questions.

    opened by driesvints 13
  • Laravel 9.x Shift

    Laravel 9.x Shift

    This pull request includes the changes for upgrading to Laravel 9.x. Feel free to commit any additional changes to the shift-60141 branch.

    Before merging, you need to:

    • Checkout the shift-60141 branch
    • Review all pull request comments for additional changes
    • Run composer update (if the scripts fail, add --no-scripts)
    • Clear any config, route, or view cache
    • Thoroughly test your application (no tests?, no CI?)

    If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

    opened by driesvints 12
  • Trying to get in touch regarding a security issue

    Trying to get in touch regarding a security issue

    Hey there!

    I belong to an open source security research community, and a member (@hdvinnie) has found an issue, but doesn’t know the best way to disclose it.

    If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

    Thank you for your consideration, and I look forward to hearing from you!

    (cc @huntr-helper)

    opened by JamieSlome 12
  • PHPUnit to Pest Converter

    PHPUnit to Pest Converter

    This pull request contains changes for migrating your test suite from PHPUnit to Pest automated by the Pest Converter.

    Before merging, you need to:

    • Checkout the shift-49229 branch
    • Review all of the comments below for additional changes
    • Run composer update to install Pest with your dependencies
    • Run vendor/bin/pest to verify the conversion
    opened by jasonmccreary 11
  • Document new API

    Document new API

    We should add some documentation for the new API sent in at https://github.com/laravelio/laravel.io/pull/793.

    I'm not sure if we should use a certain API documentation tool or just try to incorporate it into the current design.

    enhancement 
    opened by driesvints 4
  • Disconnect and connect GitHub account

    Disconnect and connect GitHub account

    Users should be able to connect or disconnect their GitHub account after creating their account. Should be a new box on the settings page. Connecting their GitHub account will fill in their GitHub username.

    Explain why we ask to connect their GitHub account (as opposed to let them fill in a text field for their username):

    1. We offer social authentication this way
    2. We use their GitHub account to verify they're real persons (and not bots)
    3. We integrate with GitHub for upcoming features
    enhancement 
    opened by driesvints 2
  • GitHub usernames should be unique

    GitHub usernames should be unique

    Filter out any duplicates with:

    SELECT
        github_username,
        COUNT(github_username)
    FROM
        users
    GROUP BY
        github_username
    HAVING
        COUNT(github_username) > 1;
    
    SELECT
        *
    FROM
        users
    WHERE
        github_username = 'duplicate';
    

    These can actually be synced from their GitHub ID. We should run a queued job that goes over all accounts and syncs them. Maybe also a scheduled job or a GitHub webhook.

    enhancement help wanted 
    opened by driesvints 4
Releases(v2.1.3)
  • v2.1.3(Feb 14, 2015)

    • Temporarily use local storage for backups until S3 adapter has been fixed
    • Fix forgotten Laravel 5 tag indications (3db54bc0bbf5e0e2bd6c4f9f338b63492ee45ff9)
    Source code(tar.gz)
    Source code(zip)
  • v2.1.2(Feb 14, 2015)

    • Integrate Backup Manager package for DB backups (7c15dc1ef8be06b904e16ecf5508585a2f4b9fc5)
    • Add Laravel 5 tag to threads (#212)
    • Removed unused contributors functionality (f3ea49b821117b3cddb71ac9dd22c018d1a14706)
    • Allow users to update their usernames (38af463c50476e2be47c29d0c4ae300e90fd29c0)
    • Several bug fixes
    Source code(tar.gz)
    Source code(zip)
  • v2.1.1(Dec 14, 2014)

  • v2.1.0(Dec 14, 2014)

    • Allow users to choose their email address and username on signup (bd860003d0169533fe76535b4f406cb5d982d7d5)
    • Add user settings page (86df6f9fca073bf1ed462a6201697175c3e3b415)
    • Implemented E-mail confirmation (e21f37f98e3f36f2075a7ac7124f06a96e44c1c9)
    • Activated Mandrill for e-mail sending (63584c9c0d8014e191c4e0dc616a849a23374cfc)
    • Use Snappy for customer support (4550fb72deb0b30632c45b0d004a180a40377edf)
    • Started logging of ip addresses for users, threads and replies (e48544b0b6035d2870bc2e5e4b1aaece1fb901f1)
    • Implemented filtering on phone numbers for threads and implement auto-banning of spammers (8910649997673886e45790212f6bbcdaed79e76b)
    • Reworked footer (2104eb3f11ccf6ec9ba5c3ac4fa97a73f7ab76a9)
    • Added a navigation item for admins (79741f872aa0de3316c1dcb4fde48d10ee7e01d5)
    • Fixed a bug with reply time indication (#209, 351b0adbe554f202cd83ccd623ab3082c8f9987e)
    Source code(tar.gz)
    Source code(zip)
  • v2.0.12(Dec 6, 2014)

  • v2.0.11(Nov 9, 2014)

    • Implement Captcha on user registration (2dfecdf9058ab17fa0a53e0ec96cf1e83694edcd)
    • Implement pinned threads (c566bbc46e03326b9ae4a3e078ec993c76c29c0a)
    • Hide email and remember_token from public api (#200)
    Source code(tar.gz)
    Source code(zip)
  • v2.0.10(Nov 3, 2014)

    • Implemented new anti-spam solution (#192)
    • New moderator tool (https://github.com/LaravelIO/laravel.io/commit/c9b1f32c5c5a78e0625a7b1bf16dcdfc28054aec)
    • Updated dependencies (#191, #195)
    • Fixed an issue with tests on Windows (#194)
    Source code(tar.gz)
    Source code(zip)
  • v2.0.9(Nov 2, 2014)

  • v2.0.8(Oct 17, 2014)

  • v2.0.7(Oct 17, 2014)

  • v2.0.6(Sep 21, 2014)

  • v2.0.5(Sep 10, 2014)

  • v2.0.4(Sep 4, 2014)

  • v2.0.3(Aug 23, 2014)

    • The pastebin is now responsive thanks to @mattstauffer (#155)
    • When browsing user threads/replies in a user profile, you may now click the user profile image to quickly go back to the main user profile page (#147)
    • Added a detailed contribution guide (#148)
    • Refactored test suite and integrated Travis CI
    • Better naming for pastebin shortcuts (#157)
    • Fixed a bug where pastebin buttons weren't clickable (#156)
    • Bugfixes
    Source code(tar.gz)
    Source code(zip)
  • v2.0.2(Aug 18, 2014)

  • v2.0.1(Aug 17, 2014)

  • v2.0.0(Aug 17, 2014)

  • v1.0.0(Aug 17, 2014)

Owner
Laravel.io
The Laravel Community Portal
Laravel.io
This is a simple PHP Student Portal. You can login, logout, register, and view your details.

Student-Portal This is a simple PHP Student Portal with a MySQL Database. I made this as part of a university assignment, so you can login, logout, re

Christine Coomans 3 Feb 12, 2022
Web portal dedicated to the publication of data in the form of vector tiles

Géotuileur Ce projet constitue un portail web pour l'API entrepôt dédié à la publication de données sous forme de tuiles vectorielles. Ce dépôt ne con

Institut National de l'Information Géographique et Forestière 8 Nov 21, 2022
CaraCracha - a captive portal project made for ISPs on my old city

CaraCracha - a captive portal project made for ISPs on my old city, Sobradinho, state of Bahia, Brazil. I found its code recently and hope it could be useful for someone.

Laudivan Freire de Almeida 2 Mar 9, 2022
Camdram is an open source project developed by a team of volunteers for the benefit of the Cambridge student theatre community

Camdram is an open source project developed by a team of volunteers for the benefit of the Cambridge student theatre community. We use this repository to host the code that runs Camdram and to co-ordinate our work, however we welcome anyone to contribute bugs and suggest new features.

Camdram 19 Jun 26, 2022
Spotweb is a decentralized usenet community based on the Spotnet protocol.

Spotweb is a decentralized usenet community based on the Spotnet protocol. Spotweb requires an operational webserver with PHP5.6 installed, it

Spotweb 433 Jan 1, 2023
This is a community-based project designed in the view of R.V.R & J.C College of Engineering hostel mess maintenance.

Hostel-Maintenance-System Introduction This is a community-based project designed in the view of R.V.R & J.C College of Engineering hostel mess mainte

 Datta Sai Mallipeddi 1 Oct 23, 2021
Spotweb is a decentralized usenet community based on the Spotnet protocol.

Spotweb Spotweb is a decentralized usenet community based on the Spotnet protocol. Spotweb requires an operational webserver with PHP5.6 installed, it

[sCRiPTz-TEAM] 2 Nov 29, 2021
Community-created, unofficial PHP SDK for the Skynet Decentralized Internet Network. siasky.net

Skynet PHP SDK This SDK is a community-created, unofficial SDK in PHP for the Skynet Decentralized Internet Network. It is taken as primarily a port f

Derrick Hammer 4 Dec 26, 2022
Thirdweb-wp - A community WordPress plugin for thirdweb. Turn your WordPress website into Web3 instantly and easily with thirdweb. 💻🌏

Thirdweb WP ?? Nominate (@WarenGonzaga) as GitHub Star. If you appreciate his hardwork and dedication to open source. A community WordPress plugin for

Waren Gonzaga 8 Dec 19, 2022
Official OpenMage LTS codebase | Migrate easily from Magento Community Edition in minutes

Official OpenMage LTS codebase | Migrate easily from Magento Community Edition in minutes! Download the source code for free or contribute to OpenMage LTS | Security vulnerability patches, bug fixes, performance improvements and more.

OpenMage 782 Jan 3, 2023
Magento - Magento Community Editions

Magento Community Edition /// THIS REPOSITORY IS DEPREACTED /// 1.9.4.1 will be the last version update. Please switch over to OpenMage! Either to the

FireGento e. V. 107 Oct 17, 2022
A htaccess boilerplate for all Magento Community installations. Features focus on speed, SEO and security.

magento-htaccess A htaccess boilerplate for all Magento Community installations. Features focus on speed, SEO and security. The file should be placed

Creare 114 Sep 18, 2022
A Magento 1.x module which facilitates automatic purging of static assets from HTTP caches such as browser cache, CDN, Varnish, etc using best practices outlined within the HTML5 boilerplate community.

Magento Cachebuster Cachebuster is a Magento module which facilitates automatic purging of static assets from HTTP caches such as browser cache, CDN,

Gordon Knoppe 129 Apr 1, 2022
A Magento community sourced security pre-flight checklist.

Magento Security Checklist This is a community sourced checklist of security measures to take before launching your store. Think of it as a pre-flight

Talesh Seeparsan 119 Oct 27, 2022
Magento React Native Community

Magento React Native Community New version of the https://github.com/troublediehard/magento-react-native based on GraphQL api. Which will be covered w

Dima Portenko 52 Dec 21, 2022
Magento2 Spanish (Argentina) language pack build from Crowdin community translation tool.

Magento2-language-es_ar Magento2 Spanish (Argentina) language pack build from Crowdin community translation tool. Paquete de idioma de Español (Argent

SemExpert 2 Apr 7, 2021
Deutsches Sprachpaket für Magento 2 Community Edition

Magento 2 German LocalePack de_DE Deutsches Sprachpaket für Magento 2 Community Edition (Version 2.4.2) Die Übersetzung wurde von deutschen Mutterspra

Splendid Internet GmbH 87 Sep 25, 2022
A dockerized magento 2 community environment ready for development or production.

Painless Magento 2 & 1 A dockerized magento 2 community environment ready for development or production. It supports magento 1.9.x for development Ins

Cocoa Web Studio 10 Apr 23, 2022