russoedu / colorvalidator Goto Github PK
View Code? Open in Web Editor NEWCustom Laravel 5 Validator for hexadecimal color
License: MIT License
Custom Laravel 5 Validator for hexadecimal color
License: MIT License
Howdy! Seems like you have been influenced by one of my readme- and license-files. However, you seem to have forgotten to remove my name from them.
Both your readme.md and licence.md mentions me by name and contains a link to my website โ I however of course does not have anything to do with this package =)
Hello,
I've followed the instructions but I got the following error:
`ErrorException in ColorValidatorServiceProvider.php line 80:
Illegal string offset 'image_size'
in ColorValidatorServiceProvider.php line 80
at HandleExceptions->handleError('2', 'Illegal string offset 'image_size'', '/path/to/vhost/vendor/russoedu/colorvalidator/src/ColorValidatorServiceProvider.php', '80', array('rule' => 'image_size', 'method' => 'ImageSize', 'translation' => 'color-validator::validation')) in ColorValidatorServiceProvider.php line 80
at ColorValidatorServiceProvider->extendValidator('image_size') in ColorValidatorServiceProvider.php line 68
at ColorValidatorServiceProvider->addNewRules() in ColorValidatorServiceProvider.php line 42
at ColorValidatorServiceProvider->boot()
at call_user_func_array(array(object(ColorValidatorServiceProvider), 'boot'), array()) in Container.php line 508
at Container->call(array(object(ColorValidatorServiceProvider), 'boot')) in Application.php line 769
at Application->bootProvider(object(ColorValidatorServiceProvider)) in Application.php line 752
at Application->Illuminate\Foundation{closure}(object(ColorValidatorServiceProvider), '13')
at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FoundationServiceProvider), object(NotificationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(LaravelJsLocalizationServiceProvider), object(ColorValidatorServiceProvider), object(IdeHelperServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(TranslationServiceProvider), object(ValidationServiceProvider)), object(Closure)) in Application.php line 753
at Application->boot() in BootProviders.php line 17
at BootProviders->bootstrap(object(Application)) in Application.php line 203
at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 253
at Kernel->bootstrap() in Kernel.php line 144
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116
at Kernel->handle(object(Request)) in index.php line 53`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.