PHPackages                             adel-shokry/helpers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. adel-shokry/helpers

ActiveLibrary[Localization &amp; i18n](/categories/localization)

adel-shokry/helpers
===================

هذه الحزمة خاصة باطار عمل لارافل حيث تضيف خاصية التحكم باللغات وبعض الدوال المساعدة

115HTML

Since Mar 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/AdelShokry/adel-shokry-helpers)[ Packagist](https://packagist.org/packages/adel-shokry/helpers)[ RSS](/packages/adel-shokry-helpers/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

composer require "adel-shokry/helpers":"@dev"

config\\app.php --&gt; providers array

```
    Collective\Html\HtmlServiceProvider::class,
    DaveJamesMiller\Breadcrumbs\ServiceProvider::class,
    AdelShokry\Helpers\ServiceProvider::class,

```

config\\app.php --&gt; aliases array

```
    'Form' => Collective\Html\FormFacade::class,
    'Html' => Collective\Html\HtmlFacade::class,
    'Btn' => AdelShokry\Helpers\Src\Btn::class,
    'bsForm' => AdelShokry\Helpers\Src\bsForm::class,
    'langForm' => AdelShokry\Helpers\Src\langForm::class,
    'MyRoute' => AdelShokry\Helpers\Src\Routes\MyRoute::class,
    'Files' => AdelShokry\Helpers\Src\Files\Files::class,
    'Control' => AdelShokry\Helpers\Src\Control::class,
    'Breadcrumbs' => DaveJamesMiller\Breadcrumbs\Facade::class,

```

publish vendor

```
     php artisan vendor:publish --force

```

app\\Console\\Kernel.php

```
protected $commands = [
    ...
    Commands\Controller::class,
    Commands\View::class,
];

```

app/Http/Kernel.php

```
   protected $middlewareGroups = [
    'web' => [
        ...
        \App\Http\Middleware\LocaleMiddleware::class,
    ],

  protected $routeMiddleware = [
    ...
    'maintenance' => \App\Http\Middleware\maintenance::class,
    'rule' => \App\Http\Middleware\Rules::class,
];

```

app/Http/routes.php

```
    MyRoute::shareVariables();
    MyRoute::system();

  	\MyRoute::auth();
  	group(['prefix'=>cpanel,'middleware'=>'auth'],function(){
  		get('/', 'Cpanel\HomeController@index','cpanel.home');
  		get('settings/languages', 'Settings\LangController@index','lang.index');
  		get('settings/main_settings', 'Settings\MainController@index','main.settings');
  		post('settings/main_settings', 'Settings\MainController@store','main.settings.store');

  		post('settings/lang/create', 'Settings\LangController@create','lang.create');
  		post('settings/lang/{id}/edit', 'Settings\LangController@update','lang.edit');
  		post('settings/lang/update_files', 'Settings\LangController@updateFiles','lang.updateFiles');
  		post('settings/lang/flug', 'Settings\LangController@updateFlug','lang.updateFlug');
  		post('settings/lang/delete', 'Settings\LangController@deleteLang','lang.deleteLang');
  	});
    ...

```

database/seeds/DatabaseSeeder.php

```
public function run()
{
    ...
    $this->call(LangsTableSeeder::class);
    $this->call(SettingSeeder::class);
    $this->call(UserSeeder::class);

}

   composer dump-autoload

   php artisan migrate --seed

```

بعد الانتهاء من الخطوات السابقة ادخل على رابط

adminpanel

وقم بتسجيل الدخول بهذا الحساب

user :

pass : 123456

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

---

Top Contributors

[![AdelShokry](https://avatars.githubusercontent.com/u/18376144?v=4)](https://github.com/AdelShokry "AdelShokry (2 commits)")

### Embed Badge

![Health badge](/badges/adel-shokry-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/adel-shokry-helpers/health.svg)](https://phpackages.com/packages/adel-shokry-helpers)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
