Hey Guys I have A big Laravel Project And The project Bootstrap version Is 3
I Want To Change It . How I can do it?
Going from Bootstrap 3 to 4 is quite major, as a lot has been changed.
Based on https://getbootstrap.com/docs/4.0/migration/ , you can try and replace the changes, whichever applicable. But be ready for lots of designs to break if you relied heavily on bootstrap 3 classes, as well as using a lengthy time to do this. Maybe redesigning all the views would be the better approach.
Bootstrap 5 is out, why not consider that instead? Since it will be a major effort regardless.
Take note that Bootstrap 5 does not have jQuery built in.
There are a few ways to change the Bootstrap version in a Laravel project. One way is to edit the composer.json file and change the version number in the require section. Another way is to edit the config/app.php file and change the version number in the providers section.
Related
I have been trying to understand how this concept works. Adding or removing code modules from laravel project. I have seen this feature in many places such as quickadminpanel.com, October CMS etc. These sites are used to create an admin panel quicker, there is an interesting feature that i found in quickadminpanel that is installing module that i need. Basically i want to achieve this but i don't know how to do !! May be someone can help as this feature and concept actually exists.
The author himself replied in a mail. Now the concept is much clear to me. He simply replied this, "It's similar to how Laravel works with stubs - copy-pasting files as templates, replacing the variables in content: youtube.com/watch?v=eWarTZuates&t=1s"
I am working on a plugin in CakePHP3 and I need to create a simply Oauth 2.0 Server API that allows to do a simple CRUD on the users' table and create sessions when needed.
I have done some research here in StackOverflow and it seems that the best choice would be
https://github.com/uafrica/oauth-server
Now, I have tried to make it work according to the doc in the repository but since it will be a plugin, not the core of the application I do not understand how it is supposed to work and which file I need to update.
Would somebody be so kind to give me the list of steps I need to follow and the actual files that need to be updated?
Many Thanks in advance
The uafrica/oauth-server project is woefully out of date. It requires v4.1 of league/oauth2-server, which is now currently at v7.2. Version 5 of that project was completely rewritten and is not backwards compatible with v4.x.
I don't think there's an out-of-the-box CakePHP 3 plugin that works with the current version of league/oauth2-server.
You'll have to either build your own plugin from scratch, or try to hack the uafrica/oauth-server project to get it work with league/oauth2-server.
We(small group) have a SocialEngine based project and we made lots and lots of changes in 4.6.0 version including core modules, now we struggle to update to 4.8.0 which is a pain in the ass so question:
Which logic to implement in new version of social engine where will be stored our modified code that will help for future update?
We are trying using Decorator Pattern, creating another folder(modules2) for example there creating clones of modules and using only modified files(which is currently unsuccessfully).
You can to compare your files with the latest upgrade package files with Softwares like WinMerge and copy new changes in SocialEngine core to your modified files. Don't forget the database queries in application/MODULE_NAME/settings/my-upgrade sql file of each module. It's gonna take time but I don't think there's any easier solutions.
See, thats where git or subversion comes handy , you exactly know where the code is changed .
it's about 6 months that the Yii2 preview (May 2013) was released. I think that in 6 months there are a lot bugs that were remove I would like to know it's a big risk for me to use yii2 for production. I would like to try my new project with Yii2. Are the people that use it for project with success? I understand that there are no extension at the moment. Most of time i dont use them !
thank for help))
Yes it's still risky to use yii2 for production, but there're some brave hearts who does it. For example I've heard this site is built with yii2. Also yii2 recently switched to php 5.4 and who knows what else will be changed. So, I would say it depends on your project requirements/strictness/complexity and time you're ready to spend for updating your code when something is changed in the framework. Also keep in mind that documentation isn't complete yet, and you'll have to look into source code quite often.
I want to use Laravel Bootstrapper bundle http://bundles.laravel.com/bundle/bootstrapper with my CodeIgniter application.
How can i utilize autoloader functionality to use Bootstrapper bundle code in CodeIgniter in native PHP 5 fashion.
Button::make('Abc')->with_icon('ok');
Do you suggest to convert Bootstrapper bundle in CodeIgniter library or we can use it as it is.
I am using bootstrap for creating views, thus already including bootstrap specific css, js & images.
Please help, so that the bundle can be used with CodeIgniter
Why? It's not designed to work with CI, you'll probably have to mess about alot to get it working. See one of the many versions available for CI here https://github.com/vesparny/codeigniter-html5boilerplate-twitter-bootstrap.
Further more, I dont see any great advantage of having a bootstrap CI integration, if you do then go for it but I just use my own customised bootstrap and load it in as normal in template/view files. Works just fine and keeps all those UI/view bits and pieces separate for designers/Front-end coders who panic at the sight of php.
All this work trying to keep design, function and layout separate and people go to great effort to ruin it with something like this.