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

congolize the project #283

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
APP_NAME="Laravel Cameroun"
APP_NAME="Laravel DRC"
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://laravel.cm.test
APP_URL=http://laravel.cd.test
APP_LOCALE=fr
FILAMENT_PATH=cp

Expand All @@ -12,7 +12,7 @@ LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravelcm
DB_DATABASE=laravelcd
DB_USERNAME=root
DB_PASSWORD=

Expand All @@ -34,9 +34,9 @@ MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=no-reply@laravel.cm
MAIL_FROM_ADDRESS=no-reply@laravel.cd
MAIL_FROM_NAME="${APP_NAME}"
MAIL_SUPPORT=mail-support@laravel.cm
MAIL_SUPPORT=mail-support@laravel.cd

MAILGUN_DOMAIN=
MAILGUN_SECRET=
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Get Help
url: https://laravel.cm/forum/new-thread
url: https://laravel.cd/forum/new-thread
about: If you need help with your project create a topic on our forum.
- name: Bug Report
url: https://github.com/laravelcm/issues
url: https://github.com/laravelcd/issues
about: 'For projects issues, suggest changes on our issues repository.'
- name: Feature Request
url: https://github.com/laravelcm/laravel.cm/discussions/new?category=ideas
url: https://github.com/laravelcd/laravel.cm/discussions/new?category=ideas
about: Share ideas for new features
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm-debug.log
yarn-error.log
yarn.lock
package-json.lock
composer.lock
pnpm-lock.yml
/vendor
composer.phar
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changelog

All notable changes to `laravel.cm` will be documented in this file.
All notable changes to `laravel.cd` will be documented in this file.

Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing Guide

We welcome contributions to the Laravel.io project. Please read the following guide before posting an issue or sending
We welcome contributions to the Laravel.cd project. Please read the following guide before posting an issue or sending
in pull requests. Please also read our [Code of Conduct](CODE_OF_CONDUCT.md) before contributing or engaging in
discussions.

Expand All @@ -12,7 +12,7 @@ discussions.

## Pull Requests

