Download the PHP package digitalcorehub/laravel-ip-restriction without Composer

On this page you can find all versions of the php package digitalcorehub/laravel-ip-restriction. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-ip-restriction

Laravel IP Restriction

Latest Version on Packagist Total Downloads Build Status Quality Score StyleCI License

Türkçe: Uygulamanıza IP adreslerine göre erişimi kısıtlamak için güçlü ve esnek bir Laravel paketi. Bu paket, CIDR notasyonu desteği, proxy header işleme, önbellekleme ve detaylı loglama dahil olmak üzere kapsamlı IP filtreleme yetenekleri sağlar.

English: A powerful and flexible Laravel package for restricting access to your application based on IP addresses. This package provides comprehensive IP filtering capabilities including CIDR notation support, proxy header handling, caching, and detailed logging.

✨ Özellikler / Features

📋 Gereksinimler / Requirements

🚀 Kurulum / Installation

Paketi Composer ile kurabilirsiniz / You can install the package via Composer:

Paket otomatik olarak service provider ve facade'ını kaydedecektir / The package will automatically register its service provider and facade.

⚙️ Yapılandırma / Configuration

Yapılandırma dosyasını yayınlayın / Publish the configuration file:

Bu, aşağıdaki seçeneklerle config/ip-restriction.php dosyasını oluşturacaktır / This will create config/ip-restriction.php with the following options:

🎯 Kullanım / Usage

Temel Middleware Kullanımı / Basic Middleware Usage

Middleware'i route'larınıza uygulayın / Apply the middleware to your routes:

Facade Kullanımı / Using the Facade

Paketi programatik olarak da kullanabilirsiniz / You can also use the package programmatically:

IP Adres Formatları / IP Address Formats

Paket çeşitli IP adres formatlarını destekler / The package supports various IP address formats:

🛠️ Artisan Komutları / Artisan Commands

Paket yararlı Artisan komutları içerir / The package includes helpful Artisan commands:

🔧 Gelişmiş Yapılandırma / Advanced Configuration

Özel Hata Mesajları / Custom Error Messages

Erişim reddedildiğinde gösterilen hata mesajını özelleştirebilirsiniz / You can customize the error message shown when access is denied:

Loglamayı Devre Dışı Bırakma / Disable Logging

Yetkisiz erişim denemelerinin loglanmasını devre dışı bırakmak için / To disable logging of unauthorized access attempts:

Önbellekleme Devre Dışı Bırakma / Disable Caching

İzin verilen IP listesinin önbelleklemesini devre dışı bırakmak için / To disable caching of the allowed IPs list:

Proxy Yapılandırması / Proxy Configuration

Paket çeşitli proxy header'larını otomatik olarak işler / The package automatically handles various proxy headers:

🧪 Test Etme / Testing

Testleri çalıştırmak için / Run the tests with:

Veya kapsam ile çalıştırın / Or run with coverage:

📊 Loglama / Logging

Loglama etkinleştirildiğinde, yetkisiz erişim denemeleri aşağıdaki bilgilerle loglanır / When logging is enabled, unauthorized access attempts are logged with the following information:

🔒 Güvenlik Değerlendirmeleri / Security Considerations

🚀 Performans / Performance

🤝 Katkıda Bulunma / Contributing

Katkılarınızı memnuniyetle karşılıyoruz! / We welcome contributions! Detaylar için Contributing Guide sayfamıza bakın.

  1. Repository'yi fork edin / Fork the repository
  2. Özellik dalınızı oluşturun / Create your feature branch (git checkout -b feature/amazing-feature)
  3. Değişikliklerinizi commit edin / Commit your changes (git commit -m 'Add some amazing feature')
  4. Dalı push edin / Push to the branch (git push origin feature/amazing-feature)
  5. Pull Request açın / Open a Pull Request

📝 Değişiklik Günlüğü / Changelog

Son değişiklikler hakkında daha fazla bilgi için CHANGELOG for more information on what has changed recently.

🐛 Hata Raporları / Bug Reports

Bir hata keşfederseniz, lütfen aşağıdaki bilgilerle bir issue açın / If you discover a bug, please open an issue with:

🔐 Güvenlik Açıkları / Security Vulnerabilities

Bir güvenlik açığı keşfederseniz, lütfen issue tracker kullanmak yerine [email protected] instead of using the issue tracker.

📄 Lisans / License

MIT Lisansı (MIT) / The MIT License (MIT). Daha fazla bilgi için License File sayfamıza bakın.

🙏 Teşekkürler / Credits

📞 Destek / Support


DigitalCoreHub tarafından ❤️ ile yapıldı / Made with ❤️ by DigitalCoreHub


All versions of laravel-ip-restriction with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package digitalcorehub/laravel-ip-restriction contains the following files

Loading the files please wait ...