1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-29 07:50:13 +02:00

55 Commits

Author SHA1 Message Date
Daniel St. Jules
f0063f8bac Cleanup and fixes for 1.0.0 Release 1.0.0 2013-08-01 00:53:54 -04:00
Daniel St. Jules
918bdc9839 Add changelog, make few small doc corrections 1.0.0-rc.1 2013-07-28 23:43:01 -04:00
Daniel St. Jules
b1cdc7603f Add count() and replace() 2013-07-28 23:21:44 -04:00
Daniel St. Jules
87e86d3bf6 Add packagist graphics, move travis-ci up top 2013-07-28 21:23:46 -04:00
Daniel St. Jules
a829f2d244 Stringy methods now return a new Stringy object, rather than modifying the original 2013-07-28 18:43:08 -04:00
Daniel St. Jules
f29e400e85 Improve standardize() coverage 2013-07-28 15:11:21 -04:00
Daniel St. Jules
88b8a8a6ef Added isAlpha(), isAlphanumeric(), isBlank(), isLowerCase() and isUpperCase() 2013-07-27 23:56:07 -04:00
Daniel St. Jules
013e42dfce Fix missing params in StaticStringy comments, re-order methods in README 2013-07-27 18:17:38 -04:00
Daniel St. Jules
a93955162e Add removeLeft() and removeRight() 2013-07-27 17:57:43 -04:00
Daniel St. Jules
6d927fbf5d Added ensureLeft() and ensureRight() 2013-07-27 16:33:27 -04:00
Daniel St. Jules
4828811a48 Added truncate() 2013-07-27 15:39:36 -04:00
Daniel St. Jules
77ae682de1 Add first() and last() 2013-07-27 14:41:29 -04:00
Daniel St. Jules
f3ac2bf1f3 Added at() 2013-07-27 13:57:30 -04:00
Daniel St. Jules
d757ce38de Added substr() 2013-07-27 13:09:11 -04:00
Daniel St. Jules
95e706fe31 Added length() 2013-07-27 11:53:48 -04:00
Daniel St. Jules
332ceb4224 Added longestCommonSubstring 2013-07-27 02:47:58 -04:00
Daniel St. Jules
aeef5493c0 Add longestCommonPrefix and longestCommonSuffix 2013-07-26 23:56:04 -04:00
Daniel St. Jules
3e78d2b75d Fix trim not being static 2013-07-26 22:43:14 -04:00
Daniel St. Jules
cfeadbfacc StaticStringy should return strings and not Stringy objects, add tests for trim 2013-07-26 20:51:03 -04:00
Daniel St. Jules
8063276578 Fix link to oo and procedural section in readme 2013-07-26 09:09:39 -04:00
Daniel St. Jules
571cf8f78f Update readmewith OO/Procedural info, fix instances where is called instead of ->str 2013-07-25 23:02:34 -04:00
Daniel St. Jules
4e2a3a4bec Update readme with OO methods 2013-07-25 19:21:53 -04:00
Daniel St. Jules
ffe9d769d7 Make Stringy\Stringy OO, and add Stringy\StaticStringy 2013-07-25 01:57:13 -04:00
Daniel St. Jules
26ee99743c Update readme with todo items, rename truncate to safeTruncate, and clean to collapseWhitespace 2013-07-24 00:42:53 -04:00
Daniel St. Jules
e8664d3bde Move curly braces and remove closing tags to accommodate PSR-1 and PSR-2 2013-07-23 23:53:08 -04:00
Daniel St. Jules
3ccb1fe6cf Merge pull request #1 from filp/fix/ignore-vendor
Add .gitignore, ignore vendor/
2013-07-23 16:09:04 -07:00
filp
3e07545e93 Add .gitignore, ignore vendor/ 2013-07-23 20:21:15 +01:00
Daniel St. Jules
a81f789dea Update composer description 2013-07-23 02:05:46 -04:00
Daniel St. Jules
49dd8bdbc2 Add shuffle() 2013-07-23 01:52:49 -04:00
Daniel St. Jules
c5816ad928 Update test and readme 2013-07-23 01:13:31 -04:00
Daniel St. Jules
4bb791e318 Add reverse() 2013-07-23 01:11:13 -04:00
Daniel St. Jules
1e2f49128b Add truncate() and a couple small fixes 2013-07-23 00:46:51 -04:00
Daniel St. Jules
ca4a924ba9 Add surround and insert 2013-07-22 23:22:38 -04:00
Daniel St. Jules
8ddb4b91b5 Add contains() 2013-07-22 00:54:19 -04:00
Daniel St. Jules
feb4c5a36d Add slugify 2013-07-21 23:07:31 -04:00
Daniel St. Jules
031e9e68b2 Add toSpaces() and toTabs() 2013-07-18 23:45:18 -04:00
Daniel St. Jules
493a194612 Add endsWith() 2013-07-18 22:56:49 -04:00
Daniel St. Jules
e37cc8c72b @dataProvider functions should list expected first, followed by arguments to get result 2013-07-18 22:46:03 -04:00
Daniel St. Jules
e14fa886c6 Fix readme 2013-07-18 01:31:22 -04:00
Daniel St. Jules
1311f69e10 Add startsWith() 2013-07-18 01:29:52 -04:00
Daniel St. Jules
057f0310a7 Update TODO with additional methods 2013-07-17 20:07:26 -04:00
Daniel St. Jules
e85687fd5b Update tests for pad, add padLeft, padRight and padBoth 2013-07-17 00:44:29 -04:00
Daniel St. Jules
c1bfe35f57 Add pad 2013-07-16 00:09:11 -04:00
Daniel St. Jules
ace2dee61b Remove __callStatic, stop throwing exception if argument 0 isn't a string (no scalar type hinting, so we'll allow type juggling) 2013-07-14 21:21:22 -04:00
Daniel St. Jules
38dc44ddc8 Add a couple extra tests 2013-07-14 01:21:42 -04:00
Daniel St. Jules
fe9828a948 Add clean, standardize, and table of contents to the readme 2013-07-14 01:06:08 -04:00
Daniel St. Jules
b632268623 Add humanize and tidy 2013-07-13 01:52:10 -04:00
Daniel St. Jules
ff7e907b9b Fix name in composer.json 2013-07-11 19:56:23 -04:00
Daniel St. Jules
5e621b6cd1 Prevent scollbar 2013-07-11 19:52:41 -04:00
Daniel St. Jules
62a8a031cc Add titleize, cleanup comments 2013-07-11 19:50:03 -04:00