- **Feature requests** first need to be discussed and accepted [through an issue](https://github.com/laravelcm/laravel.cm/issues/new) before sending in a pull request
- **Feature requests** first need to be discussed and accepted [through an issue](https://github.com/laravelcd/laravel.cd/issues/new) before sending in a pull request
- **Bug fixes** should contain [regression tests](https://laracasts.com/lessons/regression-testing)
- All pull requests should follow the [coding standards](#coding-standards)
- Pull requests will be merged after being reviewed by [the maintainers](README.md#maintainers)
Expand All @@ -22,7 +22,7 @@ discussions.

- It's a good practice to write tests for your contribution
- Write the full namespace in DocBlocks for `@param`, `@var` or `@return` tags
- The rest of the coding standards will automatically fixed by [Github Actions](https://github.com/laravelcm/laravel.cm/actions)
- The rest of the coding standards will automatically fixed by [Github Actions](https://github.com/laravelcd/laravel.cd/actions)

## Testing

Expand Down
2 changes: 0 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
La licence MIT (MIT)

Droits d'auteur (c) Arthur Monney

L'autorisation est par la présente accordée, gratuitement, à toute personne obtenant
une copie de ce logiciel et des fichiers de documentation associés (le « Logiciel »),
de traiter le Logiciel sans restriction, y compris, sans limitation, les droits d'utilisation, de copie, de modification,
Expand Down
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,39 @@
<a href="https://laravel.com">
<img alt="Laravel v11.x" src="https://img.shields.io/badge/Laravel-v11.x-FF2D20">
</a>
<a href="https://github.com/laravelcm/laravel.cm/actions">
<img src="https://github.com/laravelcm/laravel.cm/workflows/Tests/badge.svg" alt="Build Status" />
<a href="https://github.com/laravelcd/laravel.cd/actions">
<img src="https://github.com/laravelcd/laravel.cd/workflows/Tests/badge.svg" alt="Build Status" />
</a>
<a href="https://github.com/laravelcm/laravel.cm/actions/workflows/quality.yml">
<img src="https://github.com/laravelcm/laravel.cm/actions/workflows/quality.yml/badge.svg" alt="Coding Standards" />
<a href="https://github.com/laravelcd/laravel.cd/actions/workflows/quality.yml">
<img src="https://github.com/laravelcd/laravel.cd/actions/workflows/quality.yml/badge.svg" alt="Coding Standards" />
</a>
<a href="https://forge.laravel.com">
<img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fforge.laravel.com%2Fsite-badges%2Fb0b9e269-e85c-40eb-9b8d-cfa8197a1bb2&style=plastic" alt="Laravel Forge Site Deployment Status" />
</a>
</p>

## Laravel.cm
## Laravel.cd

Ce dépôt contient le code source du site de [Laravel.cm](https://laravel.cm). Laravel Cameroun est la plus grande communauté de
développeurs PHP & Laravel résidant au Cameroun.
Ce dépôt contient le code source du site de [Laravel.cd](https://laravel.cd). Laravel DRC est la plus grande communauté de
développeurs PHP & Laravel résidant en République Démocratique du Congo (DRC).

## Rejoindre la communauté

Vous pouvez rejoindre la communauté ou nous suivre via nos différentes plateformes

- [Discord](https://discord.gg/KNp6brbyVD)
- [Telegram](https://t.me/laravelcameroun)
- [Twitter](https://twitter.com/laravelcm)
- [Facebook](https://www.facebook.com/laravelcm)
- [Telegram](https://t.me/laraveldrc)
- [Twitter](https://twitter.com/laravelcd)
- [Facebook](https://www.facebook.com/laravelcd)

## Sponsors

Nous tenons à remercier ces **entreprises extraordinaires** pour leur parrainage. Si vous souhaitez devenir sponsor, veuillez visiter <a href="https://laravel.cm/sponsors">la page Laravel.cm de Sponsoring</a>.
<!-- Nous tenons à remercier ces **entreprises extraordinaires** pour leur parrainage. Si vous souhaitez devenir sponsor, veuillez visiter <a href="https://laravel.cd/sponsors">la page Laravel.cd de Sponsoring</a>.

- **[Laravel Shopper](https://laravelshopper.dev)**
- [GDG Douala](https://gdg.community.dev/gdg-douala)
- [NotchPay](https://notchpay.co?utm_source=laravel.cm)
- [LN UI](https://ui.lndev.me?utm_source=laravel.cm)
- [NotchPay](https://notchpay.co?utm_source=laravel.cd)
- [LN UI](https://ui.lndev.me?utm_source=laravel.cd) -->

## Caractéristiques Serveur

Expand All @@ -51,16 +51,16 @@ Les dépendances suivantes sont nécessaires pour démarrer l'installation.

## Installation

> Notez que vous êtes libre d'ajuster l'emplacement `~/Sites/laravel.cm` à n'importe quel répertoire de votre choix sur votre machine. Ce faisant, assurez-vous d'exécuter la commande `valet link` (si vous utilisez Laravel Valet) dans le répertoire souhaité.
> Notez que vous êtes libre d'ajuster l'emplacement `~/Sites/laravel.cd` à n'importe quel répertoire de votre choix sur votre machine. Ce faisant, assurez-vous d'exécuter la commande `valet link` (si vous utilisez Laravel Valet) dans le répertoire souhaité.

1. Clonez ce repo avec la commande `git clone [email protected]:laravelcm/laravel.cm.git ~/Sites/laravel.cm`
1. Clonez ce repo avec la commande `git clone [email protected]:laravelcd/laravel.cd.git ~/Sites/laravel.cd`
2. Exécuter `composer install` pour installer les dépendances PHP
3. Configurez une base de données locale (vous pouvez l'appeler `laravelcm`)
3. Configurez une base de données locale (vous pouvez l'appeler `laravelcd`)
4. Exécutez `composer setup` pour configurer l'application
5. Configurer un pilote de messagerie fonctionnel comme [Mailtrap](https://mailtrap.io/) ou [Maildev](https://maildev.github.io/maildev/)
6. Configurez les fonctionnalités (facultatives) ci-dessous

Vous pouvez maintenant visiter l'application dans votre navigateur en visitant [http://laravel.cm.test](http://laravel.cm.test).
Vous pouvez maintenant visiter l'application dans votre navigateur en visitant [http://laravel.cd.test](http://laravel.cd.test).
Si vous avez amorcé la base de données, vous pouvez vous connecter à un compte de test avec ** `johndoe` ** & **` password` **.

Une fois que vous avez installé et configuré, pour avoir des dummy data, vous devez exécuter la commande :
Expand All @@ -72,14 +72,14 @@ php artisan db:seed --class=DummyDatabaseSeeder
### GitHub Authentication (optionnel)

Pour que l'authentification Github fonctionne localement, vous devez [enregistrer une nouvelle application OAuth sur Github](https://github.com/settings/applications/new).
Utilisez `http://laravel.cm.test` pour l'URL de la page d'accueil et `http://laravel.cm.test/auth/github` pour l'URL de rappel.
Utilisez `http://laravel.cd.test` pour l'URL de la page d'accueil et `http://laravel.cd.test/auth/github` pour l'URL de rappel.
Lorsque vous avez créé l'application, remplissez l'ID et le secret dans votre fichier `.env` dans les variables d'environnement ci-dessous.
Vous devriez maintenant pouvoir vous authentifier avec Github.

```shell
GITHUB_ID=
GITHUB_SECRET=
GITHUB_URL=http://laravel.cm.test/auth/github
GITHUB_URL=http://laravel.cd.test/auth/github
```

### Twitter Sharing (optionnel)
Expand All @@ -100,7 +100,7 @@ Une fois qu'un article a été partagé, il ne sera plus partagé.

### Notifications Telegram (optionnel)

Laravel Cameroun peut notifier les administrateurs des nouveaux articles soumis via Telegram. Pour que cela fonctionne, vous devez configurer un [bot Telegram](https://core.telegram.org/bots) et obtenir un token.
Laravel DRC peut notifier les administrateurs des nouveaux articles soumis via Telegram. Pour que cela fonctionne, vous devez configurer un [bot Telegram](https://core.telegram.org/bots) et obtenir un token.
Ensuite, configurez le canal sur lequel vous souhaitez envoyer les messages relatifs aux nouveaux articles.

```shell
Expand All @@ -119,7 +119,7 @@ TELEGRAM_CHANNEL=

## Maintainers

Le site Laravel.cm est actuellement maintenu par [Arthur Monney](https://github.com/mckenziearts). Si vous avez des questions, n'hésitez pas à créer une issue sur ce dépôt.
Le site Laravel.cd est actuellement maintenu par [Jean Claude Mbiya](https://github.com/johnmbiya) et [Chadrack Kanza](https://github.com/chadrackkanza). Si vous avez des questions, n'hésitez pas à créer une issue sur ce dépôt.

## Contribution

Expand All @@ -131,7 +131,7 @@ Veuillez lire notre [Code de conduite](CODE_OF_CONDUCT.md) avant de contribuer o

## Vulnérabilités de sécurité

Si vous découvrez une faille de sécurité dans Laravel.cm, veuillez envoyer un e-mail immédiatement à [support@laravel.cm](mailto:support@laravel.cm). **Ne créez pas de problème pour la vulnérabilité.**
Si vous découvrez une faille de sécurité dans Laravel.cd, veuillez envoyer un e-mail immédiatement à [support@laravel.cd](mailto:support@laravel.cd). **Ne créez pas de problème pour la vulnérabilité.**

## License

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/GetGithubRepositoriesAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ final class GetGithubRepositoriesAction
public function __invoke(): Collection
{
$response = Http::withToken(config('services.github.token'))
->get('https://api.github.com/orgs/laravelcm/repos');
->get('https://api.github.com/orgs/laravelcd/repos');

if (Cache::has('github-repositories')) {
return Cache::get('github-repositories');
Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/AssignUserRole.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

final class AssignUserRole extends Command
{
protected $signature = 'lcm:assign-user-role';
protected $signature = 'lcd:assign-user-role';

protected $description = 'Assign user role to all users without any role.';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/Cleanup/DeleteOldUnverifiedUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

final class DeleteOldUnverifiedUsers extends Command
{
protected $signature = 'lcm:delete-old-unverified-users';
protected $signature = 'lcd:delete-old-unverified-users';

protected $description = 'Removed all unverified users.';

Expand Down
6 changes: 3 additions & 3 deletions app/Console/Commands/CreateAdminUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

final class CreateAdminUser extends Command
{
protected $signature = 'lcm:admin';
protected $signature = 'lcd:admin';

protected $description = 'Create user with admin role and all permissions.';

Expand All @@ -25,8 +25,8 @@ public function handle(): void

protected function createUser(): void
{
$email = $this->ask('Email Address', 'admin@laravel.cm');
$name = $this->ask('Name', 'Laravel Cameroun');
$email = $this->ask('Email Address', 'admin@laravel.cd');
$name = $this->ask('Name', 'Laravel DRC');
$username = $this->ask('Username', 'admin');
$password = $this->secret('Password');
$confirmPassword = $this->secret('Confirm Password');
Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/NotifyPendingArticles.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

final class NotifyPendingArticles extends Command
{
protected $signature = 'lcm:notify-pending-articles';
protected $signature = 'lcd:notify-pending-articles';

protected $description = 'Send a Telegram notification for articles that are submitted but neither approved nor declined';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/PostArticleToTelegram.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

final class PostArticleToTelegram extends Command
{
protected $signature = 'lcm:post-article-to-telegram';
protected $signature = 'lcd:post-article-to-telegram';

protected $description = 'Posts the latest shared article to Telegram';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/PostArticleToTwitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

final class PostArticleToTwitter extends Command
{
protected $signature = 'lcm:post-article-to-twitter';
protected $signature = 'lcd:post-article-to-twitter';

protected $description = 'Posts the latest unshared article to Twitter';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/PublishArticles.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

final class PublishArticles extends Command
{
protected $signature = 'lcm:publish-articles';
protected $signature = 'lcd:publish-articles';

protected $description = 'Published all articles already submitted and approved';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/SendUnVerifiedMails.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

final class SendUnVerifiedMails extends Command
{
protected $signature = 'lcm:send-unverified-mails';
protected $signature = 'lcd:send-unverified-mails';

protected $description = 'Send mails to unverified users to prevent from a deletion account.';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/SendWelcomeMailToUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

final class SendWelcomeMailToUsers extends Command
{
protected $signature = 'lcm:send-welcome-mails';
protected $signature = 'lcd:send-welcome-mails';

protected $description = 'Send mails to new registered users.';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/UpdateUserBestRepliesPoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

final class UpdateUserBestRepliesPoints extends Command
{
protected $signature = 'lcm:update-users-bests-replies-points';
protected $signature = 'lcd:update-users-bests-replies-points';

protected $description = 'Updating users bests replies reputation points';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/UpdateUserDiscussionsPoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

final class UpdateUserDiscussionsPoints extends Command
{
protected $signature = 'lcm:update-users-discussions-points';
protected $signature = 'lcd:update-users-discussions-points';

protected $description = 'Update users discussions reputation points';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/UpdateUserPostsPoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

final class UpdateUserPostsPoints extends Command
{
protected $signature = 'lcm:update-users-posts-points';
protected $signature = 'lcd:update-users-posts-points';

protected $description = 'Update users posts reputation points';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/UpdateUserRepliesPoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

final class UpdateUserRepliesPoints extends Command
{
protected $signature = 'lcm:update-users-replies-points';
protected $signature = 'lcd:update-users-replies-points';

protected $description = 'Updating users replies reputation points';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/UpdateUserSocialAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final class UpdateUserSocialAccount extends Command
{
use FormatSocialAccount;

protected $signature = 'lcm:update-user-social-account';
protected $signature = 'lcd:update-user-social-account';

protected $description = 'Update user social account to normal format';

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/UpdateUserThreadsPoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

final class UpdateUserThreadsPoints extends Command
{
protected $signature = 'lcm:update-users-threads-points';
protected $signature = 'lcd:update-users-threads-points';

protected $description = 'Update users threads reputation points';

Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/NotchPayCallBackController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __invoke(Request $request): RedirectResponse
if ($verifyTransaction->transaction->status === TransactionStatus::CANCELED->value) {
session()->flash(
key: 'error',
value: __('Votre paiement a été annulé veuillez relancer pour soutenir Laravel Cameroun, Merci.')
value: __('Votre paiement a été annulé veuillez relancer pour soutenir Laravel DRC, Merci.')
);
} else {
// @ToDO: Envoie de mail de notification de remerciement pour le sponsoring si l'utilisateur est dans la base de données
Expand All @@ -45,7 +45,7 @@ public function __invoke(Request $request): RedirectResponse

session()->flash(
key: 'status',
value: __('Votre paiement a été pris en compte merci de soutenir Laravel Cameroun.')
value: __('Votre paiement a été pris en compte merci de soutenir Laravel DRC.')
);
}

Expand Down
2 changes: 1 addition & 1 deletion app/Livewire/Components/SponsorSubscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function submit(): void
'currency' => data_get($this->form->getState(), 'currency'),
'reference' => $user->id.'-'.$user->username().'-'.uniqid(),
'callback' => route('notchpay-callback'),
'description' => __('Soutien de la communauté Laravel & PHP Cameroun.'),
'description' => __('Soutien de la communauté Laravel & PHP RDC.'),
]);

Transaction::query()->create([
Expand Down
Loading